Kangaroo

THIS FORUM IS NO LONGER ACTIVE. PLEASE POST ANY NEW QUESTIONS OR DISCUSSION ON:

https://discourse.mcneel.com/c/grasshopper/kangaroo

The discussions here are preserved for reference, but new questions posted here are likely to go unanswered.

Kangaroo is a Live Physics engine for interactive simulation, optimization and form-finding directly within Grasshopper.

Table cloth draped over a table

Hallo,


I'm the first time here and ask me, is Kangaroo the right tool for placing tablecloth over a table or a sheet over a bad? I need this for photoreal still rendering. I tried several example files, but nothing works. Would it be difficult to work with Kangaroo on scenes like this?


++

Micha

  • up

    Daniel Piker

    It depends on the level of realism you want, but yes, draping over objects is possible.

    For the cloth you need springs to resist stretching and shear, then hinges between each triangle to resist bending. (the video above shows the result of varying the bending strength)

    Also, bear in mind the collision detection in Kangaroo is fairly basic - it works on points/solids only, so some edges may penetrate the volume, and it can be quite slow compared to other functions. There is also no self-collision, so cloth cannot pile up on itself.

    11
  • up

    SP

    beautiful. thank you daniel!

    • up

      Chiff

      Hello,

      I was using the DrapeExampleK2.gh posted by Daniel, and I realised that when I add in multiple BREPs, the drape tends to fall below the edges of the BREP... It's falling slightly inside the objects. I tried adjusting the hinge settings, but it still occurs. Is there some setting to tweak to strictly prevent the drape points from going inside the BREPs? I've attached an image to show what I mean.

      Thank you!