Determining disjoint meshes islands

OK, maybe “disjoint” is not the best term, because what I’d ultimately like to know if a mesh is composed of various islands or one unbroken chunk.
Maybe the picture below will explain what I mean.


disjoint meshes.gh (15.2 KB)

Using Disjoint Mesh just decomposes it back into its four original components, where I’d like to see the answer be two in this case…

Instead of joining your 4 mesh boxes you could do a mesh Boolean Union then count the resulting pieces.

1 Like

Thanks Daniel. I knew the answer would probably be so simple I’d regret asking.