3 \page reorient_faces_page Reorient faces by vector
5 \n This operation allows changing orientation of a set of neighboring
6 faces. The desired orientation is defined by a vector. Since the 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 either specified explicitly or found by proximity to
12 Orientation of a face is changed by reverting the order of its nodes.
14 <em>To change orientation of faces:</em>
16 <li>In the \b Modification menu select <b>Reorient faces by
17 vector</b> item or click <em>Reorient faces by
18 vector</em> button in the toolbar.
21 \image html reorient_faces_face.png
22 <em>"Reorient faces by vector" button</em>
25 The following dialog box will appear:
28 \image html reorient_2d_point.png
29 \image html reorient_2d_face.png
34 <li>Specify the way of selection of the control face: by point or
36 <li>Select the \b Object (mesh, sub-mesh or a group of faces) containing faces to reorient in the Object Browser or in the 3D Viewer.</li>
37 <li>Specify the coordinates of the \b Point by which the control face
38 will be found or of the control \b Face itself. You can easy specify the \b
39 Point by either picking a node in the 3D Viewer or selecting a vertex
40 in the Object Browser. It is possible to pick the \b Face by mouse in
41 the 3D Viewer or enter its ID.</li>
42 <li>Set up the \b Direction vector to be compared with the normal of the
43 control face. If you pick a node in the 3D Viewer then the \b Direction
44 vector will go from the coordinate system origin to the selected node.
45 If you pick two nodes (holding Shift button) then the \b Direction vector
46 will go from the first to the second node.</li>
50 <li>Click the \b Apply or <b>Apply and Close</b> button to confirm the operation.</li>
53 <br><b>See Also</b> a sample TUI Script of a
54 \ref tui_reorient_faces "Reorient faces by vector" operation.