Packing Irregular Geometry With Galapagos

Hi,

If this is the wrong place for this I apologies.

So I've received a lot of help on this site, and so I thought I post this up in case anyone finds it useful, and if anyone has any ideas how to improve it further.

I had a lot of trouble finding a method of packing geometry that wasn't uniform. This script is a continuation of the studies done by designcoding. This is the link to their siteĀ (If this is a well-known person I apologize I've been trying to find an actual name to attribute it to, but couldn't see one)

http://www.designcoding.net/packing-objects-with-galapagos/

Basically the major changes I did was add in David's code to link the multi-sliders to the rest of the code and then instead of using a bounding box volume to force the geometry closer I used the distance between brep vectors. Reason being that when using the volume, the geometry didn't move closer to each other, just to the tightest point, which often left large gaps. The new script isn't perfect but I think its a slight improvement and playing with the settings gets you pretty close.