Hi everyone,
I’m trying to simulate a sim
mechanisme.gh (101.0 KB)
ple mechanism in Kangaroo, but I’m having trouble getting the interaction between a cloth and a rigid body to work correctly.
I have 4 elements:
-
A – the base
-
B – a rail/slider moving along the base
-
C – a pivoting piece connected to B and attached to the cloth
-
D – the cloth connecting C to A
The basic movement is:
-
A and B move along the Z direction.
-
The connection between B and C works correctly.
-
The problem is with C-D and D-A.
As B moves, the cloth D becomes detached from C/A instead of pulling C into rotation. It looks almost as if the cloth does not have enough force to attract the point on C, so C does not rotate as I would expect.
I’m wondering if there is a specific way the different goals should be added to the Kangaroo simulation. For example, is there any priority or interaction between cloth/membrane goals and rigid body goals?
I have already tried changing the Strength values of the different components, but I haven’t been able to get a better result.
Could the problem be related to:
-
how the rigid body and cloth points are connected?
-
the way the hinge/pivot is defined?
-
the relative Strength values?
-
the order in which the goals are added to the solver?
-
or something else in the setup?
I’ve attached the Grasshopper/Rhino file so you can inspect the definition directly. You can move the height slider to test the mechanism and see how the simulation behaves.
Any advice or suggestions would be greatly appreciated. Thanks!



