I was hoping if there is any way to check for equilibrium of geometry within Rhino… I haven’t tried anything yet, so this is more of a “what direction would you take?” thread.

I have multiple models of stacked boxes. Assuming the union between boxes is unbreakable, how can I check if the geometry will fall or stay static? The first thing that came to mind was Kangaroo, but I searched a little bit and didn’t see any examples of it being used for equilibrium purposes…

So it’s a gravity vs. balance problem? If all the boxes are the same size, you can take their centres and just average those out to get the centre of mass for the entire construction.* If that centre of mass projected onto the ground is inside the convex hull of the points where the shape touches the ground, it shouldn’t fall over.

* I think you can. Maybe averaging is not the correct operation though. In any case, Rhino does allow you to combine/calculate the centre of mass for a collection of objects.

If you want to watch it fall over, you can do it in Kangaroo too like this, but I agree with David - it’s far simpler to just check the center of mass. Here you have both so you can check they match.

Also - as David says, if all cubes are the same size, you can just take the simple average of their centers to get the center of mass for the whole shape, but if they are different sizes or densities you would take a weighted average of the individual center points, weighting each one by the mass it represents.