# Repairing geometrical objects

Repairing operations are used for adjustment and modification of created geometrical shapes. The are:

- Sewing

- Orientation

- Suppress faces

- Suppress hole

To apply repairing operations:

In the main menu select Repair submenu.

Sewing

Description: Sew several shapes.

Result: GEOM_Shape.

TUI Command : geompy.MakeSewing(ListOfIOR, Double)

Arguments: 1 or more shapes + 1 value (sew precision).

Dialog Box:

Example:

Orientation

Description: Changes the orientation of the faces of a shape.

Result: GEOM_Shape.

TUI Command: geompy.OrientationChange(GEOM_Shape)

Arguments: 1 shape (face, shell, solid or compsolid) + 1 value (vector length).

Dialog Box:

Suppress faces

Description: Suppresses a face of a shape.

Result: GEOM_Shape (ListOfGeomShapes).

TUI Command: geompy.SuppressFaces(GEOM_Shape, ListOfID)

Arguments: 1 shape + 1 selection of a face (Local Context).

Dialog Box:

Example:

Suppress hole

Description :

- 1st Constructor : Suppresses a hole in a shape.

- 2nd Constructor : Suppresses a hole in a face.

Result: GEOM_Shape.

TUI Command:

geompy.SuppressHole(GEOM_Shape, ListOfSubShapeID, ListOfSubShapeID, ListOfSubShapeID)

geompy.SuppressHolesInFaceOrShell(GEOM_Shape, ListOfSubShapeID)

Arguments:

- 1st Constructor : 1 shape + 1 selection of 1 face (Local Context) + 1 selection of a wire in the selected face + 1 selection of the back face (if the hole is traversing).

- 2nd Constructor : 1 shape (face or shell) + 1 selection of a wire in a face.

Dialog Box:

Example: