This repository was archived by the owner on Apr 25, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Line
Stephen S. Mitchell edited this page Apr 25, 2026
·
5 revisions
Namespace: AlibreScript.API | Kind: Class
The Line class provides functionality for creating and manipulating linear geometry within 2D sketches.
- Line3D - 3D line operations
- Sketch - Contains line geometry
- SketchPoint - Line endpoints
- Polyline - Multi-segment lines
- Circle, CircularArc - Curved geometry
- Properties - Line properties and dimensions
- Methods - Available operations
Type: Object
The end point as a sketchpoint object
Type: Object
The end point of the line [x, y]
Type: Object
True if the line is a reference line, false if it is a regular line
Type: Object
The length of the line in script units
Type: Object
The start point as a sketchpoint object
Type: Object
The start point of the line [x, y]
Creates a new 2D line
def Line(start_point, end_point, is_reference):
"""
Creates a new 2D line
Args:
start_point (list): Location of the start point [x, y]
end_point (list): Location of the end point [x, y]
is_reference (bool): True if a reference line
"""Documentation Home | Classes | Methods Index | Properties Index | Members Index
Generated on 2025-09-23 02:06