How the Solver Works
Read the status pill to find out how much of your sketch is still undecided. A sketch is a set of geometry plus a set of relations between that geometry, and the solver works out from both where everything has to be.
Drawing puts shapes on the plane. Constraining tells the solver which of their freedoms you have decided about.
Degrees of freedom
Every point in a sketch starts with two freedoms: it can move in x, and it can move in y. Four corners carry eight between them. Each constraint removes one or more. Horizontal takes one from a line, coincident takes two from a point, a length dimension takes one. Draw a rectangle and the tool spends four of those eight for you on the spot, so the pill reads 4 rather than 8.
When the count reaches zero the sketch is fully constrained: there is exactly one arrangement that satisfies everything, and nothing can drift.
Reading the state
The status pill has three states:
| State | What it means | What to do |
|---|---|---|
| Under-constrained · N DOF | N freedoms remain; the shape can still be dragged | Fine while you work. Not fine when you are done |
| Fully constrained | Zero freedoms; one solution | Done — the shape can only change if you change a constraint |
| Over-constrained | The solver cannot satisfy everything you asked for, or it solved but reports constraints in conflict | Remove one of the conflicting chips |
A fourth word turns up, but not in the pill: redundant. A redundant constraint is satisfiable and says nothing new, so the sketch still solves. It shows as an amber badge on the chip itself and as a count at the foot of the Constraints window. Usually that means you constrained the same thing twice by two routes.
Under-constrained is not an error. It is the normal state of a sketch you are still thinking in. Sketch loosely, then decide. What you should not do is leave a sketch under-constrained and then rely on it not moving, because the first upstream edit will move it.
Dragging is how you interrogate it
Drag a point and the solver moves everything that must move to keep every constraint true. What stays put is what you have decided about.
Use that as a diagnostic. If a shape distorts in a way you did not expect, the relation you thought you had is missing. If it refuses to move at all, it is fully defined.
The constraint chips
Every relation is a chip in the Constraints window. Hover one to highlight the geometry it holds, and you will find the constraint that is fighting you, including the ones you never added by hand: the ones a snap left behind, and the ones a tool emitted when it drew a rectangle for you.
Why bother
A fully defined sketch is what makes the rest of the parametric promise work. Change a number at the top of the tree and everything downstream regenerates in a way you can predict, because there is only one arrangement it can regenerate into. A sketch with freedoms left in it can regenerate into several, and the one it picks is not always the one you meant.
Before you build features on a sketch you expect to change later, check that the pill reads Fully constrained.
See also
- Geometric Constraints: the relations themselves
- Dimensions: the ones with a number in them
- Regions and Profiles: what a solved sketch produces
