How do I create a circle through three points?

XyzPilot does not have a Circle/Centre,R (via perpendicular bisector construction) operator. Use the perpendicular bisector construction to find the circumcentre, then use Circle/Centre,R.

Full Answer

XyzPilot does not have a dedicated Circle/Centre,R (via perpendicular bisector construction) operator. To create a circle passing through three points, use the perpendicular bisector construction:

// Three points P0 = (0, 0) P1 = (80, 0) P2 = (40, 60) // Step 1: Create line through P0 and P1 Line/P0, P1 → L0 // Step 2: Create perpendicular bisector of L0 Point/L0, Mid → P3 [midpoint of P0-P1] Line/P3, Perpto, L0, Length=80, Dir=Left → L1 [perpendicular bisector] // Step 3: Create line through P1 and P2 Line/P1, P2 → L2 // Step 4: Create perpendicular bisector of L2 Point/L2, Mid → P4 [midpoint of P1-P2] Line/P4, Perpto, L2, Length=80, Dir=Left → L3 [perpendicular bisector] // Step 5: Find circumcentre (intersection of bisectors) Point/Intof, L1, L3 → P5 [circumcentre] // Step 6: Create the circumscribed circle Circle/Centre, P5, R=dist(P5,P0), 0 → C0
Why this works: The circumcentre is equidistant from all three points. It lies at the intersection of the perpendicular bisectors of any two sides of the triangle formed by the three points.

See the full step-by-step tutorial: Perpendicular Bisector Construction