Hi there,
I am working on rhino 7 . I have imported model which has disjoint polysurfaces as one open polysurface. also grasshopper detects this geometry as one open polysurface. not able to get individual area for object.
The command is called CreateRegions. Rhino V7 does not have the option to delete the originals, i.e. it makes a copy of the individual polysurfaces contained in the disjoint polysurface and leaves the original. The V8 WIP does have this option.
Hi Ranjit, see if this helps - @chuck just pointed out a function in Rhino Common that does, I think, exactly what you want. SplitDisjointBrep.py (917 Bytes)
To use the Python script use RunPythonScript, or a macro:
_-RunPythonScript "Full path to py file inside double-quotes"
Hmm, if you run the script on his objects it produces 3 non-manifold polysurfaces instead of the 6 manifold polysurfaces I expect. CreateRegions does correctly produce 6 closed manifold polysurfaces but leaves the original disjoint object.
Also @pascal, @chuck, in the WIP, the DeleteInput=Yes option does not actually seem to be working (on this file at least).
Right… I did not notice there was a Rhino file posted but yes, it can return non-manifold-but-connected components, so yeah… not quite it, in this case.