Restrição paralela

From FreeCAD Documentation
Revision as of 20:20, 20 March 2022 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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
Nenhum
Introduzido na versão
-
Veja também
Constraint Vertical, Constraint Horizontal

Description

The Constrain Parallel constraint forces two selected straight lines or edges to be parallel to each other.

Operation

The sketch contains two randomly oriented lines.

ConstrainParallel1.png

Select both lines by clicking successively on each of them.

ConstrainParallel2.png

Apply the Constrain Parallel constraint by either:

  • Pressing the Sketcher ConstrainParallel.svg Constrain parallel button from the Sketcher constraints toolbar.
  • Use the P keyboard shortcut.
  • Use the Sketch → Sketcher constraints → Sketcher ConstrainParallel.svg Constrain parallel entry from the top menu.

ConstrainParallel3.png

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.

Scripting

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.