Geometry & modeling

Sketch constraint

Definition

A sketch constraint is a rule applied to 2D sketch geometry, such as coincident, parallel, tangent, equal, or a fixed dimension. When a sketch is fully constrained, nothing in it can move freely, which makes later edits predictable.

Also known as: geometric constraint, fully constrained sketch, sketch constraints, sketch relations

Updated

Constraint status#

CAD programs show how constrained a sketch is. In Onshape, sketch colors show the status: blue means underconstrained, black means fully constrained, and red means a constraint problem such as overconstraint.

An underconstrained sketch can still produce a valid part, but it can change shape unexpectedly when an upstream dimension moves. Fully constraining sketches, with dimensions that match how the part is made and inspected, is one of the simplest habits that keeps a parametric model stable.

Sources

All glossary terms