Chisel

A constraint ties selected points and edges of a sketch to each other or to a number, and the sketch is solved to keep it true. A relation ties elements together (two lines parallel, a point on a circle). A dimension holds a number (a length, an angle, a radius). Constraints are added in Edit from the Constraints menu.

the Constraints menu with a point and an edge selected

The Constraints menu

The menu is on the tool bar in Edit, in the right-click menu and in the sidebar. It reads the selection of points and edges only; selected faces do not count. A row that does not fit the selection is greyed out. Selection order matters for some rows: rows that start with a point reorder themselves, and Signed Offset, Midpoint and Angle read the order you picked in.

The first two rows work on the whole sketch:

RowWhat it does
Disable All ConstraintsKeeps every saved constraint but stops it driving the sketch. Greyed out unless one is enabled
Enable All ConstraintsTurns every saved constraint on and solves. Greyed out unless one is disabled. If the set cannot be solved, it is refused and the sketch stays disabled

a line made horizontal from the menu

The other rows, in the order the menu has them:

RowNeeds exactlyWhat it doesKind
Fixed PointOne point or moreHolds each point where it isRelation
CoincidentTwo pointsMakes them one placeRelation
HorizontalOne line, or two pointsKeeps it level with the drawing X axisRelation
VerticalOne line, or two pointsKeeps it along the drawing Y axisRelation
Point on Line SupportA point and a lineKeeps the point on the endless line through the lineRelation
Point On SegmentA point and a lineKeeps the point between the line’s endsRelation
Point On CircleA point and a circle or an arcKeeps the point on the circleRelation
Point On ArcA point and an arcKeeps the point on the arcRelation
ParallelTwo linesKeeps them parallelRelation
PerpendicularTwo linesKeeps them at a right angleRelation
CollinearTwo linesKeeps them on one lineRelation
DistanceTwo pointsTheir distance, 0 or moreDimension
LengthOne lineIts length, more than 0Dimension
Horizontal DistanceTwo pointsTheir distance along the drawing X axisDimension
Vertical DistanceTwo pointsTheir distance along the drawing Y axisDimension
Signed OffsetA point or a line, then a lineThe distance from the first to the line, signed by the side it is onDimension
AngleOne line, or two linesThe line’s angle to the drawing X axis, or the angle between two lines, from -180 to 180 degreesDimension
RadiusA circle or an arcIts radius, more than 0Dimension
DiameterA circle or an arcIts diameter, more than 0Dimension
Equal LengthTwo linesGives them one lengthRelation
Equal RadiusTwo circles or arcsGives them one radiusRelation
MidpointA point and a line, or three pointsPuts the point at the middle of the line, or the first of three points at the middle of the other twoRelation
ConcentricTwo circles or arcsGives them one centreRelation
Tangent at Shared EndpointA line and an arc, or two arcs, that share exactly one endpointMakes them meet tangentially there. The shared point can be a third pickRelation

A relation applies at once. A dimension opens a dialog.

Dimension dialog

the Constrain Selected Sources dialog

FieldWhat it does
ConstraintThe kind, one of the rows above
Reference DimensionOff by default. Measures without driving the sketch
Value (mm)The number. Angle (degrees) for an Angle. It starts at the value measured now, and is greyed out while Reference Dimension is on

typing a length and confirming it: the line takes the new length

A driving dimension solves the sketch to the number. A move that it blocks reports Transform limited by driving constraints, and an exact number you type that it blocks is refused. A reference dimension only measures: it never drives and never turns anything green, and its number is drawn in parentheses.

When a constraint cannot be added, the message reads reason: conflicts with Kind n, ….

On the sketch

Each enabled dimension draws its number alone, to four significant digits, at the middle of what it measures (at the top of a circle). Angles carry a degree sign. Selected elements draw blue, or green when a driving relation is attached to them.

a driving length of 40 and a reference length of (50)

the top edge selected: it is green because the rectangle's Horizontal relation drives it

A disabled constraint draws no number and no colour.

the same sketch after Disable All Constraints

In the sidebar

In Edit the sidebar’s Sketch tab ends with the constraints of the active sketch.

RowWhat it shows
Move / Rotate / Scale SourcesOpens the numeric transform, see Selecting & Moving
The hintNumeric entry places geometry; Lock or Constraints makes it driving
CountN sources · M constraints
Solve statusFully constrained, or n free degrees, or n free, m redundant. Other states read Inconsistent, No convergence, Invalid geometry, Branch violation, Blocked by constraints or Capacity exceeded
One row per constraintIts kind, (disabled) when it is off, its number, (ref) for a reference dimension and (redundant) when it adds nothing. A row that conflicts is red. The X removes it, and removing is undoable

the constraint list of a rectangle with a length and a reference length

the same list after Disable All Constraints

Every Rectangle you draw carries four relations, two Horizontal and two Vertical, which keep its sides straight. They count in the list and Disable All Constraints turns them off too. The list and the dialog use plain names for some kinds that the menu spells out: the dialog’s Constraint list reads Point On Line, Point On Segment and Tangent.

Limits

  • A constraint cannot be edited in place: remove it with its X and add it again.
  • The solver is local. The solve status and redundant describe the current solution only.
  • A sketch with too many points for the solver is refused, when you draw it and when the file is loaded.

See also