Multi Rotation

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

TUI Command: geompy.MultiRotate1D(Shape, Axis, NbTimes)

Arguments: Name + 1 shape + 1 vector for direction + 1 value (repetition).

 

There is a TUI-only command 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. 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 + 1 value (repetition) + 1 step value + 1 value (repetition);

 

There is a TUI-only command 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.