To produce a Multi Translation operation in the Main Menu select Operations - > Blocks - > Multi Transformation
This operation makes several translations of a block (solid) in one or two directions depending on the arguments specified by the user.
The Result in both cases will be a GEOM_Object.
Simple Multi Transformation (in one direction).
TUI Command: geompy. MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes), where Block is a block to be transformed, DirFaceID1 is an ID of the face which defines the first direction of transformation, DirFaceID2 is an ID of the face which defines the second direction of transformation, NbTimes is a number of transformations.
Arguments: Name + 1 hexahedral solid + 1 or 2 faces + 1 integer (number of blocks).
Double Multi Transformation (in two directions).
TUI Command: geompy. MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V, DirFaceID2V, NbTimesV), where Block is a block to be transformed, DirFaceID1U and DirFace1V are IDs of the faces, which define directions of the first transformation, DirFaceID1V and DirFaceID2V are ID’s of the faces which define directions of the second transformation, NbTimesU and NbTimesV are numbers of transformations.
Arguments: Name + 1 hexahedral solid + 2, 3 or 4 faces + 2 integers (number of blocks).
Our TUI Scripts provide you with useful examples of the use of Blocks Operations.