Hi all,
I've found a handful of threads that describe how to either:
1) Pack circles of fixed radii so they're tangent but aren't contained within a boundary
2) Pack circles of varying radii within a boundary so they're actually tangent
OR
3) Pack circles of fixed radii within a boundary so they're nearby, but not actually tangent
However, for my purposes I need a definition that allows me to set discrete radii, pack circles that are actually tangent AND have all the circles contained by a boundary.
Using Kangaroo like in this example has gotten me closest to my goal, but I still haven't been able to constrain the circles to any boundary:
http://www.grasshopper3d.com/forum/topics/circle-packing-in-grassho...
Here's the slight adaptation of the definition explained by the link above that I'm working with:
Circle%20Packing%20Kangaroo.gh
I'd like the rectangle grouped at the beginning of the definition to act as a container for all the packed circles.
Any help anyone's willing to offer would be hugely appreciated- thanks in advance!
Hyungsoo Kim
Check this thread.
http://www.grasshopper3d.com/forum/topics/circle-packing-definition...
Nov 22, 2016
Yoann Mescam (Systemiq)
This may help (or not).
Kangaroo 2 needed.
PS: Hold ALT and drag circles with left mouse button if needed
Nov 23, 2016