Error in user YAML: (<unknown>): did not find expected alphabetic or numeric character while scanning an alias at line 5 column 14
---
GuiCommand:
Name: Sketcher ConstrainParallel
MenuLocation: Sketch , Sketcher constraints , Constrain parallel
Workbenches: Sketcher_Workbench
Shortcut: **P**
SeeAlso: Sketcher_ConstrainVertical, Sketcher_ConstrainHorizontal
---
The Constrain Parallel constraint forces two selected straight lines or edges to be parallel to each other.
The sketch contains two randomly oriented lines.
Select both lines by clicking successively on each of them.
Apply the Constrain Parallel constraint by either:
- Pressing the [ Constrain parallel button from the Sketcher constraints toolbar.
- Use the P keyboard shortcut.
- Use the Sketch → Sketcher constraints → [ Constrain parallel entry from the top menu.
Result: The selected lines are forced to be parallel to each other. Changing the orientation of one line will change the orientation of the other to be the same.
The Sketcher scripting page explains the values which can be used for Line1
and Line2
and contains further examples on how to create constraints from Python scripts.
{{Sketcher_Tools_navi}}
⏵ documentation index > Sketcher > Sketcher ConstrainParallel