Skip to content
Stephen S. Mitchell edited this page Sep 23, 2025 · 2 revisions

Circle

← Back to Classes | Documentation Home | All Classes

  • Namespace: AlibreScript.API
  • Kind: Class

Properties

Center

Type: Object The center of the circle [x, y]

CenterPoint

Type: Object The center of the circle as a sketch point

IsReference

Type: Object True if the circle is a reference circle, false if it is a regular circle

Length

Type: Object The length of the circle circumference in script units

Radius

Type: Object Radius of the circle

Methods

Circle

Creates a 2D circle which can be added to sketches

def Circle(center, radius, is_reference):
    """
    Creates a 2D circle which can be added to sketches

    Args:
        center (list): Center of the circle as a python list [x, y]
        radius (float): Radius of circle
        is_reference (bool): True to create a reference circle

    """

Clone this wiki locally