Grasshopper

algorithmic modeling for Rhino

I have an irregular surface and an unlimited list of random sized circles (within a range of min and max diameters). I want to pack the surface with the most circles from this list.

I have downloaded a few circle packing scripts but none seem to solve to fill the surface with random sizes. I may have missed one somewhere but would very much appreciate some pointer in the right direction here.

TIA

Robb

Views: 2488

Replies to This Discussion

Hello Robb,

Not Kangaroo, but we worked on this a couple of years back that should do the job. See here:

https://github.com/johnharding/AgentSystem/releases/tag/0.2.1

Best,

John.

Many thanks John. I am playing around with this and it does seem to provide a path to solving my problem. Very interesting.

Is it possible to add some form of indicator when the result fails by overlapping any of the circles? Any thoughts as to how I might continue adding circles to the input count until such failure?

Robb

You might want to see this thread.

Thanks... I had seen that previously but never made it to page 2. That looks exactly like what I want but I am having difficulties with one of the components not delivering data to the solver. I do hope this can be resolved soon. Do you know if it works in Grasshopper v 0.9.0076?

Maybe the custom goal(C#) requires to set the referenced assembly locations to your own copy of KangarooSolver.dll

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service