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

Comment

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

Comment by Ralph Zoontjens on September 14, 2017 at 9:04am

Is there a way to start with a triangle mesh instead of breps?
I know that Daniel Piker has a solution to this, but he hasn't shared his definition (yet)

Comment by Philip J Brown on January 5, 2016 at 2:16pm

the download link is down any way to fix this? love to have this script it's very impressive. 

Comment by Alexander Torrez Chang on August 14, 2014 at 6:57pm

I remember a previous version that Daniel might have worked on with a "Glue Range" slider.
Is that simply the spring pos/neg direction?

Comment by Kevin Yen-Po Chen on June 24, 2014 at 5:17pm

I'm getting "null" for all the forces. Do you know any way to fix that? Thanks!

Comment by Erick Katzenstein on March 23, 2014 at 3:32pm

I've finally gotten to update this. Check out the post above for a newer version.

Comment by Angela.nk on March 16, 2014 at 7:17am

same question as Kurt.

It would be great if you can update the definition.:)

Comment by Kurt Fausset on March 14, 2014 at 2:06pm

Hi Erick,

This script is exactly what I've been looking for but with all of the updates, the script is outdated and cannot find the appropriate replacement components. Do you have any suggestions on repair or replace for the following outdated components?

1. ReRoute Cluster (input=BBoxMesh output=Mesh)

2. KangarooSetupCluster

Thanks ahead for any advice.

Comment by Thomas Day on October 14, 2012 at 2:18am

Hi Erick,

I'm exploring your shrink wrap definition and having some trouble getting the mesh to work when turning on kangaroo. The object individually wrap, but it's broken where you would expect the shrinking to occur. When I turn kangaroo on I can get it to connect by turning up the glue range. The problem here is that the faces are triangulated instead of smooth.

Thanks!

-

thomas

Comment by Ryan Whitby on June 29, 2012 at 11:45am

Trying to get this working but the data flow seems to stop at "ReRoute Cluster"  Any suggestions.

Thanks in advanced.

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 !

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service