mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-14 17:48:34 +05:00
78 lines
2.5 KiB
Plaintext
78 lines
2.5 KiB
Plaintext
/*!
|
|
|
|
\page rotation_page Rotation
|
|
|
|
\n This operation allows to rotate in space the mesh or
|
|
some of its elements.
|
|
|
|
<em>To rotate the mesh:</em>
|
|
|
|
<ol>
|
|
<li>From the \b Modification menu choose \b Transformation -> \b Rotation item or click
|
|
<em>"Rotation"</em> button in the toolbar.
|
|
|
|
\image html rotation_ico.png "Rotation button"
|
|
|
|
The following dialog will appear:
|
|
|
|
\image html rotation.png
|
|
|
|
</li>
|
|
|
|
<li>
|
|
In this dialog:
|
|
<ul>
|
|
<li>specify the IDs of the elements which will be rotated:
|
|
|
|
<ul>
|
|
<li><b>Select the whole mesh, submesh or group</b> activating this
|
|
checkbox; or</li>
|
|
<li>choose mesh elements with the mouse in the 3D Viewer. It is
|
|
possible to select a whole area with a mouse frame; or</li>
|
|
<li>input the element IDs directly in <b>ID Elements</b> field. The selected elements will be highlighted in the
|
|
viewer; or</li>
|
|
<li>apply Filters. <b>Set filter</b> button allows to apply a filter to the selection of elements. See more
|
|
about filters in the \ref selection_filter_library_page "Selection filter library" page.</li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li>specify the axis of rotation:
|
|
<ul>
|
|
<li>specify the cooordinates of the start \b Point of the vector of rotation;</li>
|
|
<li>specify the \b Vector of rotation through the coordinates of its
|
|
end point with respect to the coordinates of the start point;</li>
|
|
</ul>
|
|
</li>
|
|
<li>specify the \b Angle of rotation </li>
|
|
|
|
<li>specify the conditions of rotation:
|
|
<ul>
|
|
<li>activate <b>Move elements</b> radio button to create the source
|
|
mesh (or elements) at the new location and erase it from the previous location;</li>
|
|
<li>activate <b>Copy elements</b> radio button to create the source
|
|
mesh (or elements) at the new location, but leave it at the previous
|
|
location, the source mesh will be considered one and single mesh with the result of the rotation;</li>
|
|
<li>activate <b>Create as new mesh</b> radio button to leave the
|
|
source mesh (or elements) at its previous location and create a new
|
|
mesh at the new location, the new mesh appears in the Object Browser
|
|
with the default name MeshName_rotated (it is possible to change this
|
|
name in the adjacent box);</li>
|
|
<li>activate <b> Copy groups </b> checkbox to copy the groups of elements of the source mesh to the newly created mesh.</li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li>Click \b Apply or <b> Apply and Close</b> button to confirm the
|
|
operation.</li>
|
|
|
|
</ol>
|
|
|
|
|
|
\image html rotation1.png "The initial mesh"
|
|
|
|
\image html rotation2.png "The rotated mesh"
|
|
|
|
<br><b>See Also</b> a sample TUI Script of a
|
|
\ref tui_rotation "Rotation" operation.
|
|
|
|
*/
|