Sketcher ToggleDrivingConstraint

From FreeCAD Documentation
Jump to: navigation, search
Other languages:
English • ‎español • ‎français • ‎italiano • ‎română • ‎русский

Sketcher ToggleConstraint.svg Sketcher ToggleConstraint

Menu location
Sketch → Sketcher constraints → Toggle reference/driving constraint
Workbenches
Sketcher
Default shortcut
None
Introduced in version
0.16
See also
Toggle Construction


Description

The Toggle Constraint icon turns dimensional constraints (Lock, Horizontal/Vertical distance, Length, Radius and Angle) into reference mode, and back. The icons in the toolbar turn blue, and rather than dimensional constraints, reference dimensions are created. Reference dimensions do not constrain the sketch. It can be useful to create reference dimensions in a sketch as a way to check on measurements; when given a name, they can also be used to drive constraints in another sketch through expressions.


Sketcher Constraint Toolbar ReferenceMode.png

The Sketcher Constraint toolbar with the dimensional constraints in reference dimension mode (blue).


Sketcher ToggleConstraint example.png

A horizontal distance constraint (50 mm), a vertical constraint (30 mm) and an angle constraint (75°) were set to define the profile; a reference dimension was added on the slanted line segment to know its length (31.0583 mm).

How to use

  1. Press the Sketcher ToggleConstraint.png Toggle reference/driving constraint button. The dimensional constraints icons in the Sketcher Constraints toolbar turn from red to blue.
  2. The usual method of creating dimensional constraints works the same, but a blue reference dimension is added instead.
  3. To turn the Sketcher Constraints toolbar back to constraint mode (red), press the Toggle Constraint button again.
  4. To turn a dimensional constraint into a reference dimension, or the reverse, select it and press the Toggle Constraint button.