磁場圖面 (geometry.get)
選單: 無(快速開啟、CLI、Python 與 MCP) · 執行方式: 立即完成
預覽功能:在「編輯 › 偏好設定 › 模擬」開啟預覽功能,或執行
preview.set {"enabled":true}。回覆會帶有preview: true與說明。
以下參數與說明取自指令本身的定義,與 CLI、Python 及 MCP 讀到的文字相同,因此保留英文。
說明
The whole drawing (m, degrees) and whether it is ready to mesh: valid with each region's label and area (m²), or the first problem, naming the point, edge, region or label. With fill, a valid drawing also gives each region as triangles (arcs in 5° pieces; not a mesh to solve on), and an unfinished one null. Read-only.
參數
fill: bool=false (also return a coarse triangulation of the regions, for a canvas to paint)sketch: bool=false (also return the drawing as the `sketch` param magnetics.fieldSolve and the other field commands take: mm, arcs as [a, b, sweepRad])
回覆
- symmetry
- depth
- points:[[x,y]]
- edges:[{kind:"segment"|"arc", start, end, sweepDeg}]
- labels:[{name, at:[x,y], material:"air"|"magnetic"|"coil", muR, circuit, turns, maxSize}]
- dimensions:[{a, b, value}]
- valid
- problem {en, zh-Hant}
- regions:[{label, name, area}]
- fill?:{nodes:[[x,y]], triangles:[[a,b,c]], labels:[label index per triangle]}|null
- sketch?:{depthMm | axisymmetric:true, points, edges, labels}
- history