Skip to content
LiberoDraft LiberoDraft Help
Deutsch
Start › B How-to › Set and release constraints

Set and release constraints

Goal

The lower edge of a part stays horizontal; a second line runs parallel to it at a distance of 22 mm — even when the edge is moved later. The constraint “Parallel” keeps the direction, a driving distance dimension keeps the distance.

Steps

  1. In the ribbon, in the group “Constraints”, open the list under the button “Constraints” (triangle; if the group is collapsed in a narrow window, first its triangle) and choose the first entry (1) — “Constraints” is the constraint Horizontal; click the lower edge.
  2. Choose “Parallel” (4). First click on the lower edge (reference), second click on the second line — it aligns. When you drag later, too, the reference stays put and the dependent line follows; elements on locked layers are never moved by a constraint.
  3. In the window “Distance between parallel lines:” enter 22, “OK”. The line moves to 22 mm. This distance is set only once; “Parallel” keeps the direction afterwards, not the distance.
  4. Keep the distance for good: choose the tool “Dimension”, click first the lower edge, then the second line and place the dimension line (Distance between two parallel edges). Double-click the dimension, set 🔒 driving in the dialog “Edit dimension”, enter 22, “OK”.
  5. Test: move the lower edge a little with the tool “Move” — the second line moves along and keeps its 22 mm distance. Without the driving distance dimension it would stay where it is (Driving distance and point-to-point dimensions).
  6. Release the constraint: right-click the parallel symbol at one of the lines → “🗑 Delete constraint”; or select the line and click the ✕ of the tag “Parallel” in the “Constraints” section.
List under the button “Constraints”: (1) Constraints (= Horizontal), (4) Parallel
List under the button “Constraints”: (1) Constraints (= Horizontal), (4) Parallel
Second click for “Parallel”
Second click for “Parallel”
Right-click on a symbol
Right-click on a symbol
“Constraints” section with ✕
“Constraints” section with ✕

Result

Status bar “Constraint: Horizontal” and “Constraint: Parallel applied”; both lines carry the symbols. Every constraint is one undo step. Constraints belong to their space: the model and every sheet have their own, and their symbols only appear there.

Have constraints added while drawing

A rectangle that is to stay a rectangle gets its constraints without single clicks, too:

  1. In the header bar above the drawing area, switch on “⛓ Live constraints” — it turns blue, the status bar reports “Live constraints ON — …”.
  2. Choose the tool “Rectangle” and tick the option “As separate lines (exploded)” in the window “▭ Rectangle”.
  3. Click two corners. The status bar reports “4 live constraints”; each side carries the symbol “Horizontal” or “Vertical”. A rotated rectangle (“Rectangle (3 points, rotated)”) gets “Perpendicular” at each corner instead.
  4. Test: select a side and move a corner by its grip — the shape stays a rectangle.
  5. Ctrl + Z takes back rectangle and constraints in one step. A second click on the switch turns it off.

Line, slot and curved slot get their constraints in the same way; which ones is listed under Live constraints while drawing.

When a constraint is refused

A new constraint that does not agree with the existing ones is refused: the geometry stays as it is, and the status bar names the conflicting constraints in red, for example ⚠ Conflict: “Horizontal” contradicts “Horizontal”, “Perpendicular” — not added. If you open an older drawing whose constraints are not satisfied, LiberoDraft shows it unchanged and marks the unsatisfied constraints in red; they are only solved when you edit their elements.

Lower line horizontal, second line perpendicular to it; “Horizontal” for (1) the second line is refused: (2) the red message in the status bar
Lower line horizontal, second line perpendicular to it; “Horizontal” for (1) the second line is refused: (2) the red message in the status bar
Tip

If the symbols disturb the picture, the system layer “Constraints” hides them — the constraints stay in force.

Related topics