Salome HOME
Added help page and revert some changes for a better ergonomy
[modules/geom.git] / doc / salome / gui / GEOM / input / multi_rotation_operation.doc
1 /*!
2
3 \page multi_rotation_operation_page Multi Rotation
4
5 \n To produce a <b>Multi Rotation</b> in the <b>Main Menu</b> select
6 <b>Operations - > Transformation - > Multi Rotation</b>
7
8 \n This operation creates several geometrical objects rotated in one
9 or two dimensions basing on the initial geometrical object.
10 \n The \b Result will be one or several \b GEOM_Objects (compound).
11
12 \n To produce a <b>Simple Multi Rotation</b> (in one dimension) you
13 need to define a \b Shape to be rotated, an \b Axis of rotation and a
14 <b>Number of Times</b> the shape must be rotated. <b>Rotation Angle</b> will
15 be 2*PI/NbTimes
16 \n <b>TUI Command:</b> <em>geompy.MultiRotate1D(Shape, Axis, NbTimes)</em>
17 \n <b>Arguments:</b> Name + 1 shape + 1 vector for direction + 1 value
18 (repetition).
19
20 \b <b>NB!</b> There is another way to execute a Multi-rotation
21 operation, which is currently accessible only via TUI commands:
22 <em>geompy.MakeMultiRotation1D(Shape, Dir, Point, NbTimes)</em> which works in
23 the same way, but the Axis is defined  by direction and point.
24
25 \image html neo-mrot1.png
26
27 \image html multi_rotation1d1.png "The initial object"
28
29 \image html multi_rotation1d2.png "The result of a simple multi-rotation"
30
31 \n <b>Double Multi Rotation</b> (in two dimensions) rotates the given
32 \b Object around the given \b Axis on the given \b Angle a given
33 <b>Number of Times</b> and multi-translates each rotation
34 result. Translation direction passes through the center of gravity of
35 the rotated shape and its projection on the rotation axis.
36 \b Reverse checkbox allows to set the direction of rotation.
37 \n <b>TUI Command:</b> <em>geompy.MultiRotate2D(Shape, Axis, Angle, NbTimes1, Step, NbTimes2)</em>
38 \n <b>Arguments:</b> Name + 1 shape + 1 vector for direction + 1 angle
39 + 1 value (repetition) + 1 step value + 1 value (repetition).
40
41 <b>NB!</b> There is another way to execute a Double Multi-rotation
42 operation, which is currently accessible only via TUI commands: 
43 <em>geompy.MakeMultiRotation2D(Shape, Dir, Point, Angle, nbtimes1, Step,nbtimes2)</em>
44 which works in the same way,
45 but the Axis is defined  by direction and point.
46
47 \image html neo-mrot2.png
48
49 \image html multi_rotation2d1.png "The initial object"
50
51 \image html multi_rotation2d2.png "The result of a double multi-rotation"
52
53 Our <b>TUI Scripts</b> provide you with useful examples of the use of
54 \ref tui_multi_rotation "Transformation Operations".
55
56 */