Need help shrinkwrapping a mesh with kangaroo

hello creators , i ve been experimenting with kangaroo lately regarding tensile structures , everything seems fine until i have to shrink-wrap this mesh , the resulting mesh always "DISAPPEARS " is there a problem with the script ? what I’m doing wrong ?
help-shrinkwrap_kangaroo.gh (998.4 KB)

1 Like

?

Doesn’t seem to be disappearing? The red preview shows what appears to be the shrinkwrap result -it’s just overlapping with your input geometry in Rhino. Hide that object so you visualize the kangaroo result more clearly.

I didn’t open your script, though - so maybe I missed something.

1 Like

yes it does , the screenshot is just the start of the sim, 3 seconds later the mesh just collapses into nothing .

1 Like

Hi, it’s better to keep the conversation in this topic and not use personal messages.

At the moment I cannot help.

What is the goal? Do you want something like a layer of fabric stretched over your frame structure?

1 Like

I think the ‘anchorage’ for this object is going to be tricky - however, if you’re using Rhino 8, you could use the now native shrinkwrap component to generate a rough ‘pre-wrap’ hull, offering a better starting mesh compared to the more basic ‘3D hull’.

1 Like

i tried that and the triremesh component stopped working , but yes good idea! what i am going to do is going back to the primitive shape with hardly the same anchors and try again . thanks !

1 Like

Not sure what this means…or which one is your ‘primitive’ shape. Nonetheless maybe it’s promising.

Regarding my previous comment about giving the mesh a ‘pre hull’ using the native shrinkwrap prior to the physical shrinkwrapping (via kangaroo) I tried to illustrate.

I put something together SUPER fast just to test things, but can’t really revise, sorry:
help-shrinkwrap_kangaroo.gh (1011.5 KB)
It’s also a bit slow obviously.
The mesh isn’t going away anymore, however the anchorage+shrinkwrapping can definitely be improved.

Good luck!
RC

3 Likes

brother you saved my life ! just revised your script and it seems working fine . clever components ! i will credit your help in the portfolio i m working on for this part .

i prefer looking dumb and learn something , and excuse my bad english .

THANK YOU !

1 Like

Hello René ! hope you r doing fine .

regarding the anchorage improvement i found that “mesh ray” and “mesh edges with tolerance”
sw.gh (1.1 MB)
components gives better anchors , here is the final script , thank you again :slight_smile:

2 Likes

I couldn’t load it correctly because I don’t have the LunchBox plugin - I did replace with regular MeshEdge component just to get an idea of what you did. Cool stuff!

I also had a related idea with MeshRay, but I didn’t have time to try it - then while remembering that and finding a bit of time I thought about using the outline of your mesh (MeshShadow), to attempt to dictate the anchorage (blue dots below) where the openings between ‘branches’ exist. Can also be improved, lol.


I guess my version of ‘tolerance’ here is the offset distance for the mesh outline contours prior to projecting them back to your mesh:

Sometimes the projection misses the ‘exterior’ edge of the object - the anchors can be updated during simulation, though; it’s not going to be super fast obviously.
swb.gh (1007.4 KB)

2 Likes

this looks promising ! i never stumble on the mesh shadow component, i will give it a try next time .,
there is always room for anchorage improvements , for now just to make the work done minimal offsetting of the resulting mesh and a careful inflation of intersecting areas with inflate brush in blender .