Docs Home
/
KCL Standard Library
/
Functions
/
sketch2::diameter

sketch2::diameterFunction in std::sketch2

WARNING: This function is experimental and may change or be removed.

Constrain the diameter of an arc or circle segment. Accepts a single arc or circle segment and constrains the distance from its center to its start point. Note: Diameter uses the same solver constraint as radius (distance between two points), but is stored as a separate constraint type for proper UI display.

Arguments

NameTypeDescriptionRequired
pointsSegmentA segment of a path in a sketch. It may be a line, arc, or other segment type.Yes
Found a typo?