Overview
/
KCL Standard Library
/
Functions
/
solver::arc

solver::arcFunction in std::solver

Create a circular arc. By default, the arc segment sweeps counterclockwise from start to end. If the arc sweeps the wrong way, set direction = CW to make it sweep clockwise from start to end instead.

Use direction = CW to sweep the other way around the circle without swapping the start and end points. This is the same shape as the first example, but the arc travels from the base line's start to its end.

Arguments

NameTypeDescriptionRequired
startPoint2dThe point where the arc begins.Yes
endPoint2dThe point where the arc ends.Yes
centerPoint2dThe center of the circle the arc lies on.Yes
directionstringThe direction that the arc sweeps from start to end: CCW for counterclockwise or CW for clockwise. Defaults to CCW.No
constructionboolWhether this segment is construction geometry rather than part of the modeled profile.No

Returns

Segment - A segment in a sketch created in a sketch block. It may be a line, arc, point, or other segment type.

Examples