メインコンテンツまでスキップ
バージョン: 0.7.0

User Defined

main window

The SlotUserDefData is accessed through the eMotorSolution.CheckPoints.Stator.slots.slotUserDef module.

Please check the Stator Slot User Defined documentation for more details on how to use this slot type.

Parameters
  • points_expression: str | float The string mathematical expression or stator slot dictionary template for points.
  • connections_expression: str | float The string mathematical expression or stator slot dictionary template for connections.

Methods​

MethodDescription
set_points(expression)Sets the expression: str | dict for points.
set_connections(expression)Sets the expression: str | dict for connections.
validate()Returns the validation status in dictionary format.

Attributes​

AttributeDescription
pointsdict[str, float] Returns the evaluated points in m. ⚠️ read-only
connectionsdict[str, float] Returns the evaluated connections in m. ⚠️ read-only
winding_areafloat Returns the area of the slot in m^2. ⚠️ read-only
wedge_areafloat Returns the area of the wedge in m^2. ⚠️ read-only
total_areafloat Returns the total area of the slot in m^2. ⚠️ read-only
hintsdict[str, float] Returns the hints for the slot in m. ⚠️ read-only

DXF-assisted editing​

The GUI can import POINT, LINE, ARC, CIRCLE, POLYLINE, and INSERT entities as reference geometry. Selected DXF connections are remapped to the normalized User Defined Point IDs. Shared endpoints and arc centers are reused within the coordinate tolerance. The slot editor also provides midpoint creation and Save Draft for incomplete editing; a successful formal save removes the draft.