User Defined

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 | floatThe string mathematical expression or stator slot dictionary template forpoints. - connections_expression:
str | floatThe string mathematical expression or stator slot dictionary template forconnections.
Methods
| Method | Description |
|---|---|
| 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
| Attribute | Description |
|---|---|
| points | dict[str, float] Returns the evaluated points in m. ⚠️ read-only |
| connections | dict[str, float] Returns the evaluated connections in m. ⚠️ read-only |
| winding_area | float Returns the area of the slot in m^2. ⚠️ read-only |
| wedge_area | float Returns the area of the wedge in m^2. ⚠️ read-only |
| total_area | float Returns the total area of the slot in m^2. ⚠️ read-only |
| hints | dict[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 normalized User Defined Point IDs. Shared endpoints and arc centers are reused
within the coordinate tolerance. The slot editor provides midpoint creation and Save Draft for incomplete editing;
a successful formal save removes the draft.