Grasshopper

algorithmic modeling for Rhino

A low poly problem? Using Solids to deform a relaxed (tight) mesh - Kangaroo 2 / WB

I am trying to use kangaroo to create a (relatively) low poly triangulated mesh ceiling which wraps the irregular steel structure of the bridge above.

Essentially this is somewhat like a partial shrinkwrap with fixed anchor points at either side - like pulling a tarp tight over the tray of a truck loaded with different items.

My approach so far (which isn't working is)

1 Create a mesh based on the ceiling perimeter with the desired triangle density.

2 Relax the mesh - and bake it and re-reference it to GH

3. Lower the structure (modelled as a group of polysurfaces) onto the relaxed mesh - pushing it downwards (this last step isn't working)

I have adjusted the balloon squeezing sample definition (kangaroo) sucessfully to deform a high res mesh with two polysurfaces simultaneously but with low res mesh I get a spiky look. Is this a low res mesh issue - I understand that the collision is vertex based only.(http://www.grasshopper3d.com/forum/topics/inflation-with-kangaroo-p...)

In the attached definition the collision appears not to work at all.

Any advice on getting it to work or a different approach would be greatly appreciated. I am not sure whether my two step process is helping or whether it's just causing problems.

Thanks,

John

Views: 492

Attachments:

Replies to This Discussion

Whoops - looks like I needed to adjust the strength factors on each of the goals/force and then I could get them both working simultaneously.

I added a factor to the target length module too to add a finer level of control. This allowed me to relax the mesh then push the object down into it and then shorten the length target to tighten the mesh around the object in it's final position.

So probably a case of nothing to be seen here and I guess I got the answers I deserved :)

It's amazing that these tools are freely available - thanks to all the people who are contributing to Kangaroo, WB, GH etc etc. I've had loads of help from other posts in these forums too - it's all very appreciated.

RSS

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