# Suppress Holes

To Suppress Holes in the Main Menu select Repair - > Suppress Holes.

This operation removes holes on a selected shape. This operation is available in OCC Viewer only.

Result: GEOM_Object.

TUI Command: geompy.SuppressHoles(Shape, ListOfWireID), where Shape is a shape where holes must be removed, ListOfWireID is a list of wire sub shapes ID’s. If it is empty, then all holes are removed.

Arguments: Name + 1 shape + Wires which should be removed.

Remove all holes checkbox allows to fill all holes of a definite shape.

Detect button allows to display the number of free boundaries in your shape:

Example:

Our TUI Scripts provide you with useful examples of the use of Repairing Operations.