Geometry objects and functions#
Geometry functions are used to define and modify the Motor-CAD Adaptive Templates geometry using PyMotorCAD. More information on Adaptive Templates is available in the User guide under Motor-CAD adaptive templates scripting.
Geometry objects#
|
Python representation of Motor-CAD geometry region. |
|
Provides the Python representation of a Motor-CAD magnet geometry region. |
|
Provides the Python representation of a coordinate in two-dimensional space. |
|
Generic parent class for geometric entities based upon a start and end coordinate. |
|
Generic class for list of Entities. |
|
Python representation of Motor-CAD line entity based upon start and end coordinates. |
|
Python representation of Motor-CAD arc entity based upon start, end, (centre or radius). |
Geometry functions#
Check whether region entities create a closed region. |
|
|
Convert Motor-CAD Cartesian coordinates to polar coordinates in degrees. |
|
Convert Motor-CAD polar coordinates to Cartesian coordinates in degrees. |
|
WILL BE DEPRECATED SOON - USE geometry_drawing.draw_objects() instead. |