Parametric House
Parametric House · Digital File

Mesh Cap Holes

In this Grasshopper Python script, you can close mesh holes and extract the cap faces separately.

Mesh Cap Holes

About this file

In this Grasshopper Python script, you can close mesh holes and extract the cap faces separately.   PH SCRIPT 016 / MESH CAP HOLES WHAT IT DOES Finds naked-edge loops on an open mesh and fills every loop it can. Caps are triangulated and joined to the original mesh vertex indices. INPUT Mesh One open mesh, including triangle, quad and Ngon meshes. OUTPUTS Capped Mesh One mesh containing the original faces plus new cap faces. Caps Only the newly added cap faces, as a separate mesh. QUICK TEST The built-in example has an open top and a missing side panel. Connect your own mesh to replace it; no settings are required. NOTES Every closed naked-edge loop is eligible, including the outer edge of a single open sheet. The result is not guaranteed to be a solid if boundaries are broken, non-manifold or self-intersecting. This does not weld nearby but separate vertices. Run Mesh Weld Vertices first if seams are split. The input mesh is never changed. PARAMETRIC HOUSE / PH SCRIPTS