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
- Needs the core.3d feature (3D modelling).
- You need a sketch (see Creating a sketch).
Steps
- On the Sketch tab, in the Constraints group, click the constraint, for example Horizontal (
GCHORIZONTAL). - 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.
- 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
- Click Sketch > Constraints > Delete constraints (
DELCONSTRAINT, aliasDELCON). - Click a sketch curve or point. Every constraint on it, its end points and centre is removed, and the command line says how many.
- The same command removes constraints on ordinary drawing objects.
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
- Fix one point of each sketch, usually at the origin, so the part does not drift when dimensions change.
- Use Equal rather than two dimensions when two sizes must always match.
- Constrain before you dimension: it is easier to see which sizes are still missing.
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
- Making mesh bodies
- Mesh Studio: selecting points, edges and faces
- Mesh Studio: editing tools
- Mesh Studio: subdivision, modifiers and booleans
- Parametric modelling overview
- Creating a sketch
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.