# Generating complex objects

Generation operations in GEOM are used to create advanced geometrical objects (3D elements). They are:

- Prism

- Revolution

- Filling

- Pipe

To use generation operations:

In the main menu select New Entity > Generation.

### Prism

Description: Creates an extruded shape.

Result: GEOM_Shape (edge, face, solid or compsolid).

TUI Command : geompy.MakePrism(GEOM_Shape, PointStruct, PointStruct)

Arguments: 1 shape (vertex, edge, wire, face or shell) serving as base object + 1 vector (for direction) + 1 value (dimension).

Dialog Box:

Example:

Revolution

Description: Creates an extruded shape by revolution.

Result: GEOM_Shape (edge, face, solid or compsolid).

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

Arguments: 1 shape (vertex, edge, wire, face or shell) serving as base object + 1 vector (for direction) + 1 value (angle).

Dialog Box:

Example:

Filling

Description: Creates a curving face using several curves.

Result: GEOM_Shape (face).

TUI Command: geompy.MakeFilling(GEOM_Shape, Short, Short, Double, Double, Short)

Arguments: 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number of iterations, 2D tolerance, 3D tolerance).

Dialog Box:

Example:

Pipe

Description: Creates an extruded shape.

Result: GEOM_Shape (edge, face, solid or compsolid).

TUI Command: geompy.MakePipe(GEOM_Shape, GEOM_Shape)

Arguments: 1 shape (vertex, edge, wire, face or shell) serving as base object + 1 shape (edge, face or shell) for definition of the path.

Dialog Box:

Example: