add_arc_xy#

MotorCAD.add_arc_xy(x_centre, y_centre, theta_start, theta_end, radius)#

Add an arc to the Motor-CAD axial geometry with an x, y coordinate system.

This method uses the center point, radius, and angles. Use degrees for angles.

Parameters:
x_centrefloat

Center position for the x coordinate.

y_centrefloat

Center position for the x coordinate.

theta_startfloat

Angular coordinate of the arc start point in degrees.

theta_endfloat

Angular coordinate of the arc end point in degrees.

radiusfloat

Radius of the arc from the center point.

.. deprecated:: 0.6.0

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