Sketcher Contrainte symétrique

From FreeCAD Documentation
This page is a translated version of the page Sketcher ConstrainSymmetric and the translation is 59% complete.
Outdated translations are marked like this.

Sketcher Contrainte symétrique

Emplacement du menu
Esquisse → Contraintes d'esquisse → Contrainte symétrique
Ateliers
Sketcher
Raccourci par défaut
S
Introduit dans la version
-
Voir aussi
Sketcher Contrainte parallèle

Description

La Contrainte symétrique contraint deux points sélectionnés à devenir symétriques à une ligne donnée, à savoir, deux points sélectionnés sont contraints de se situer sur une normale (ligne) passant par les deux points et sont contraints d'être équidistants à la normale (ligne). Alternativement, elle peut contraindre deux points à être symétriques par rapport à un troisième.

Utilisation

See also: Drawing aids.

Continue mode

  1. Make sure there is no selection.
  2. There are several ways to invoke the tool:
    • Press the Constrain symmetric button.
    • Select the Sketch → Sketcher constraints → Constrain symmetric option from the menu.
    • introduced in version 1.0: Right-click in the 3D view and select the Constrain → Constrain symmetric option from the context menu.
    • Use the keyboard shortcut: S.
  3. The cursor changes to a cross with the tool icon.
  4. Do one of the following:
    • Select two points and a symmetry point (in that order).
    • Select two points and a symmetry line (idem).
    • Select a point, a symmetry line and another point (idem).
    • Select a line and a symmetry point (idem).
  5. A constraint is added.
  6. Optionally keep creating constraints.
  7. To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Run-once mode

  1. Do one of the following:
    • Select two points and a symmetry point (in that order).
    • Select two points and a symmetry line (in any order).
    • Select a line and a symmetry point (idem).
  2. Invoke the tool as explained above, or with the following additional option:
  3. A constraint is added.

Script

Deux points et une ligne de symétrie :

Sketch.addConstraint(Sketcher.Constraint('Symmetric', Line1, PointOfLine1, Line2, PointOfLine2, SymmetryLine))

Deux points et un point de symétrie :

Sketch.addConstraint(Sketcher.Constraint('Symmetric', Line1, PointOfLine1, Line2, PointOfLine2, LineS, PointOfLineS))

Une ligne et un point de symétrie (dans l'interface graphique, on peut sélectionner une ligne et un point. Cela utilise en interne la même forme que ci-dessus avec les deux extrémités de la même ligne) :

Sketch.addConstraint(Sketcher.Constraint('Symmetric', Line, 1, Line, 2, LineS, PointOfLineS))

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