Extend/L,to,L
Extend Line to Line
Extends a line to a line boundary. Start/End selector specifies which endpoint.
What It Does
The Extend/L,to,L operator extends a line to a line boundary. The Start/End selector specifies which endpoint of the line to extends.
Extends vs Trim: Extend lengthens an entity to reach a boundary. Trim shortens an entity to a boundary.
Syntax
Extend/L,to,L, LINE, to, LINE, Start|End
Quick Input
LINE: [reference]
LINE: [boundary reference]
End: ● Start ○ End
Direction Selector
| Selector | Meaning |
|---|---|
Start | Extend the start endpoint of the line to the line |
End | Extend the end endpoint of the line to the line |
The line is lengthened in the direction of the selected endpoint until it meets the boundary line.
Worked Examples
L0=horizontal (0,0)→(40,0), L1=vertical X=80
Extend/L0, to, L1, End
→ L0: (0,0)→(80,0) [end extended to meet L1]
Analytic Rule
Find intersection of line and line.
Move the selected endpoint to the intersection.
The line is lengthened to reach the boundary.
Result: Exact analytic extension.
FAQ
What if the line cannot reach the line?
XyzPilot returns an error. The line must be able to reach the line.
What is the difference between Trim and Extend?
Trim shortens an entity to a boundary. Extend lengthens an entity to reach a boundary. Both use the same Start/End selector.