Grasshopper

generative modeling for Rhino

This definition approximates a shrink wrap for generic brep geometry.

There are two steps:

The first step creates a mesh from a bounding box and drags each vertex to the closest point on the brep. Andrew Heumann offered a similar definition back in December (http://www.grasshopper3d.com/video/shrinkwrap-with-grasshopper?xg_s...)

The second step takes the original vertices of the mesh and treats them as anchor points (since they are now 'attached' to the geometry). The mesh is then triangulated and subdivided and a pressure value is placed on the new faces with Kangaroo.

 

Uses Kangaroo and Weaverbird.  This is still in development, so please let me know about any issues with the definition.

 

Video: http://www.grasshopper3d.com/video/shrink-wrap-with-grasshopper-and...

 

Files:

ShrinkWrap.3dm 

ShrinkWrap.gh

 

Views: 1022

Tags: Kangaroo, Pressure, Relaxation, Shrink, Surface, Wrap

Comment

You need to be a member of Grasshopper to add comments!

Join Grasshopper

Comment by Wei on May 11, 2012 at 7:05pm

some parts of the grasshopper cannot see clearly. I find it hard to figure out. Can you share the grasshopper file here? Thank you !

Comment by Erick Katzenstein on May 5, 2012 at 7:11pm

The mesh is probably not baking because it's invalid (see posts below).  If you update to the newest version of Weaverbird, it should work.

Comment by Meria on May 5, 2012 at 5:10pm

Thanx Erick,

would the results be same if the brep to be wrapped is a set of geometries imported from 3dsmax or sketchup???

also....... is it just my system or the eventual wrap can not be baked?

Comment by Erick Katzenstein on May 5, 2012 at 12:09pm

Meria,

The negative pressure is the only function right now that makes the wrap tighter.  Since the bounding box is connecting to the nearest point on the geometry, the wrap will not attach to concave surfaces.  You could try to subdivide the mesh again and then drag the new vertices to the surface, but that may get a little complicated.

Comment by Meria on May 5, 2012 at 9:10am

great share.... thanks

Comment by Marko Tomičić on March 21, 2012 at 4:44pm

Thanks sooo much for sharing!!

Comment by Jørn Lambertsen on February 5, 2012 at 6:53am

Yes! My version of Weaverbird wasn't updated, It works fine now, thank you!

Comment by Jørn Lambertsen on February 3, 2012 at 2:06am

I might have an old version of WB... I'll try to update and see if that works... Thanks:)

Comment by Erick Katzenstein on February 1, 2012 at 9:31am

Jorn,

I had an issue with invalid meshes in the previous version of Weaverbird. Have you updated to most recent?

Comment by Jørn Lambertsen on January 31, 2012 at 4:40pm

The simple one worked really perfectly for me! But the Kangaroo version seems to have a lot of issues with the Weaverbird components, I can only get it to work (somewhat) when I bypass those... Is there some kind of conflict between WB and the newest build of Grasshopper, it keeps giving me 'invalid meshes'? (I use 0.8.0066)... (Well, I might also just be doing something wrong, it is a slightly complicated definition... for me anyway! :)

Translate

Search Grasshopper

Members

Photos

  • Add Photos
  • View All

© 2012   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service