Does anyone here know how to “compact pack” circles within this shaped hemisphere so that the compact packing leaves 3-sided spaces between the circles and between the circles and the boundary edge. I’d like there to be no gaps between the circles or between the circles and the outer edge and no overlap of circles or circles and boundary?
I’d like the range of the circle sizes to be about 8.5 to 22 inches in diameter but more importantly need the circles compact packed without gaps and overlaps regardless of size.
We’ve tried “CircleFill_Dome_tangentboundary.gh”, “Remeshing by color.gh”, “kangaroo gravity.gh”, “bouncy solvers.gh”, and “cornerpack.gh” and “mesh-mesh.gh” with no luck.
Can you suggest a way this can be achieved using grasshopper or other rhino plugin?
Thanks so much for the reply. I went ahead and rebuilt the geometry with all edges cleaned up (at least I believe) however the Grasshopper script seems to be failing during the offset curve process. Any ideas as to what that might be?
The script also is failing to pack the circles tangentially to each other. There seems to be a lot of overlaps as well as areas like in the attached picture where there are large gaps. Is that something that can be fixed when the offset command is fixed or is a different approach needed?
Posting this in regards to a reply on my previous post on this topic (Compact Packing Circles On Complex Surface - Grasshopper - McNeel Forum). In using the referenced script from Daniel, there still seems to be a few irregularities in the packing of the circles. The script also seems to be failing during the offset curve function so I’m wondering if this has something to do with it. Ultimately, the goal is to have the circles all be sitting tangent to each other rather than overlapping and/or spaced out like in the attached photo. I attached the model as well of the frame so if anyone has any tips it would be greatly appreciated!
sorry for asking this very stupid question, but your screenshot looks like the starting situation before the simulation even began have you double-tapped the toggle to “True”?
[edit] why aponening a new thread if you already have the other one you have yourself linked to this conversation?
You were totally right, in the attached screenshot I forgot to toggle the “True” button. This resolved the issue of the overlapping circles and the gaps however along the boundary edge of the Brep/dome it is failing to recognize the line as a hard edge. Right now the script is plotting circles along that edge rather than having them sit tangent to it. Would you know any way to fix this or do I need to rework the script?