Salome HOME
small modification
[modules/geom.git] / doc / salome / gui / GEOM / input / rotation_operation.doc
1 /*!
2
3 \page rotation_operation_page Rotation
4
5 \n To produce a \b Rotation in the <b>Main Menu</b> select 
6 <b>Operations - > Transformation - > Rotation</b>
7
8 \n This operation \b rotates the initial shape.
9
10 \n The first \b Rotation algorithm needs you to define an \b Object to
11 be rotated, an \b Axis of rotation and an \b Angle of rotation.
12 \n <b>TUI Command:</b> <em>geompy.MakeRotation(Shape, Axis, Angle)</em>
13 \n <b>Arguments:</b> Name + one or several objects + 1 vector for direction of rotation + 1
14 angle.
15 \n <b>Advanced option:</b>
16    \ref restore_presentation_parameters_page "Set presentation parameters and sub-shapes from arguments".
17
18 \image html transformation4.png
19
20 \b Reverse checkbox allows to specify the direction of rotation.
21 \n <b>Create a copy</b> checkbox allows to keep the initial object,
22 otherwise it will be removed.
23 \n The \b Result will be any \b GEOM_Object.
24
25 \n The second algorithm allows to define the rotated \b Object by
26 three points. Rotation axis will pass through the <b>Central Point</b>
27 and will be will be orthogonal to a plane defned by three points. In
28 this case rotation \b Angle is the angle between two vectors directed
29 from the first point to the second and to the third.
30 \n <b>TUI Command:</b> <em>geompy.MakeRotationThreePoints(Shape, CentralPoint, Point1, Point2)</em>
31 \n <b>Arguments:</b> 1 shape + 3 points.
32 \n <b>Advanced option:</b>
33    \ref restore_presentation_parameters_page "Set presentation parameters and sub-shapes from arguments".
34
35 \image html transformation4a.png
36
37 \n <b>Example:</b>
38
39 \image html rotationsn1.png "The initial shape (yellow)"
40
41 \image html rotationsn2.png "The rotated shape (grey)"
42
43 Our <b>TUI Scripts</b> provide you with useful examples of the use of
44 \ref tui_rotation "Transformation Operations".
45
46 */