Home → FAQ → How do I find the midpoint of a line or arc in XyzPilot...

FAQ

How do I find the midpoint of a line or arc in XyzPilot?

Use Point/L,Start/Mid/End (Pos: Mid) for the midpoint of a line, or Point/On,A for a point on an arc at a specified angle from the sweep start.

Full Answer

For a point on a line use Point/L,Start/Mid/End (Pos: Start, Mid, or End). For a point on an arc use Point/On,A — enter the arc reference, the angle in degrees from the sweep start, and Z value.

XyzPilot Example

Line midpoint: L0 = Line from (10,20) to (70,60) Point/L0, Mid, 0 → P0 = (40, 40) Arc midpoint: A0 = Arc: centre(0,0), r=50, 0 to 90 CCW Midpoint angle = 45 degrees Point/A0, Mid, 0 → P1 = (35.355, 35.355)
← All FAQs Operator Reference Try in XyzPilot →