Kangaroo2 License and/or Sphere-Mesh collision

I’m working on a new plugin for general geometry processing, which among other things, includes packing different size spheres in a volumetric domain.

Basically, @DanielPiker 's custom definition in this topic fits what I’m trying to do perfectly. He previously mentioned in 2018 that sphere-mesh collision for different sized spheres and a mesh would be included in the next release, but I don’t think that has happened (?)

That being said, as the solver .dll is readily accessible, it’d be easy for me to integrate a modified version of the script he provided in my own plugin, but I’m having trouble finding any information on the license/allowable use of the solver in other packages. I’d like to make sure that it’s ok to do so, and what type of conditions there are if any. Otherwise I’ll figure out alternative approaches, or just direct users to compromise with the built-in SolidPointCollide component where half of the sphere is allowed to intersect the user defined mesh.

Picture 1 is using Daniel’s script, Picture 2 is using the built-in SolidPointCollide component


Hi @Keith4

Yes, you can reference the Kangaroo solver and integrate that scripted goal, including in commercial plugins, with no special conditions. A mention that it uses it somewhere in the release notes is always appreciated though.

1 Like

Wonderful, thanks Daniel.

We’ll be beta-testing the plugin during a design workshop in the coming weeks, but the code base will be released as open source soon after, and we will definitely make it clear that the Kangaroo solver is used in packing components.