I’ve been researching about circle packing and now I am trying to put it in practice in a University architecture project.
I’m working with a script I took from two different forums I stumbled upon because I want to have a circle packed pattern through an image but within certain limits.
These are two posts by Daniel Piker’s I’ve found in this forum. Daniel if you see this post, please, help me!
I used his script and tried to adapt it to an image based script but I now I can’t limit the circles inside my curve input (only the center points are inside i guess). I tried to use a collide button that was on Daniel’s script before but I can’t do it. Does anyone have the skills to do it?
Here is a screenshot of the script and geometry, the rhino file and the gh file.
Thank you in advance!
Thank you Daniel, you’re the man! Seriously, I really appreciate it, I still can’t believe you found this post eheh. This new feature simplifies everything!!
Only now my Solver isn’t working, It’s probably easy to solve, I guess I’m not so good at this… Is it missing something? I think I connected every thing right.
Yes, finally i do it.
Thank you for your help.
__ Then I was trying to get a Voronoi from a Portrait, to send to lasercut. (For some reason, it had complicated me, but yes, actually attaching the image was not that difficult). I have been following this tutorial and Delrieu’s as well. __
hello Daniel,
I was looking at the gh file, the diferent radius circles (the rhino image)
It is so intresting!!!
but how can you change the image and use another one insted of the rhino.
There is no image sampler in the script!
The input seems to be a geometry, but the cirrcle are positioned based on an image???
Please can you tell me how to use the same script for another image?
Thank you !|
There’s no way to internalize an image file in a grasshopper document, so in the first example I internalised the coloured mesh.
The file in the post I just linked shows how to create a coloured mesh from an image file, but you’ll need to reference an image file from your own computer.
Hi @DanielPiker, i was trying my best to get an exact circle packing as you did with the phone case, i tried to recreate it as kind of a wallpaper, but it didn’t work out as i hoped, so here i am…
I don’t know if having sharp edges could be a problem here or if its in general hard for the algorithm to detect the cutout windows as part of the boundary?
Could you take a look and tell me what is wrong in the script?