@Trav, thanks for pushing out the ShrinkWrap command! I’ve been playing with it earlier today and wanted to share some initial impressions.
Here is the test file for you to play with as well. It’s a fairly typical urban model with messy geometry which needs to be cleaned up and closed for a downstream CFD simulation. Forum_City.3dm (4.9 MB)
Some of these will never close because their closed volumes cant be determined.
For example run FillMeshHoles on this object. It’ll never fly. This is why the mesh is eroding in this area, because there’s 0 underlying thickness in that area.
For me to understand the logic better, I marked a new cluster of meshes in cyan. It also doesn’t close properly with FillMeshHoles but ShrinkWraps just fine. What is the difference between the yellow and the cyan geometries?
Is there any way for me to access this command programmatically? Ideally I’d call it from Rhinocommon or headless from the command line to run over hundreds of selected objects individually.
We just barely have the command running. We’ll be working on grasshopper and other SDK access after. Command line macro access should be working atm.
Adding the plane lets it create boundaries to assume closed solids from. When it can figure that out it’ll discard those interior surfaces. Otherwise it’ll try to preserve some of those interior wall features as walls in some cases where a solid volume cant be determined.