Szkicownik: Wiązanie symetrii

From FreeCAD Documentation
Revision as of 11:07, 30 April 2024 by Kaktus (talk | contribs) (Created page with "===Tryb kontynuacji===")

Szkicownik: Wiązanie symetrii

Lokalizacja w menu
Szkic → Wiązania szkicownika → Wiązanie symetrii
Środowisko pracy
Szkicownik
Domyślny skrót
S
Wprowadzono w wersji
-
Zobacz także
brak

Opis

Wiązanie symetrii nadaje dwóm wybranym punktom symetrię wokół danej prostej, tzn. oba wybrane punkty muszą leżeć na normalnej do prostej przechodzącej przez oba punkty i muszą być jednakowo odległe od tej prostej. Alternatywnie funkcja ta może wymuszać, aby dwa punkty były symetryczne względem trzeciego.


Narzędzie Wiązanie symetrii wiąże dwa punkty, aby były symetryczne wokół linii lub osi, lub wokół trzeciego punktu.

Użycie

Zapoznaj się również z informacjami na stronie Pomoce kreślarskie.

Tryb kontynuacji

  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.

Tworzenie skryptów

Dwa punkty i linia symetrii:

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

Dwa punkty i punkt symetrii:

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

Linia i punkt symetrii (W GUI można wybrać linię i punkt, ale używa się wewnętrznie takiej samej formy jak powyżej, z dwoma końcami tej samej linii):

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

Strona Skrypty szkicownika wyjaśnia wartości, które mogą być używane dla Line1, Line2, LineS, Line, PointOfLine1, PointOfLine2 i PointOfLineS, a także zawiera kolejne przykłady tworzenia wiązań za pomocą skryptów języka Python.