HomeOperatorsTrim/A,to,L

Trim/A,to,L

Trim Arc to Line

Trims a arc to a line boundary. Start/End selector specifies which endpoint.

What It Does

The Trim/A,to,L operator trims a arc to a line 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,L, ARC, to, LINE, Start|End

Quick Input

ARC: [reference] LINE: [boundary reference] End: ● Start ○ End

Direction Selector

SelectorMeaning
StartTrim the start endpoint of the arc to the line
EndTrim the end endpoint of the arc to the line
The line must intersect the arc within its sweep angles.

Worked Examples

A0=arc centre(0,0) r=50 0°-180° CCW, L0=vertical X=30 Trim/A0, to, L0, Start → A0 start moved to intersection with L0 at ~53.13° Trim/A0, to, L0, End → A0 end moved to intersection with L0

Analytic Rule

Find intersection of arc and line. 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 line?

XyzPilot returns an error. The arc must intersect the line.

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.