Sketcher ConstrainSymmetric/pl: 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/pl
{{GuiCommand/pl
|Name=Sketcher ConstrainSymmetric
|Name=Sketcher ConstrainSymmetric
Line 18: Line 19:
|SeeAlso=[[Sketcher_ConstrainParallel/pl|Wiązanie równoległości]]
|SeeAlso=[[Sketcher_ConstrainParallel/pl|Wiązanie równoległości]]
}}
}}
</div>


<span id="Description"></span>
==Opis==
==Opis==


<div class="mw-translate-fuzzy">
'''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.
'''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.
</div>


<span id="Usage"></span>
==Użycie==
==Użycie==


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
[[File:SymmetricConstraint1.png|500px]]


===[[Sketcher_Workbench#Continue_modes|Continue mode]]===
Wybierz dwa punkty ''(wierzchołki)'' oraz linię na szkicu. Wybrane punkty i prosta będą miały kolor ciemnozielony.


# Make sure there is no selection.
[[File:SymmetricConstraint2.png|500px]]
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_ConstrainSymmetric.svg|16px]] [[Sketcher_ConstrainSymmetric|Constrain symmetric]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainSymmetric.svg|16px]] Constrain symmetric}} option from the menu.
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Constrain → [[Image:Sketcher_ConstrainSymmetric.svg|16px]] Constrain symmetric}} option from the context menu.
#* Use the keyboard shortcut: {{KEY|S}}.
# The cursor changes to a cross with the tool icon.
# 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).
# A constraint is added.
# Optionally keep creating constraints.
# To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.


===Run-once mode===
Kliknij na przycisk {{Button|[[File:Sketcher_ConstrainSymmetric.svg|16px]] [[Sketcher_ConstrainSymmetric/pl|Utwórz wiązanie symetrii ...]]}} lub wybierz pozycję z menu {{MenuCommand|Szkic → Wiązana szkicownika → Wiązanie symetrii}}.


# Do one of the following:
Spowoduje to zastosowanie tego wiązania do wybranych elementów.
#* Select two points and a symmetry point (in that order).

#* Select two points and a symmetry line (in any order).
[[File:SymmetricConstraint3.png|500px]]
#* Select a line and a symmetry point (idem).

# Invoke the tool as explained above, or with the following additional option:
{{Emphasis|Uwaga:}} Przed wersją 0.19 (zobacz poprawkę [https://github.com/FreeCAD/FreeCAD/pull/3746]), jeśli chcesz zdefiniować wiązanie symetrii względem punktu, kolejność wyboru jest ważna, w zależności od tego, czy wybierasz narzędzie na wstępie, czy na końcu.
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_ConstrainSymmetric.svg|16px]] Constrain symmetric}} option from the context menu.
* Jeśli klikniesz w narzędzie jako pierwsze: wybierz najpierw pierwszy punkt, następnie punkt odniesienia symetrii, a na końcu drugi punkt.
# A constraint is added.
* Jeśli narzędzie zostanie kliknięte jako ostatnie: wybierz pierwszy punkt, następnie drugi punkt, a na końcu punkt odniesienia symetrii.

Zobacz tracker [https://freecadweb.org/tracker/view.php?id=4144 issue #4144], oraz [https://forum.freecadweb.org/viewtopic.php?f=3&t=39611 wątek na forum].


<span id="Scripting"></span>
==Tworzenie skryptów==
==Tworzenie skryptów==



Revision as of 15:03, 23 April 2024

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
Wiązanie równoległości

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.

Użycie

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.

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.