You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stephen S. Mitchell edited this page Apr 25, 2026
·
4 revisions
Namespace: AlibreScript.API
Kind: Class
Properties
Center
Type: Object
The center of the ellipse [x, y]
CenterPoint
Type: Object
The center point as a sketchpoint object
IsReference
Type: Object
True if the ellipse is a reference ellipse, false if it is a regular ellipse
MajorAxisAngle
Type: Object
Angle of major axis
MinorMajorRatio
Type: Object
Ratio of minor radius to major radius
Radius
Type: Object
Radius on major axis
Methods
Ellipse
Creates an ellipse
defEllipse(center, major_radius, major_axis_angle, minor_major_ratio, is_reference):
"""Creates an ellipseArgs:center (list): Center of the ellipsemajor_radius (float): Radius on the major axismajor_axis_angle (float): Angle of the major axis in degreesminor_major_ratio (float): Radius on the minor axis as a ratio of the major radiusis_reference (bool): True to create a reference arc, false to create a regular arc"""