SALOME documentation central

Multi Translation


To produce a Multi Translation in the Main Menu select Operations - > Transformation - > Multi Translation


This operation makes several translations of a shape in one or two directions.
The Result will be one or several GEOM_Objects (compound).


To produce a Simple Multi Translation (in one direction) you need to indicate an Object to be translated, a Vector of translation, a Step of translation and a Number of Times the Object should be duplicated.
TUI Command: geompy.MakeMultiTranslation1D(Shape, Dir, Step, NbTimes)
Arguments: Name + 1 shape + 1 vector (for direction) + 1 step value + 1 value (repetition).

mtrans1.png
multi_translation_initialsn.png

The initial object

multi_translation1dsn.png

The result of a simple multi-translation


To produce a Double Multi Translation (in two directions) you need to indicate an Object to be translated, and, for both axes, a Vector of translation, a Step of translation and a Number of Times the shape must be duplicated.


TUI Command: geompy.MakeMultiTranslation2D(Shape, Dir1, Step1, NbTimes1, Dir2, Step2, NbTimes2), where Shape is a shape to be translated, Dir1 is the first direction of translation, Step1 of the first translation, NbTimes1 is a number of translations to be done along Dir1, Dir2 is the second direction of translation, Step2 of the second translation, NbTimes2 is a number of translations to be done along Dir2.
Arguments: Name + 1 shape + 2 vectors defining the direction + 2 step values + 2 values (repetitions).

mtrans2.png
multi_translation_initialsn.png

The initial object

multi_translation2dsn.png

The result of a double multi-translation

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


Copyright © 2007-2008 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