# Building geometrical objects

In GEOM you can create basic and advanced geometrical objects (2D & 3D elements) using the following building functions:

- Explode

- Edge

- Wire

- Face

- Shell

- Solid

- Compound

To use building functions:

In the main menu select New Entity > Build submenu.

Explode

Description: Returns a list of subshapes (vertices, edges, wires etc.) of the given shape.

Result : GEOM_Shape (ListOfGeomShapes).

TUI Command:

- geompy.SubShape(GEOM_Shape, Short, ListOfSubShapeID)

- geompy.SubShapeAll(GEOM_Shape, Short)

Arguments: 1 SHAPE + 1 type of SubShape.

Dialog Box:

Edge

Description: Creates an edge.

Result: GEOM_Shape (EDGE).

TUI Command: geompy.MakeEdge(PointStruct, PointStruct)

Arguments: 2 vertices.

Dialog Box:

Example:

Wire

Description: Creates a wire.

Result: GEOM_Shape (WIRE).

TUI Command : geompy.MakeWire(ListOfIOR)

Arguments: List of shapes (VERTEX, EDGE or WIRE).

Dialog Box:

Example:

Face

Description: Creates a face.

Result: GEOM_Shape (FACE).

TUI Command: geompy.MakeFace(GEOM_Shape, Boolean)

Arguments: 1 wire.

Dialog Box:

Example:

Shell

Description: Creates a shell.

Result: GEOM_Shape (SHELL).

TUI Command: geompy.MakeShell(ListOfIOR)

Arguments: List of faces having connected edges.

Dialog Box:

Example:

Solid

Description: Creates a solid - closed geometrical 3D element.

Result: GEOM_Shape (SOLID).

TUI Command: geompy.MakeSolid(ListOfIOR)

Arguments: A closed shell or a list of shells.

Dialog Box:

Compound

Description: Creates a compound.

Result: GEOM_Shape (COMPOUND).

TUI Command: geompy.MakeCompound(ListOfIOR)

Arguments: List of shapes.

Dialog Box:

Example: