新增磁場研究 (field.newStudy)
選單: 無(快速開啟、CLI、Python 與 MCP) · 執行方式: 立即完成
預覽功能:在「編輯 › 偏好設定 › 模擬」開啟預覽功能,或執行
preview.set {"enabled":true}。回覆會帶有preview: true與說明。
以下參數與說明取自指令本身的定義,與 CLI、Python 及 MCP 讀到的文字相同,因此保留英文。
說明
Adds a field study to the open circuit and makes it the live one: geometry.* draws in it and the field solves run in it. The study before keeps its drawing, setup and results. At most 32 per circuit.
參數
dimension: int=2 (2 or 3)name: str? (default "Field 2D", or "L1 · 3D" for a part; made unique)part: str? (the magnetic part it models, e.g. L1)from: int? (a study to build it from: its part and setup are copied with the new dimension, so a 3D study opens from the 2D one without redrawing)setup: object? (the solve params to start from, as magnetics.fieldSolve takes them)
回覆
- index
- study