add_region_rt#

MotorCAD.add_region_rt(radius, theta, region_name)#

Add a region to the Motor-CAD geometry with an r, t (polar) coordinate system.

If a region already exists, this method overwrites the existing region.

Use degrees for angles.

Parameters:
radiusfloat

Region position for the radial coordinate.

thetafloat

Region position for the angular coordinate in degrees.

region_namestr

Name of the region.

.. deprecated:: 0.6.0

add_region_rt will be removed with Motor-CAD 2025R2 (tentative). Functionality replaced by adaptive templates.