Mechanical simulation kangaroo 2

Hi ,

i am trying to simulate mechanism by using kangaroo2 but i am not able to get it to work.

can anyone check attached definition and give me some hint ?

20251210 ROTOTRANSLATING ARM.gh (15.0 KB)

thanks

Here’s a first try:

In my case, the path is a polycurve. The bar consists of three points and these points are kept together with a rigid point set. The piston is conneting a center point and the second point of the bar. This point can be adjusted. The piston length is controlled with a clamp lenght goal. Actually it would have to be the opposite. The piston length should be the input.

20251210 ROTOTRANSLATING ARM_01.gh (34.1 KB)

1 Like

HI Martin and many thanks for your answer

could you internialize the polycurve? I think this is one of the keypoint in your strategy and I want to make sure i get the right object.

so if didn’t get it wrong , the master parameter in your definition is the “t” parameter on the polycurve rather than the point being rotated like in my case.

thanks , KR

Weight a minute… :slight_smile:

Besides ignoring one of the pivot points, I also missed the fact that my weight goal didn’t do a thing because the curves are all in the XY plane.

It seems to work now. There are many ways to cheat and make it look more real but I think the challenge should be to use the length goal as ‘driver’ just like in reality.

20251210 ROTOTRANSLATING ARM_mrtn.gh (36.6 KB)

1 Like

HI Martin ,

sorry for late reply and thanks for your suggestion , i played with your latest definition .

I was able to fix the one based on my logic, here it is, it seems to be working well

20251210 ROTOTRANSLATING ARM_02.gh (22.0 KB)

2 Likes