Geometry shapes#

Geometry shape 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.

square(width, r_O, th_O)

Create a square of given width at a given set of coordinates.

eq_triangle_h(height, r_O, th_O)

Create an equilateral triangle of given height at a given set of coordinates.

eq_triangle_w(width, r_O, th_O)

Create an equilateral triangle of given width at a given set of coordinates.

triangular_notch(radius, sweep, ...)

Create a triangular notch for a rotor or stator at given angular position with given size.