New Field Study (field.newStudy)
Menu: none (Quick Open, the CLI, Python and MCP) · Runs as: at once
Preview: turn on Preview features in Edit › Preferences › Simulation, or run
preview.set {"enabled":true}. Its replies carrypreview: trueand a note.
What it does
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.
Parameters
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)
Reply
- index
- study