Hi, I would like to take the volume centroids of lots of boxes (closed solid polysurfaces).
When I select all the boxes (hundreds of them) and use VolumeCentroid, it gives me the centroid of their grouped bounding box. I need the individual centroid of each object selected. It’s easy enough if I’m just selecting a few boxes but I need to do it for hundreds of them.
For example, I’ve got some boxes:
When I select them all and use volumeCentroid I get their combined centroid, not what I want.
This is the result I want, a centroid for each selected volume.
The reason I can’t do it box-by-box is I have a lot of boxes.
I’m not sure if I need .rvb or grasshopper for this. If I do, that’s fine, just please be specific because I don’t have any experience using them.