algorithmic modeling for Rhino
thanks for your help
i wonder if the bounding shape can only be rectangle ?
thanks
well yes, you need to calculate your voronoi using a rectangular bounding shape, but it's quite easy to trim any curves outside of any new bounds you'd like to use.
Hi Ola,
I tried to implement the script you shared above with my bounding curve. Do you know why the Voronoi component won't work?
If you could take a moment to look at my situation, that would be most appreciated
Hej Leonardo,
Yes, there are three things you need to change:
1. The bounding curve must be a *convex* polyline, as it is a voronoi cell itself.
2. Right click the last BBox component and change it to "Union Box". That box is the rectangular boundary of the top-level voronoi diagram.
3. There are a couple of errors/assumptions in my definition; the original boundary corner points need to be included in the top level BBox and the center of scaling of that BBox should be its own center, not 0,0,0.
You could probably get nice cobwebs if you start with the voronoi diagram you get by taking the corner points of yout shape and then treat it as a network of elastic threads in the Kangaroo plugin.
Thanks for your help, Ola! It was greatly appreciated!
What I am trying to achieve is in fact in the link video below.
I have decided to move away from the voronoi and instead work with separate curves to form a grid I desire more, and offset these to form minimal surfaces running it through Kangaroo.
Do you know why this happening?
Thanks for your help again.
Best regards
Leonardo
For now yes. The constraints on the boundary are the same as the constraints of individual voronoi cells. It has to be planar, consist of only linear segments and be completely convex. Even co-linear segments are not allowed.
I could make it work on convex polylines but until I do you'll have to use the trim post-process approach.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
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