Archived discussion

How to get rid of holes completely

pythonOCCThu, 02/16/2023 - 18:481 reply

Browse this forum
QuestionAuthor

Hi, how do I get rid of a hole completely? I tried fusing it with a shape that has the same geometry but the edges of the hole are still there. I want an approach that removes it entirely as if it was never there.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Hi,
You can use ShapeUpgrade_UnifySameDomain

here is an example code:
https://github.com/tpaviot/pythonocc-demos/blob/master/jupyter_notebooks...