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

solver::diameterFunction in std::solver

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
pointsSegmentThe arc or circle segment whose diameter should match the value set with ==.Yes

Examples

Found a typo?