Feature Request: Option to use AreaCentroid by individual object

It would be useful to have a setting on AreaCentroid where you could do each object individually, rather than the center of all of the objects together.

I think this is the default behavior in Rhino 8.

You also have a few options:

Heteroptera has a “Center” component that does what you are requesting if you don’t mind using plugins.

Separately, an extra step but you can also use a bounding box or rectangle and toggle that to Union to return a single center for all.

Orange dots are the center points per instance of the white boxes, blue dot is the center point for the whole cluster of white boxes.

Thanks for these solutions Michael! I also wanted to return to this thread with a script from ChatGPT which adapts the AreaCentroid command to work on individual objects, in case anyone else finds this useful.

IndividualAreaCentroid.py (1.1 KB)

7 months later :question:

What are you talking about? The Area ‘C’ (Centroid) has always worked that way.

Left is how it currently works with all three objects selected at once, right is how the script works. I hadn’t found a way to do this without Grasshopper, unless there’s an option I’m not seeing somewhere… Useful for if you have a lot of objects (say forty or fifty) and need all of the centerpoints.

So now you can do this in one keystroke rather than individually selecting and using AreaCentroid on each object

So this isn’t a Grasshopper question, eh? Are you in the wrong forum for that question?

Ah, you’re right. It looks like it was categorized as GH, I’ll repost in the appropriate place.