Grasshopper

algorithmic modeling for Rhino

Hello, I'm quite new to Grasshopper and trying to find my way to build a definition that fills a defined polygon / shape with a multitude of circles (maybe of variable size within a range) that fill in the shape, something like the image attached.

Any indication where to start from? Thank you!

Views: 10206

Attachments:

Replies to This Discussion

for starters, you might be interested in this rhinoscript circle packing script -

http://blog.rhino3d.com/2008/05/circle-packing-rhinoscript-new-vers...
Thanks Evan,
I'll take a look at this script.
BTW, what's the relationship between Rhinoscript and Grasshopper, if any?
There is no relationship, nor will there ever be. The two will start to grow towards each other slowly as we are backporting all RhinoScript functions into the SDK, but you'll never be able to run a RhinoScript inside Grasshopper. There are very good and technical reasons about why this is impossible, but I won't bore you with those.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
There's a Visual Basic .NET circle packing example that you might also find useful here:
http://en.wiki.mcneel.com/default.aspx/McNeel/2DCirclePacking

You might find that more directly applicable since VB.NET can be used within Grasshopper while Rhinoscript can't (though you couldn't just paste it in, unfortunately!) There's also a nice discussion of the methodology used.
how about physics based definitions for circular packing? beyond 2D?

thank you for the references,

k
london
k.schertzing, can you explain what you mean? thanks
Hi,

Tobias Schwinn made a definition that packs circles in a shape:

http://tobesch.wordpress.com/2008/11/06/circle-packing-with-grassho...

Hope it works.
I'll take a look at this GH definition, thanks
Does anyone have any idea how you would change the vb.net definition in Tobias' GH file so the polyline boundary would be filled with circles of uniform radius instead of random?
I will make this. stay tuned...

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service