Fill a volume with spheres

I’d like to fill spheres into the hollow walls of volume.
The spheres to fit into the walls.

Here is a simplified mesh model that i manually created. Just to test it out, I have only done one wall here, but eventually every wall needs to be filled.

However I’d like to do this in grasshopper.

I found a video where they show how to map a pattern on a surface.

However since the model is a triangular mesh. I’m not sure how to detect the hollow walls. of a mesh model. I need to fill spheres only into the walls.

Can someone give any pointers or clues on how to get this done.

Hi @tomasamuller,

If you search the forum for Sphere Packing you will find good resources for this. Kangaroo is the tool and Daniel Piker is the main man…