Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I've been trying to create a voronoi pattern on a curved surface, and ive seen a couple of example here in the forum, but none of them seem to work, I tried one of David's example, but although it was very helpful, something strange happens when I try to use it in my example (if you plug in the points into the voronoi component a lot of chaotic lines appear, 

Im thinking maybe it's something easy like a flatten or something like this but seeing as im not very familiar with grasshopper could someone please help me out??

Thanks so much 

Attached are both files :) 

Views: 8570

Attachments:

Replies to This Discussion

Hey Michael,

I like your version. I solved it this way. Maybe the cell amount is better to controll this way.

Best Regards

DeDackel

Attachments:

and less computation :), although the 3d voronoi shape is efficient on closed rounded breps and surfaces that curve over themselves.

yeah I thougth about overcurving as well. origanlly the voronoi is the intersection of cones. They should be generated on surface uv planes and then intersected. mhhh have to think about :-)

To avoid having to calculate intersections you could also triangulate, then take the dual.

Using triangle circumcenters gives the true Voronoi in the plane, but barycenters cause less problems with skinny triangles at the edges.

Because the Delaunay is planar, this wouldn't work with surfaces that curve over, but you could also just mesh the surface directly and take the dual of that.

I tried this one, but the result was not good. some triangles leave the surface like searching for a cp. What do you mean with mesh the surface directly?

Best Regards

DeDackel

Do you mean like what I was referring to about circumcenters vs barycenters (the C option of the MeshDual component) ?

circumcenters:

barycenters:

by meshing the surface directly, I just mean turning the surface into a triangulated mesh in rhino or gh and then taking the dual of that.

yea I was going to say a mesh is a better idea :)

Thanks guys!! :) That worked exactly how I needed it to work!!!

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