Hello,
I am struggling in finding a good way/workflow to remove the internal/overlapping faces of a mesh like the one in the Fig. 1. The mesh represent an urban block where several buildings are touching each other. However many of them share part of walls which I would like to remove.
What I would like to have is just the exterior envelope of the urban block, without the internal faces (or part of faces).
At the moment I’m trying with an approach based on running a quick view-analysis (with LBT) which uses a test point at the center of each mesh-face and, if the result for a mesh-face is 0 (meaning no view to the scene/sky), it culls it out.
It works ok, however, depending on the orientation and the dimension of the triangular face, the center of the face might be inside of the mesh, thus resulting in the cull of the entire face (Fig. 2).
Do you have any solution for how this could be solved?
You find attached a simple file with the internalized geometry of the urban block.
Thank you in advance for your help,
Matteo
Urban_block_mesh.gh (28.8 KB)