Version: 6.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
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. 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.

neo-mrot1.png
multi_rotation1d1.png
The initial object
multi_rotation1d2.png
The result of a simple multi-rotation


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

  • 1 value (repetition) + 1 step value + 1 value (repetition).

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.

neo-mrot2.png
multi_rotation2d1.png
The initial object
multi_rotation2d2.png
The result of a double multi-rotation

Our TUI Scripts provide you with useful examples of the use of Transformation Operations.

Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS