algorithmic modeling for Rhino
Hello,
I had some research about how can we pack circles in a shape.
I am trying to pack circles in a shape using Knagoroo. Any idea on how it can be done? where I have per exemple a difined list of circles to pack in a shape (and not randomly circles), circles have to be tangent, no problem if circles go a bit outside of the shape in some places... but in condition that all circles will be tangent...
Tags:
get this and more "spot-on" examples would follow.
Thank you peter for this definition, it is really interesting and I liked the way it's writen (visually it helps in reading and understanding the definition, which is not really common for other defintions...)
Any how, I would like that internal circles to be tangent to each other as well, without having interseted disks..), is there a way to do this?
Thank you again for your help and for this definition
Get these 2 as well (I was in office where we use internal C# stuff for packing things, not Kangaroo).
And ... well ... the hand grenade: see warnings (this is not for the inexperienced ... but it's relatively safe to use it on open breps).
Load R file first
PS: Obviously NOT any collection of circles (out of the blue, that is) can been packed with the tangent goal - hope that you accept this rather obvious "limitation".
best
Get 2 more (read instructions for the V06: it's a bit interactive - until Havoc occurs, he he. NOTE: do not use the option for random radii on that one ... it's something WIP that I have in mind).
All in all:
IMHO (and if you have a "cooperative" surface) the good old V47 can cut the mustard.
Thnk you peter for all this help.
much appreciated.
I was trying all theses definitions that I found really intelligent... I am new in grasshopper and I think I have a lot to learn to be able to think in a grasshopper way... Too many components and too many plugins... and it is going to be even more I think...
Anyhow, I am afraid that all the definitions you just showed here do not answer my request, and I am not sure if developping one of the previous definitions can...
In all examples we are populating points in a rectangle or in a shape... well the nb of 2d populated points can be managed, but what if I want to attribute for each point a circle with a fixed area and that these circles will fit in a given shape
Ex: I want to populated 7 circles in a shape (S)
Circles / Area:
C1/A1
C2/A2
C3/A3
C4/A4
C5/A5
......
The closed shape (S) will be the boundary of these circles not to depass (like obstacles), and circles must be tangent inside the shape (S)....
I do not have any idea of how complicated this might be, but I think more complicated stuff were resolved in grasshopper.
Again thank you for your time and consideration
Regards
Well ... give this a spin: https://www.google.gr/url?sa=t&rct=j&q=&esrc=s&sour...
BTW: Switching from K1/K2 to code based solutions: Packing algos are quite important these days for minimizing the waste when cutting panels etc etc. Therefore is quite rare to find the related code [i.e. a highly efficient one, that is] - but since McNeal provides the above [I haven't tested it, mind] ... try it.
I have used one of your definition that you provided previously, I have somehow adapted so I can manage the nb and size of packed circles... But I did not succeed to make the circle tangent...
Do u mind if you take a look please on this?
Thank you in advance
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by