Constraints in sketches

Constraints are automatically applied as you sketch. The constraint symbol on the cursor shows the constraint type. Constraints prevent unwanted changes to a feature when dimensions are changed or referenced geometry is moved.

You can add or edit constraints and dimensions to control sketch shape and size. Before you add constraints , study your sketch to decide which are needed. In a 2D sketch, display the Degrees of Freedom glyphs to determine which geometry is unconstrained, partially constrained, or fully constrained.

2D and 3D sketch geometry to include in constraint

In addition to geometry you create in the sketch, you can select visible model edges and vertices for inclusion in a constraint.

In 2D sketches, the selected curves and vertices are automatically projected onto the sketch plane. Alternatively, you can select geometry and use Project Geometry to project it onto the sketch plane before applying constraints.

In 3D sketches, The selected geometry is automatically included in the sketch when the constraint is applied. Alternatively, you can select geometry and use Include Geometry before applying constraints.

Tips for using constraints

Click the constraint command you want to use, and then:

Note: To apply the same constraint to multiple curves, select the curves you want to constrain, then click a constraint command.

Visibility of constraints

Inference and persistence of constraints

Degrees of Freedom glyphs

The Degrees of Freedom glyphs provide an alternative means of identifying the constrained status of sketch geometry. Unlike constraint glyphs, which show how the geometry is constrained, the Degrees of Freedom glyphs show the manner in which the geometry is unconstrained. Refer to the glyphs and the status bar when choosing which constraints should be applied to the geometry to achieve the intended behavior.

Degrees of freedom in sketches

The ways a sketch can change size or shape are called degrees of freedom . For example, a circle has two degrees of freedom, its center and its radius. If the center and radius are defined, the circle is fully constrained.

An arc has four degrees of freedom: center, radius, and endpoints.

If you eliminate all degrees of freedom by applying constraints or dimensions, the sketch is fully constrained. If any degrees of freedom remain unsolved, the sketch is underconstrained.

The status bar shows the constrained state of the sketch. The Degrees of Freedom glyphs identify the degrees of freedom remaining to specific geometry. Use the information provided by these commands when evaluating which constraints are to be applied to achieve the desired geometry state.

Tip: Constrained sketches update predictably as you make changes. As you gain experience, you can underconstrain a sketch while you work out fine points of a design. This technique can distort that feature as you modify dimensions or constraints.

Dimensions for reference only

You cannot overconstrain a sketch, but you can add dimensions for reference only.

Usually, a dimension constrains sketch geometry to a specific size. You can add dimensions until a sketch is fully defined (all degrees of freedom are removed). Elements of the sketch that are not dimensioned are adaptive and can resize when another dimension changes.

Sometimes, you want to place (driven) dimensions. Driven dimension do not constrain the sketch and reflect the current value of the geometry. They are enclosed in parentheses to distinguish them from normal (parametric) dimensions.

You can change a driven dimension to a normal dimension. If the driven dimension you want to change would overconstrain the sketch, delete or change another dimension before you change the driven dimension. Select the Style box, and click Normal.

To change a normal dimension to a driven dimension, select the Style box, and click Driven.