algorithmic modeling for Rhino

In response to this discussion:

I am posting my definition for generating an open foam mesh.

(I didn't post back at the time because there were some troubles with weaverbird back then and I was having to use some ugly workarounds, but now that is all fixed)

To sum up the approach -

take a random cloud of points

generate the 3d voronoi

scale the edges of the cells towards their centres, and also towards the centres of the faces.

connect these 2 sets of scaled edges with mesh quads and join

cull some of the outer faces

subdivide and smooth with weaverbird

(In the video there were some other variations on the smoothing/relaxation, both of the initial point positions and the final mesh, using hoopsnake and/or kangaroo)

Views: 194812


Replies to This Discussion

The surface should be internalized in the surface parameter, you don't need to reference one from Rhino unless you want to change the shape.

The shape you posted already has its naked edges coplanar to its bounding box. If you cap it there won't be any naked edges.

When you open the file it should work without you having to change anything, is it working?

Ok I see. Well I open my rhino file and then load grasshopper and open the file you gave me, however in doing this it loads a grasshopper IO with 4 messages saying i need  a newer version an it doesn't show what you appear to generate on the image you posted? :(

The error is only because I'm using a newer version (I think it's still not available to download) but the file should open fine with your version.

If you don't see anything but there are no red or orange components, check if the last component has its preview disabled and check if the Grasshopper document's preview is set to don't display geometry (the 3 cylinder buttons at right hand side of the toolbar).

Yes I got it! Works fine now. Thank you so much and sorry for bothering you so much!

Great work! :)

can you bring your opinion with a definition to expression? :D

Not sure if bad English or been watching too much Spartacus.


Either way I think I know what you mean, here you have.

Next person will have to send me some bitcoins.


Vicente, bad English! he he

Hello everyone,

Still a beginner to rhino and its extensions but it seems that grasshopper can really ease my work a lot.

I've been searching for a way to design a voronoi wall just like the ones from the first two uploads. The last trials ( third upload) i did with Mateusz Zwierzycki definitions. I also tried with 2D voronoi before and some other definitions but the main problem is that it is enclosing the frame in a rectangle and i am searching for the continiuos effect of the voronoi which is to say i don't want to create four independent voronoi walls and then connect them but one flowing frame as shown on the references. Also i would really love to have greater control over the points since with the skeletalVoronoi definition it's kind of hard to create the exact space that i want. 

Thank you in advance guys :) I hope i'm asking for something very general and the problem is my beginner level in grasshoppering

Mariela. The voronoi in the images you want to achieve is 2d. That has been wrapped around the facade, there is no internal members. It will be far easier for you, beginner or not, to replicate it using 2d voronoi component.

Yeah, thanks a lot Nick. Actually i already figured out how to solve the problem. 2D voronoi is definitely a better solution than the 3D one :) 

hi mariela, could u do it? i want to do the same and it would be great if u can help me out,

Hi guys, I`ve been trying this  method but for a flat voronoi pattern (2D) and tried to make these meshes along the curves that the 2d voronoi drew. To get this kind of shapes I need the end points of the curves to get the meshes so  I`ve extruded and scaled the cell and outline of them but unfortunately there is something wrong in my definition, i get the meshes on the ground and top of the cells but not on the sides
I know that Im pretty close just i dont know where is my mistake, thanks in advance






  • Add Photos
  • View All

© 2023   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service