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: 2343

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

Comment

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

Join Grasshopper

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! :)

Comment by Erick Katzenstein on November 4, 2011 at 7:24am

Daniel,

If you're dealing with orthogonal surfaces, you could probably isolate the interior surfaces and then use this definition on that...and then the inflation can be done by making the pressure level positive.

 

As I see it, this would be difficult to set up for generic geometry.  I think you would have to develop a way to make an inscribed bounding box, which would require a hollowed structure. 

 

I think a more physically accurate shrink wrap can be developed with kangaroo, where you can put the shrink wrap on the inside or outside surfaces, but as of now, the brep collision properties aren't working as rigidly as we would need it to.

Comment by ryles on November 1, 2011 at 10:26am

thank you for sharing!

 

Comment by daniel koene on October 31, 2011 at 1:00am

can this shrink wrap be done in reverse? so it inflates into a shape but deforms when colliding with the shape. for example a sphere in a box.

Comment by Tuan N. Tran on October 29, 2011 at 11:18pm

thanks for sharing!

Comment by Arif Mokhtar on October 29, 2011 at 10:02pm

Cheers mate, looking forward to having a play with this!

Comment by RWNB on October 29, 2011 at 2:54pm

Thank you very much.

Comment by Michael Pryor on October 29, 2011 at 1:35pm

Thanks alot man, much appreciated.

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service