Sketcher ConstrainParallel/fr: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "==Utilisation==")
Line 23: Line 23:
La commande [[Image:Sketcher_ConstrainParallel.svg|24px]] [[Sketcher_ConstrainParallel/fr|Sketcher Contrainte parallèle]] contraint les lignes à être parallèles.
La commande [[Image:Sketcher_ConstrainParallel.svg|24px]] [[Sketcher_ConstrainParallel/fr|Sketcher Contrainte parallèle]] contraint les lignes à être parallèles.


==Usage==
<span id="Usage"></span>
==Utilisation==


# Optionally select two or more lines.
# Optionally select two or more lines.

Revision as of 10:37, 20 January 2024

Sketcher Contrainte parallèle

Emplacement du menu
Esquisse → Contraintes d'esquisse → Contrainte parallèle
Ateliers
Sketcher
Raccourci par défaut
P
Introduit dans la version
-
Voir aussi
Sketcher Contrainte horizontale/verticale

Description

La commande Sketcher Contrainte parallèle contraint les lignes à être parallèles.

Utilisation

  1. Optionally select two or more lines.
  2. There are several ways to invoke the command:
    • Press the Constrain parallel button.
    • Select the Sketch → Sketcher constraints → Constrain parallel option from the menu.
    • Use the keyboard shortcut: P.
  3. To indicate that the command has been activated the cursor changes to a white cross with the command icon.
  4. Optionally keep selecting elements. You can only select two lines at a time now.
  5. To finish the command press Esc or the right mouse button, or start a another constraints or geometries command.

Script

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

La page Sketcher Scripts explique les valeurs qui peuvent être utilisées pour Line1 et Line2 et contient d'autres exemples sur la façon de créer des contraintes à partir de scripts Python.