generative modeling for Rhino
In response to this discussion:
http://www.grasshopper3d.com/photo/mesh
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)
Tags:
Permalink Reply by Martin Dembski on April 25, 2012 at 12:31pm Hi Isak,
here is my definition (I did it for my students of the A³ - Algorithmic Architecture Advanced seminar).
The first image I've done using this definition, a torus and random points on the torus.
The secound one is done with the same definition, a torus and points in the center line of the torus.
If your freeform shape is a closed Brep than it should work.
Hope it is like you expected.
Best,
Martin.
Permalink Reply by Isak Bergwall on April 25, 2012 at 12:35pm Thank you so much Martin! I will try it out later, I am sure it will work well!
Permalink Reply by Rafael Vargas on July 14, 2012 at 7:41am Hi Martin,
great work!
Ive been playing with your definition. It is super interesting, but
Is there anyway of developing the definition so that it does not have bounding geometries? I know the voronoi always makes a bounding box, even if you dont input it, but Im personally interested because your definition has the capability of making bubble like structures, therefore creating some kind of interesting spatial condition. But when inputing a custom bounding box, these 'bubbles' are cut by he bbox.a definition with such potential is confined into basic geometries. Does the definition have the capability of being more 'free form'?
sorry for being so especific, its just a concern to see if there is a way of further developing the def.
Permalink Reply by Thomas J. Mrokon on April 26, 2012 at 2:18pm Hi Martin,
the first picture shows best what I meant, but it seems that the geometry is built and cut off by the torus geometry. The original look of the shape is gone more or less. What I would like to achieve is a porous structure which is generated from the outside to the inside to maintain the original shape as close as I will define...
servus,
Thomas
Permalink Reply by ZZin on May 10, 2012 at 8:42pm A great working process,if i got the time, i will try it out! good stuff gents!
Permalink Reply by APTX4869 on March 5, 2013 at 10:11am Hi Juan-That looks great. I am wondering how you close the open end of the mesh to make it water tight for 3D printing? I'm trying to 3D print something like this but now clue how to turn it into a closed mesh/Brep. Thanks in advance.
Permalink Reply by stefano suarez on September 20, 2012 at 4:19am my rhino5 is no loading the meshdual component.
any idea?
Thanks
Hi Stefano, that's odd - It's working fine for me in the latest Rhino5 64bit with the latest GH.
Is the MeshDual.gha in your Special Folders>Components Folder ?
Permalink Reply by stefano suarez on September 20, 2012 at 5:03am yes it is there.
could it be the wrong GH version ?
It was written a while ago, so should work even with the previous GH versions. Your screenshot below suggests you still don't have this component installed though.
Try downloading the file below and dragging onto your grasshopper window:
(it should then show up under Mesh>Triangulation)
Permalink Reply by stefano suarez on September 21, 2012 at 12:17am it doesn't....
why is that?
Added by Mgeorgio 0 Comments 0 Likes
Added by Mgeorgio 0 Comments 0 Likes
© 2013 Created by Scott Davidson.
Powered by