Using transformation operations

In GEOM there is a set of operations allowing to transform the initial geometrical object into other objects, which will be also created. These operations are

 

 

 

Translation

 

Description: Makes a translation of a shape.

 

Result: GEOM_Shape.

 

TUI Command: geompy.MakeTranslation(GEOM_Shape, Double, Double, Double)

 

Arguments: 1 shape + 3 values (coordinates).

 

Dialog Box:

 

 

Example:

 

 

 

Rotation

 

Description: Rotates the initial shape.

 

Result: GEOM_Shape.

 

TUI Command: geompy.MakeRotation(GEOM_Shape, AxisStruct, Double)

 

Arguments: 1 shape + 1 edge  + 1 angle.

 

Dialog Box:

 

 

Example:

 

 

 

 

Mirror

 

Description: Symmetrical copy of a shape.

 

Result: GEOM_Shape.

 

TUI Command: geompy.MakeMirrorByPlane(GEOM_Shape, GEOM_Shape)

 

Arguments: 1 shape + 1 face.

 

Dialog Box:

 

 

Example:

 

 

 

Scale

 

Description: Creates a scaled shape basing on the initial shape.

 

Result: GEOM_Shape.

 

TUI Command: geompy.MakeScaleTransform(GEOM_Shape, PointStruct, Double)

 

Arguments: 1 shape + 1 vertex + 1 Scale Factor.

 

Dialog Box:

 

 

Example:

 

 

 

 

Multi-Translation

 

Description: Makes several translations of a shape in one or two directions.

 

Result: GEOM_Shape (compound).

 

TUI Command:

 

Arguments:

 

Dialog Box:

 

 

 

Example:

 

One direction:

 

 

 

Two directions:

 

 

 

 

Multi-Rotation

 

Description: Creates several rotated geometrical objects in one or two directions basing on the initial geometrical object.

 

Result: GEOM_Shape (compound).

 

TUI Command:

 

Arguments:

 

Dialog Box:

 

 

 

Example:

 

One direction:

 

 

 

Two directions: