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.

ClampLength newbie question

This is my first Kangaroo definition and I'm pretty happy with it! Everything works as expected, except for one thing: the ClampLength sort of doesn't work.

I've set the ClampLength to the piston arm so that it would stop 25mm short of the piston sheath. It works most of the time but if I move my mouse quickly, I get penetration. 

This penetration occurred even when I set up a ClampLength example on 2 simple cylinders. It would accept the 25mm, but then allow the object to go 25mm in the negative, making the objects collide.

Is there anything I can do to fix this?

Thanks,

A

  • up

    Andrew Chan

    My main aim is to create an example which shows the full extent of movement of this rig. I want to create some sort of limit detection so the model will not move beyond its limits.

    If I can do this I can Grab the model and show its full range of movement. Or better still I'd like to create some sort of slider which showed the maximum range of movement of each arm (they should all be the same).

    Any suggestions would be welcomed!

    Thanks,

    A

    • up

      Daniel Piker

      Hi Andrew,

      Nice simulation! Sorry it has taken me a while to reply.

      To avoid this issue you can set the Clamplength between the anchor at the base and end of the piston (see attached file). This means the lower limit becomes 320mm instead of 25mm, so much less likely it can pop through to the negative.

      I'll have a think though about whether there is a better goal that could make this more intuitive to set up, such as a dedicated slider goal, where the length limits are related to the direction to avoid this +/- issue.

      1
      • up

        Michael Fluer

        Witka wszystkim, pozdrawiam z Katowic! Kuzyn wspomniał mi o tej stronie podczas wspólnej kawy, zachwalając przejrzysty poker i bets sportowe na żywo. Zalogowałem się na mostbet i od razu sprawdziłem, co oferuje ich online casino. Miałem okres, kiedy pech mnie nie opuszczał, ale nagle wszystko się odmieniło. Wygrana na slots online była wisienką na torcie i odmieniła mój humor. Jestem usatysfakcjonowany, bo wypłaty środków przebiegają tu bardzo sprawnie, co jest kluczowe dla graczy.