Perpendicular Line Segment
Creates a line from any point perpendicular to an existing line. The point can be anywhere — it does not have to be on the reference line. The new line runs from that point perpendicular to L0. Left/Right selector specifies which side.
What It Does
The Line/P,Perpto,L operator creates a line from a specified point perpendicular to an existing reference line. The point does not have to be on the reference line — it can be anywhere in the workspace. The new line runs from that point at exactly 90° to the reference line. The segment length and direction (Left or Right) are specified in the Quick Input.
Syntax
Quick Input
Quick Input panel — XyzPilot interface
Direction Selector
The Dir selector specifies which side of the reference line the perpendicular segment extends:
| Dir | Result |
|---|---|
Left | Segment extends to the left of the line direction (or upward for horizontal lines) |
Right | Segment extends to the right of the line direction (or downward for horizontal lines) |
Worked Examples
Analytic Rule
FAQ
Is Dir=Left/Right mandatory?
Yes. Dir is part of the operator syntax and is not optional. Without it, two solutions exist (one each side of P0).
Can I create a perpendicular bisector?
Yes. Create the midpoint of the line with Point/L,Start/Mid/End (Pos: Mid), then use Line/P,Perpto,L through that midpoint to create the perpendicular bisector.