Remove faces in contact with non-manifold edges

Thank you Mauro. I tried your code and found interesting things about my model. Following is the total number of facets, manifold edges, non-manifold edges and boundary edges at different steps of the code.

Facets Manifold Edges Non-manifold Edges Boundary Edges
Original 388040 538460 0 87200
After geometryFilter 388040 538460 0 87200
After filler 420924 608186 6242 21432
After cleanFilter 420924 226084 174987 0
1 Like