fill_holes
Fixes open holes in a mesh.
Signatures
- fill_holes()
Details
On importing external meshes, solids may be created that are not a closed shell boundary representation (i.e. not "watertight"). The fill_holes modifier detects and fixes those openings. The function adds a minimal surface into each opening.
Member has_holes() of the solid data type can be used to test whether a solid contains any holes.
Example
make fill_holes() >> mesh( "bunny.stl" )

Filling the notorious holes on the Stanford Bunny (seen from below). The holes have been marked in green.