Grasshopper

algorithmic modeling for Rhino

http://www.grasshopper3d.com/video/shrinkwrap-with-grasshopper

 

Hi guys!! do u know how to achieve a shrink wrap from brep components. basically, i m trying to achieve something similar that what u can see on the link, done by andrew.

waiting for ur help...!

Views: 13186

Replies to This Discussion

Hi Leila -

I am away from my computer for the weekend, but when I get home on Monday I will send you the definition to take a look at. The basic principle, though, is starting with a bounding mesh around the object, and then projecting its vertices inwards towards another object. There are plenty of valid ways to perform this projection - the one I show in the animation is a bit complicated. Two simpler approaches: one would be to pull each mesh vertex to its closest point on the brep, or alternately to pull lines from the bounding mesh vertices to a common center point and then reconstruct the mesh from the intersection points between the lines and the brep.
Alright, as promised here is my definition. I have attached two versions - one, a simple version, that pulls the vertices of the bounding mesh to the closest point on the Brep within, and two, a more complex recursive version. This second version does everything the first one does, but then displaces the pulled vertices along the edges of the mesh. Then it repeats this whole process again, as many times as desired - it pulls, displaces along edges, pulls again, displaces again, etc. etc. This results in a mesh that "sucks in" on the sides, more closely representing the original Brep. Just string along more copies of the cluster if you want a "tighter" fit. Also increasing the value labeled "resolution" will help.
Attachments:
Thanks for sharing.
thank you soooo much!!!! i ll try it? and i ll let you know. you ve saved my life!!! thanx again!

Thanks Andrew, im working on using this definition... cant seem to get it to work.

i just plugged in my breps, and replaced the scale function with the updated one... 

and also connected Mbox M output to the Mesh parameter.

do I need to plug something into the graft Data input? 

thanks.

hi, 

do you have a version of this files with other gr versions 

or maybe can you send be by email your old grass version ?

thx!

0.80006

0.80002

regis.bernard.archi@live.fr

may the force be with us !

Hello, I'm trying to do something similar and Andrew's definition could be reallllllly helpful to me.But for some reason its not working on my system. The definition does open but nothing appears in the preview.Could could anyone assist why this is so and what should i do???? its kinda urgent

I'm using Rhino 4 SR8 with grasshopper 8 , with kangaroo and weaver bird as additional plugins. Does it require some other version or any additional plugins????

thanks !

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service