"Hello everyone,
I’m working on a project where I need to pack a set of 200 circles inside a given boundary, which can be either a rectangle or a circle. The conditions are as follows:
- All circles must be fully contained within the given boundary.
- The circles must not collide or intersect.
- The primary goal is to achieve the
packing circles.gh (26.7 KB)
packing circles.gh (26.7 KB)
between the circles while maintaining a random distribution.
I also need to calculate the average distance between all the circles. I have modified a Grasshopper file I found here to help with this task, but I’m not entirely sure if I’m on the right track. Additionally, I’m unsure how to calculate the average distance correctly or verify whether this configuration achieves the minimum distance while keeping the distribution random.
Any assistance or guidance would be greatly appreciated!"