Broken/Line
Polyline — Chain of Connected Segments
Creates a polyline defined by a sequence of points and angles. Each segment starts at a point with a specified direction.
What It Does
The Broken/Line operator creates a polyline — a chain of connected line segments. Each segment is defined by a starting point and a direction angle. Segments connect end-to-end forming a continuous polyline. Broken lines are stored as Line entities (L-prefix).
Syntax
Broken/Line/P1,A1/P2,A2/P3,A3/...
Quick Input
P1: [first point], A1: [first segment angle]
P2: [second point], A2: [second segment angle]
... (repeat for each segment)
Direction Selector
No direction selector is required. The result is uniquely determined by the input geometry.
Worked Examples
Example — Three-segment polyline:
P0=(0,0), A=0°
P1=(50,0), A=90°
P2=(50,40), A=180°
Broken/Line/P0,0/P1,90/P2,180
→ L0: (0,0)→(50,0) at 0° [horizontal]
→ L1: (50,0)→(50,40) at 90° [vertical]
→ L2: (50,40)→... at 180° [horizontal left]
Analytic Rule
Each segment starts at Pi with direction Ai.
Segments connect end-to-end.
Final segment extends until it meets next geometry or boundary.
All segments stored as individual Line entities.
Each assigned an individual line reference identifier.
Result: Exact analytic polyline segments.
FAQ
How many segments can a polyline have?
There is no fixed limit. Add as many point/angle pairs as needed.
Can I use a polyline as a CAM profile?
Yes. Polyline segments are standard Line entities and can be used as CAM profile boundaries.