Kangaroo collision on mesh,

I need to know in grasshopper how to fill a mesh with spheres in one project.
I’ve tried to post a lot of discussion on this web as I see it.

For example, if I try to house a sphere of random size in this vessel, is there a way to contain it without the sphere passing through the wall of the vessel?
I understand the theory of collision between spheres.

I’m sorry for my poor English.

200520_kangaroo.gh (88.9 KB)

Try this definition:

Thank you. Daniel.
I am a beginner in programming.
So I don’t know the principle or theory of C # components.
I want you to tell me.

Hi @tpishida6447,
You don’t need to know C# to use this definition. You just need to tell it where the Kangaroo file is.
When it opens the script component will probably be red. Right click it and choose ‘Manage Assemblies’

Then in the ‘Referenced Assemblies’ box on the left, click the one that is there and press delete. Then ‘Add’, and in the file browser navigate to:
C:\Program Files\Rhino 6\Plug-ins\Grasshopper\Components if you are using Rhino 6
C:\Program Files\Rhino WIP\Plug-ins\Grasshopper\Components if you are using the Rhino 7 WIP
and select KangarooSolver.dll then click OK