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.

Rolling Guides, how to model ?

Goodday,

 

I'm trying to simulate different real projects in Kangaroo:

The Hobermann Dome for example:

http://en.wikipedia.org/wiki/Hoberman_sphere

 

The problem of this implementation lies in the modelling of the rolling guides at the bottom, the anchorpoints of the arch can move freely on the surface, in a line.

So i know there is a kangaroo function "pull to surf", but what I'm trying to say is that it would be usefull to have a "pull to line" to simulate rolling guides, as used in different mechanical principles.(driveshaft,etc)

 

How would you guys try to implement such a thing ? I tried defining 2 pull to surface (2 plane's, intersecting on the line), however this doesn't seem to get it right.

 

thanks in advance

 

PS: The meaning of the ghx is to turn off the simulation reset, and to shrink or enlarge the actuator (slider) underneath it to see it closing or opening. However the end points don't stay on the surface !

  • up

    Daniel Piker

    Hello Carlo,
    I've actually just recently implemented a ConstrainToCurve function, which I think is what you are after here. I've also added ConstrainToMesh, which operates similarly to ConstrainToSurf, but seems to be a bit faster.
    These (and more!) will be in the next release of Kangaroo.
    • up

      Carlor

      Allrighty then !

      can't wait, keep up the good work

      discussion closed ( or if someone finds a good approximate approach, feel free to speak up)