smesh/doc/salome/gui/SMESH/input/symmetry.rst

70 lines
3.0 KiB
ReStructuredText
Raw Normal View History

2017-12-08 19:09:48 +05:00
.. _symmetry_page:
********
Symmetry
********
This geometrical operation allows to perform a symmetrical copy of your mesh or some of its elements.
2018-05-25 22:04:48 +05:00
*To create a symmetrical copy:*
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
.. |img| image:: ../images/symmetry.png
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
#. From the **Modification** menu choose **Transformation** -> **Symmetry** item or click *"Symmetry"* button |img| in the toolbar.
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
The following dialogs will appear, where you can choose a way to mirror:
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
* through a point:
2017-12-08 19:09:48 +05:00
.. image:: ../images/symmetry1.png
:align: center
2018-05-25 22:04:48 +05:00
* through an axis:
2017-12-08 19:09:48 +05:00
.. image:: ../images/symmetry2.png
:align: center
2018-05-25 22:04:48 +05:00
* through a plane (defined by a point and a normal to the plane):
2017-12-08 19:09:48 +05:00
.. image:: ../images/symmetry3.png
:align: center
#. In the dialog:
* specify the elements for the symmetry operation:
* **Select the whole mesh, submesh or group** activating this checkbox; or
* choose mesh elements with the mouse in the 3D Viewer. It is possible to select a whole area with a mouse frame; or
* input the element IDs directly in **ID Elements** field. The selected elements will be highlighted in the viewer; or
* apply Filters. **Set Filter** button allows to apply a :ref:`filtering_elements` to the selection of elements.
* depending on the nature of the mirror object:
* if the mesh is mirrored through a point, specify the coordinates of the point, either directly or by picking a mesh node;
* if the mesh is mirrored through an axis:
2018-05-25 22:04:48 +05:00
* specify the coordinates of the start **Point** of the axis, either directly or by picking a mesh node;
* specify the components of axis **Vector**, either directly or by picking a mesh node, in which case **Vector** is defined as a shift between the **Point** and the node;
2017-12-08 19:09:48 +05:00
* if the mesh is mirrored through a plane:
* specify the coordinates of the **Point** lying on the plane, either directly or by picking a mesh node;
2018-05-25 22:04:48 +05:00
* specify the components of plane **Normal**, either directly or by picking a mesh node, in which case **Normal** is defined as a shift between the **Point** and the node.
2017-12-08 19:09:48 +05:00
* specify the conditions of symmetry operation:
2018-05-25 22:04:48 +05:00
* activate **Move elements** radio button to change the location of the selected elements within the current mesh;
* activate **Copy elements** radio button to duplicate the selected elements at the new location within the current mesh;
* activate **Create as new mesh** radio button to create a new element in a new mesh; the new mesh appears in the Object Browser with the default name *MeshName_mirrored* (it is possible to change this name in the adjacent box);
* activate **Copy groups** check-box to put new mesh entities into new groups if source entities belong to some groups. New groups are named by pattern "<old group name>_mirrored".
2017-12-08 19:09:48 +05:00
* activate **Preview** check-box to show the result of transformation in the viewer;
* click **Apply** or **Apply and Close** button to confirm the operation.
**See Also** a sample TUI Script of a
:ref:`tui_symmetry` operation.