HomeOperatorsTrim/Circle/Between/P0,P1

Trim/Circle/Between/P0,P1

Trim Circle Between Two Points

Keeps only the arc segment of a circle between two points P0 and P1. The CW/CCW selector specifies which arc segment to keep.

What It Does

The Trim/Circle/Between/P0,P1 operator trims a circle to keep only the arc segment between two specified points. Both points must lie on the circle circumference. The CW/CCW selector specifies which of the two arc segments to keep.

Syntax

Trim/Circle, C0, Between, P0, P1, CW|CCW

Quick Input

C: [circle reference] P: [first boundary point on the circle] P2: [second boundary point on the circle] Dir: ○ CW ● CCW

Direction Selector

SelectorKeeps
CCWThe arc segment swept counter-clockwise from P0 to P1
CWThe arc segment swept clockwise from P0 to P1

Worked Examples

Setup: C0 = Circle: centre(50,50), radius 30 P0 = (80, 50) [rightmost point, at 0 degrees] P1 = (50, 80) [top point, at 90 degrees] Trim/Circle, C0, Between, P0, P1, CCW → A0: arc from (80,50) to (50,80), 90 degree CCW sweep [upper-right quarter of the circle] Trim/Circle, C0, Between, P0, P1, CW → A1: arc from (80,50) to (50,80), 270 degree CW sweep [the remaining three-quarter arc]

Analytic Rule

Both points P0 and P1 must lie on circle C. The circle is trimmed to the arc segment between P0 and P1. CW/CCW selector determines which of the two segments to keep. Result: Exact analytic arc.

FAQ

What if the points are not on the circle?

XyzPilot returns an error. Both P0 and P1 must lie exactly on the circle circumference.

How is this different from Trim/Circle/To/C?

Trim/Circle/To/C trims a circle to its intersection with another circle. Trim/Circle/Between/P,P trims a circle to keep only the segment between two specified points.