Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/smesh.git] / doc / salome / gui / SMESH / input / reorient_faces.doc
1 /*!
2
3 \page reorient_faces_page Reorient faces by vector
4
5 \n This operation allows changing orientation of a set of neighboring
6 faces. The desired orientation is defined by a vector. Since direction
7 of face normals in the set can be even opposite, it is necessary to
8 specify a control face whose normal will be compared with the vector. This
9 face can be specified either explicitly or can be found by closeness to
10 a given point.
11
12 Orientation of a face is changed by reverting the order of its nodes.
13
14 <em>To change orientation of faces:</em>
15 <ol>
16 <li>In the \b Modification menu select the <b>Reorient faces by
17     vector</b> item or click <em>Reorient faces by
18     vector</em> button in the toolbar.
19
20 <center>
21 \image html reorient_faces_face.png
22 <em>"Reorient faces by vector" button</em>
23 </center>
24
25 The following dialog box will appear:
26
27 <center>
28 \image html reorient_2d_point.png
29 \image html reorient_2d_face.png
30 </center>
31
32 <li>In this dialog
33 <ul>
34 <li>Specify a way of selection of the control face: by point or
35   explicitely.</li>
36 <li>Select an \b Object containing faces to reorient, either in the Object
37   Browser or in the 3D Viewer; it can be either <ul>
38     <li>group of faces,</li>
39     <li>sub-mesh of faces or</li>
40     <li>mesh.</li>
41     </ul></li>
42 <li>Specify either coordinates of a \b Point by which the control face
43   will be found or the control \b Face it-self. You can easy specify the \b
44   Point by either picking a node in the 3D Viewer or by selecting a vertex
45   in the Object Browser. The \b Face can be either picked by mouse in
46   the 3D Viewer or its ID can be entered by typing.</li>
47 <li>Set up a \b Direction to be compared with the normal of the
48   control face. You can either pick a node in the 3D Viewer then a \b Direction
49   from the coordinate system origin to the selected node will be set,
50   or you can pick two nodes (holding Shift button) then a \b Direction
51   from the first to the second node will be set.</li>
52 </ul>
53 </li>
54
55 <li>Click the \b Apply or <b>Apply and Close</b> button to confirm the operation.</li>
56 </ol>
57
58 <br><b>See Also</b> a sample TUI Script of a
59 \ref tui_reorient_faces "Reorient faces by vector" operation. 
60
61 */