Grasshopper

algorithmic 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 (old):

ShrinkWrap.3dm 

ShrinkWrap(old).gh

Update (03232014):

Here's an updated file which will work with the current version of Kangaroo.  This definition also uses UTO's Mesh Tools. Use the same 3DM as above and let me know if you run into any issues.

ShrinkWrap-032314.gh

 

Views: 18439

Comment

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

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.

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service