Trim/A,to,C
Trim Arc to Circle
Trims a arc to a circle boundary. Start/End selector specifies which endpoint.
What It Does
The Trim/A,to,C operator trims a arc to a circle boundary. The Start/End selector specifies which endpoint of the arc to trims.
Trims vs Extend: Trim shortens an entity to reach a boundary. Extend lengthens an entity to a boundary.
Syntax
Trim/A,to,C, ARC, to, CIRCLE, Start|End
Quick Input
ARC: [reference]
CIRCLE: [boundary reference]
End: ● Start ○ End
Direction Selector
| Selector | Meaning |
|---|---|
Start | Trim the start endpoint of the arc to the circle |
End | Trim the end endpoint of the arc to the circle |
The circle must intersect the arc within its sweep angles.
Worked Examples
A0=arc centre(0,0) r=50 0°-180° CCW, C0=circle centre(40,0) r=20
Trim/A0, to, C0, End
→ A0 end moved to intersection of arc and circle
Trim/A0, to, C0, Start
→ A0 start moved to intersection of arc and circle
Analytic Rule
Find intersection of arc and circle.
Move the selected endpoint to the intersection.
The arc is shortened to meet the boundary.
Result: Exact analytic trim.
FAQ
What if the arc does not intersect the circle?
XyzPilot returns an error. The arc must intersect the circle.
What is the difference between Trim and Extend?
Trim shortens an entity to a boundary. Extend lengthens an entity to reach a boundary. Both use the same Start/End selector.