Salome HOME
ce0278c0cbc5625206bd701fc57461d92f0d57a0
[modules/smesh.git] / doc / salome / gui / SMESH / input / symmetry.doc
1 /*!
2
3 \page symmetry_page Symmetry
4
5 \n This geometrical operation allows to perform a symmetrical copy of
6 your mesh or some of its elements.
7
8 <em>To create a symmtrical copy of the mesh:</em>
9
10 <ol>
11 <li>From the \b Modification menu choose \b Transformation -> \b Symmetry item  or click
12 <em>"Symmetry"</em> button in the toolbar.
13
14 \image html symmetry.png "Symmetry button"
15
16 One of the following dialogs will appear:
17
18 It is possible to mirror a mesh or some of its elements through:
19 \image html symmetry1.png "a point (defined by a point and a vector)"
20 \image html symmetry2.png "an axis"
21 \image html symmetry3.png "a plane (defined by a point and a normal to the plane)"
22
23 </li>
24
25 <li>
26 In the dialog:
27 <ul>
28 <li>specify the IDs of the elements for the symmetry operation:
29
30 <ul>
31 <li><b>Select the whole mesh, submesh or group</b> activating this
32 checkbox; or</li>
33 <li>choose mesh elements with the mouse in the 3D Viewer. It is
34 possible to select a whole area with a mouse frame; or</li> 
35 <li>input the element IDs directly in <b>ID Elements</b> field. The selected elements will be highlighted in the
36 viewer; or</li>
37 <li>apply Filters. <b>Set filter</b> button allows to apply a filter to the selection of elements. See more
38 about filters in the \ref selection_filter_library_page "Selection filter library" page.</li>
39 </ul>
40 </li>
41
42 <li>depending on the nature of the mirror object: 
43 <ul>
44 <li>if the mesh is mirrored through a point, specify the coordinates
45 of the point</li>
46 <li>if the mesh is mirrored through an axis: 
47 <ul>
48 <li>specify the cooordinates of the start \b Point of the axis vector;</li>
49 <li>specify the axis \b Vector through the coordinates of its
50 end point with respect to the coordinates of the start point;</li>
51 </ul>
52 </li>
53
54 <li>if the mesh is mirrored through a plane:
55 <ul>
56 <li>specify the cooordinates of the \b Point lying on the plane;</li>
57 <li>specify the axis \b Vector through the coordinates of its
58 end point with respect to the coordinates of the start point.</li>
59 </ul>
60 </li>
61
62 <li>specify the conditions of symmetry operation:
63 <ul>
64 <li>activate <b>Move elements</b> radio button to create  the source
65 mesh (or elements) at the new location and erase it from the previous location;</li>
66 <li>activate <b>Copy elements</b> radio button to create the source
67 mesh (or elements) at the new location, but leave it at the previous
68 location, the source mesh will be considered one and single mesh with the result of the rotation;</li>
69 <li>activate <b>Create as new mesh</b> radio button to leave the
70 source mesh (or elements) at its previous location and create a new
71 mesh at the new location, the new mesh appears in the Object Browser
72 with the default name MeshName_rotated (it is possible to change this
73 name in the adjacent box);</li>
74 <li>activate <b> Copy groups </b> checkbox to copy the groups of elements of the source mesh to the newly created mesh.</li>
75 </ul>
76 </li>
77
78 <li>Click \b Apply or <b> Apply and Close</b> button to confirm the
79 operation.</li>
80
81 </ol>
82
83 <br><b>See Also</b> a sample TUI Script of a 
84 \ref tui_symmetry "Symmetry" operation.  
85
86 */