Difference between revisions of "Sketcher ConstrainParallel/pt-br"

From FreeCAD Documentation
Jump to navigation Jump to search
(Updating to match new version of source page)
Line 10: Line 10:
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand/pt-br|Name=Constraint Parallel|Name/pt-br=Constraint Parallel|Workbenches=[[Sketcher Workbench/pt-br|Sketcher]], [[PartDesign Workbench/pt-br|PartDesign]]|MenuLocation=Sketch → Sketcher constraints → Constrain parallel|SeeAlso=[[Constraint Vertical/pt-br|Constraint Vertical]], [[Constraint Horizontal/pt-br|Constraint Horizontal]]}}
|Name=Constraint Parallel
|Name/pt-br=Constraint Parallel
|Workbenches=[[Sketcher Workbench/pt-br|Sketcher]], [[PartDesign Workbench/pt-br|PartDesign]]
|MenuLocation=Sketch → Sketcher constraints → Constrain parallel
|SeeAlso=[[Sketcher_ConstrainVertical/pt-br|Constraint Vertical]], [[Sketcher_ConstrainHorizontal/pt-br|Constraint Horizontal]]

Revision as of 22:49, 12 November 2021

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎svenska • ‎čeština • ‎русский

Constraint Parallel.svg Constraint Parallel

Veja também
Sketch → Sketcher constraints → Constrain parallel
Bancadas de trabalho
Sketcher, PartDesign
Atalho padrão
Introduzido na versão
Veja também
Constraint Vertical, Constraint Horizontal


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 Sketcher ConstrainParallel.svg Constrain parallel button from the Sketcher constraints toolbar by selecting the Constraint Parallel menu item from the Sketcher constraints sub menu of the Sketcher (Sketcher workbench selected) or Part Design (Part Design workbench selected) menu item.
  • Use the Shift + 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.


Sketch.addConstraint(Sketcher.Constraint('Parallel', Line1, Line2))

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.