Constraint Lock

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page Sketcher ConstrainLock and the translation is 0% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎svenska • ‎čeština • ‎русский

Sketcher ConstrainLock.svg Sketcher ConstrainLock

Localização do menu
Sketch → Sketcher constraints → Constrain lock
Bancadas de trabalho
Sketcher, PartDesign
Atalho padrão
Introduzido na versão
Veja também
Sketcher Constrain Block


Constraint Lock applies Sketcher ConstrainDistanceX.svg Horizontal distance and Sketcher ConstrainDistanceY.svg Vertical distance constraints to selected vertices (points) in the sketch. If a single vertex is selected, the horizontal and vertical distance constraints will refer to the sketch origin point. If two or more points are selected, horizontal and vertical distance constraints will be added for each pair of points. There is no automatic prompt to edit the constraints' values, they must be edited manually.


  1. Select one or more vertices (points) in the sketch.
  2. Press the Sketcher ConstrainLock.svg Constrain lock button.
  3. To edit the constraints values, double-click on a constraint value in the 3D view, or double-click on the constraint or right-click and select Edit value in the Constraint list in the Tasks tab.

Note: the constraint tool can also be started with no prior selection, but it will then only work on a single vertex, and reference the constraints to the sketch origin point. By default the command will be in continue mode to create new constraints; press the right mouse button or ESC once to quit the command.


The Sketcher ConstrainLock.svg Lock constraint is a GUI command which creates a Sketcher ConstrainDistanceX.svg Horizontal distance and a Sketcher ConstrainDistanceY.svg Vertical distance constraint, it is not a constraint of its own. See the Sketcher scripting page for details and examples on how to create these constraints from Python scripts.