To produce a Multi Rotation in the Main Menu select Operations - > Transformation - > Multi Rotation
This operation creates several geometrical objects rotated in one or two dimensions basing on the initial geometrical object.
The Result will be one or several GEOM_Objects (compound).
To produce a Simple Multi Rotation (in one dimension) you need to define a Shape to be rotated, an Axis of rotation and a Number of Times the shape must be rotated. Rotation Angle will be 2 * PI / NbTimes. Number of shapes in the resulting compound will be equal to NbTimes (if NbTimes = 1, the result will contain only the initial non-transformed shape).
TUI Command: geompy.MultiRotate1D(Shape, Axis, NbTimes)
Arguments: Name + 1 shape + 1 vector for direction + 1 value (repetition).
NB! There is another way to execute a Multi-rotation operation, which is currently accessible only via TUI commands: geompy.MakeMultiRotation1D(Shape, Dir, Point, NbTimes) which works in the same way, but the Axis is defined by direction and point.
Double Multi Rotation (in two dimensions) rotates the given Object around the given Axis on the given Angle a given Number of Times and multi-translates each rotation result. Translation direction passes through the center of gravity of the rotated shape and its projection on the rotation axis. Number of shapes in the resulting compound will be equal to NbTimes1 x NbTimes2 (if both NbTimes1 and NbTimes2 are equal to 1, the result will contain only the initial non-transformed shape). Reverse checkbox allows to set the direction of rotation.
TUI Command: geompy.MultiRotate2D(Shape, Axis, Angle, NbTimes1, Step, NbTimes2)
Arguments: Name + 1 shape + 1 vector for direction + 1 angle
NB! There is another way to execute a Double Multi-rotation operation, which is currently accessible only via TUI commands: geompy.MakeMultiRotation2D(Shape, Dir, Point, Angle, nbtimes1, Step,nbtimes2) which works in the same way, but the Axis is defined by direction and point.
Our TUI Scripts provide you with useful examples of the use of Transformation Operations.