Stratal CAD

Adding sketch constraints

Help centre · 3D, parts and assemblies

Geometric constraints fix how sketch curves relate: horizontal, parallel, tangent, equal and so on. Use them so a sketch keeps its shape when you change its dimensions.

Before you start

Steps

  1. On the Sketch tab, in the Constraints group, click the constraint, for example Horizontal (GCHORIZONTAL).
  2. Click the sketch curves or points it asks for, for example "Select first sketch line", then "Select second sketch line". Both picks must be in the same sketch.
  3. The sketch solves at once. The command line shows the result, for example "Sketch #12: Under-constrained: 2 degree(s) of freedom remain." Parts built from the sketch rebuild in the same undo step.

Constraints

Command Ribbon Picks What it does
GCHORIZONTAL Horizontal a line Makes a sketch line horizontal
GCVERTICAL Vertical (under Horizontal's arrow) a line Makes a sketch line vertical
GCPARALLEL Parallel two lines Makes two lines parallel
GCPERPENDICULAR Perpendicular (under Parallel's arrow) two lines Makes two lines perpendicular
GCTANGENT Tangent two curves Makes a line, arc or circle tangent to an arc or circle
GCEQUAL Equal (under Tangent's arrow) two curves Same length for two lines, same radius for two arcs or circles
GCCOINCIDENT Coincident two points Joins two end points or centres
GCFIX Fix a point Fixes a point where it is
GCCONCENTRIC command line only two arcs or circles Gives them the same centre
GCSYMMETRIC command line only two points, then a line Mirrors two points about a line, usually a construction line

Removing constraints

How the solver answers

State Meaning
Fully constrained Nothing can move. The best state for a finished profile.
Under-constrained: N degree(s) of freedom remain N independent movements are still free. The sketch still works.
Over-constrained A constraint repeats what others already say. It is refused.
Conflicting constraints A constraint contradicts others. It is refused and the sketch is left unchanged.

Example

A rectangle sketched from RECTANG has 4 degrees of freedom. Add GCFIX on its bottom-left corner (2 left), then a horizontal and a vertical dimension (0 left). The sketch is now fully constrained.

Tips and common mistakes

Troubleshooting

Message or symptom What it means and what to do
"Not applied: Over-constrained: ..." The new constraint is already implied by others. Leave it out, or remove one of the others.
"Not applied: Conflicting constraints: ... The sketch was left unchanged." The constraint cannot be met with the existing ones. Remove the clashing ones named in the message.
"No sketch line of the same sketch there." Both picks must be in the same sketch. Click closer to the curve.
"That geometry has no constraints." DELCONSTRAINT found nothing to remove on what you clicked.

Related

Related

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.