電機草圖 (magnetics.machineSketch)
選單: 無(快速開啟、CLI、Python 與 MCP) · 執行方式: 立即完成
預覽功能:在「編輯 › 偏好設定 › 模擬」開啟預覽功能,或執行
preview.set {"enabled":true}。回覆會帶有preview: true與說明。
以下參數與說明取自指令本身的定義,與 CLI、Python 及 MCP 讀到的文字相同,因此保留英文。
說明
Preview. Draws the whole cross-section of the machine magnetics.fieldTorque builds, at the rotor angle. Surface rotor: the rotor iron disc and one arc magnet per pole, "magnet k (N|S)" (north and south in turn, magnetized parallel to its centre line). Interior rotor: the non-magnetic "rotor hub", then in the ring out to rotorRadiusMm one wedge magnet "magnet k (ccw|cw)" on each pole boundary (magnetized across its centre line, anticlockwise and clockwise in turn) and an iron "pole piece k (N|S)" between each two. V-shape rotor: the rotor iron disc holding two bar polygons per pole, "magnet ka (N|S)" (the clockwise bar) and "magnet kb (N|S)", each magnetized across the bar into its pole; the solver's mesh staircases them. A drawing holds no magnetization, so magnets gives each one's direction. Then the air gap, each open slot split into a left and a right half slot that is a coil of its phase (circuits A, B and C, negative turns for a return side) and the stator iron out to outerRadiusMm, the drawing's edge (held at A = 0). Magnet and slot edges sit at their true angles. Changes nothing unless open.
參數
slotspolesrotorrotorRadiusMmmagnetThicknessMmmagnetArcmagnetDepthMmribMmbarrierMmairGapMmslotDepthMmslotWidthouterRadiusMmstackLengthMmironMuRmagnetMuRwinding: (each as magnetics.fieldTorque)turns: int=1 (turns of one coil side, a whole number)angleDeg: number=0 (rotor angle, mechanical degrees, anticlockwise)magnetGrade: str|{grade object}? (as a magnet's grade in the magnets param of field.lineProfile; with it each magnets entry carries grade and temperatureC, ready to pass on)temperatureC: number? (required with magnetGrade)open: bool=false (also open the drawing on the field drawing canvas, one undo step after the drawing open now)
回覆
- sketch:{depthMm,points,edges,labels} (the sketch param of magnetics.fieldSolve, field.lineProfile and the other field commands, mm)
- magnets:[{region,direction:[x,y],grade?,temperatureC?}] (the magnets param)
- coils:[{region,phase (A+ to C−)}]
- machine:{slots,poles,rotor:"surface"|"interior"|"vShape",winding}
- regions
- drawing? (with open: the drawing summary as geometry.new gives it)
- notes:[{en,zh}]
- preview
- previewNote