To Suppress Holes in the Main Menu select Repair - > Suppress Holes.
This operation removes holes with free boundaries on a selected shell or face. This operation is available in OCC Viewer only.
The Result will be a GEOM_Object.
TUI Command: geompy.SuppressHoles(Shape, ListOfWireID), where Shape is a shell or face, where holes with free boundaries 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.