Sketcher ConstrainParallel/fr: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
Line 10: Line 10:
}}
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/fr
{{GuiCommand/fr
|Name=Sketcher ConstrainParallel
|Name=Sketcher ConstrainParallel
Line 18: Line 19:
|SeeAlso=[[Sketcher_ConstrainVertical/fr|Sketcher Contrainte verticale]], [[Sketcher_ConstrainHorizontal/fr|Sketcher Contrainte horizontale]]
|SeeAlso=[[Sketcher_ConstrainVertical/fr|Sketcher Contrainte verticale]], [[Sketcher_ConstrainHorizontal/fr|Sketcher Contrainte horizontale]]
}}
}}
</div>


==Description==
==Description==


<div class="mw-translate-fuzzy">
La Contrainte parallèle force deux éléments sélectionnés, lignes droites ou arêtes à devenir parallèles.
La Contrainte parallèle force deux éléments sélectionnés, lignes droites ou arêtes à devenir parallèles.
</div>


==Usage==
<span id="Operation"></span>
== Opérations ==


# Optionally select two or more lines.
L'esquisse contient deux lignes, orientées de façon aléatoire.
# There are several ways to invoke the command:

#* Press the {{Button|[[Image:Sketcher_ConstrainParallel.svg|16px]] [[Sketcher_ConstrainParallel|Constrain parallel]]}} button.
[[Image:ConstrainParallel1.png|500px]]
#* Select the {{MenuCommand|SketchSketcher constraints → [[Image:Sketcher_ConstrainParallel.svg|16px]] Constrain parallel}} option from the menu.

#* Use the keyboard shortcut: {{KEY|P}}.
{{Caption|Sélectionnez les deux lignes en cliquant successivement sur chacune d'elle.}}
# To indicate that the command has been activated the cursor changes to a white cross with the command icon.

# Optionally keep selecting elements. You can only select two lines at a time now.
[[File:ConstrainParallel2.png|500px]]
# To finish the command press {{KEY|Esc}} or the right mouse button, or start a another constraints or geometries command.

Appliquez la contrainte parallèle par :
* Appuyez sur le bouton {{Button|[[File:Sketcher_ConstrainParallel.svg|16px]] [[Sketcher_ConstrainParallel/fr|Contrainte parallèle]]}} dans la barre d'outils de Sketcher.
* Utilisez le raccourci clavier {{KEY|P}}.
* Utilisez l'entrée {{MenuCommand|EsquisseContraintes d'esquisse → [[File:Sketcher_ConstrainParallel.svg|16px]] Contrainte parallèle}} dans le menu supérieur.

[[Image:ConstrainParallel3.png|500px]]

{{Caption|Résultat : les lignes sélectionnées sont forcées d'être parallèles les unes aux autres. Changer l'orientation d'une ligne changera l'orientation de l'autre pour qu'elle soit la même.}}


<span id="Scripting"></span>
<span id="Scripting"></span>

Revision as of 09:26, 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 verticale, Sketcher Contrainte horizontale

Description

La Contrainte parallèle force deux éléments sélectionnés, lignes droites ou arêtes à devenir parallèles.

Usage

  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.