enums.ConstraintKind

enums.ConstraintKind()

The sketch constraints the viewer can add.

The two valued kinds come first (they take a numeric target), then the relational ones.

Attributes

Name Description
COINCIDENT Hold two points together.
DISTANCE Hold two points a stated distance apart.
FIXED Pin one point where it is.
HORIZONTAL Level two points in y.
PARALLEL Keep two segments parallel.
PERPENDICULAR Keep two segments at right angles.
VERTICAL Level two points in x.