Home → FAQ → How do I create a point at the midpoint of a line in Xy...

FAQ

How do I create a point at the start, mid, or end of a line in XyzPilot?

Use Point/L,Start/Mid/End. Select the line reference and choose Pos: Start, Mid, or End.

Full Answer

Use Point/L,Start/Mid/End. Quick Input: L: [line ref], Pos: Start / Mid / End. Select Mid to create a point at the exact geometric midpoint of the line.

XyzPilot Example

L0 = Line from (10,20) to (70,60) Point/L0, Mid, 0 → P0 = (40, 40) [(10+70)/2, (20+60)/2] L1 = Line from (0,0) to (100,0) Point/L1, Mid, 0 → P1 = (50, 0) [midpoint of horizontal line] Common use: creating a perpendicular bisector Point/L0, Mid, 0 → P0 Line/P0, Perpto, L0, Length=50, Dir=Left → L2
← All FAQs Operator Reference Try in XyzPilot →