HomeOperatorsTrim/Arc/A0/To/P0

Trim/Arc/A0/To/P0

Trim Arc to a Point

Trims an arc starting from a specified point on the arc. The CW/CCW selector specifies which direction to trim from the point.

What It Does

The Trim/Arc/A0/To/P0 operator trims an arc starting from a specified point P0 that lies on the arc. The CW/CCW selector specifies which direction to trim — the arc is shortened from the selected direction.

Syntax

Trim/Arc, A0, To, P0, CW|CCW

Quick Input

A: [arc reference] P: [point on the arc] Dir: ○ CW ● CCW

Direction Selector

SelectorResult
CCWTrim the arc from P0 in the counter-clockwise direction
CWTrim the arc from P0 in the clockwise direction

Worked Examples

Setup: A0 = Arc: centre(0,0), r=50, start=0, end=180 CCW P0 = (35.355, 35.355) [at 45 degrees on A0] Trim/Arc, A0, To, P0, CCW → A0 trimmed: start moved to P0 New arc: from (35.355,35.355) to (0,50) Sweep: 45 degrees CCW Trim/Arc, A0, To, P0, CW → A0 trimmed: end moved to P0 New arc: from (50,0) to (35.355,35.355) Sweep: 45 degrees CCW

Analytic Rule

P0 must lie on arc A0 within its sweep angles. CCW: trim from P0 toward the CCW direction (moves start endpoint) CW: trim from P0 toward the CW direction (moves end endpoint) Result: Exact analytic arc trim.

FAQ

What if P0 is not on the arc?

XyzPilot returns an error. P0 must lie exactly on the arc within its sweep angles.

How is this different from Trim/Arc/Between/P,P?

Trim/Arc/To/P0 trims from one point (shortening the arc from one end). Trim/Arc/Between/P,P keeps only the segment between two points.