Kinematics of Folding Door Panels

Hello everybody,

Could someone help me.
How can I set up the script in Kangaroo?
Maybe someone can send a short script, how can i solve this problem.

So that 2 door panels were folded as shown in the picture below.
One upper triangle constantly stays in place and the lower triangle moves vertically folding and unfolding door panels.

Something similar to what Daniel shows in the link below. (14.7 KB)

Thank you in advance for your help.


Maybe you can help me in this matter?
Thank you in advance.

This is the part of the problem. I don’t understand how to fixate these 2 circles.


Good morning.

Could someone help me please.
Where there are 2 circles, I plan to put gears.

Check these two examples: (32.9 KB) (59.6 KB)

1 Like

Thank you very much Martin,

These are very good examples.
I hope they help me.
I’ll let you know.


Say thank you to @DanielPiker he’s the man behind everything Kangaroo and he posted them on this forum.

Hi Martin and Daniel,

Thanks a lot to both of you.

Can you please tell me, where can I find a good tutorials (structured material) on the basics of Kangaroo?
To walk the path (beginner, intermediate, advanced).
For now, I want to understand the basics of Kangaroos to apply them to kinematics of machinery.

I found only these materials (links below). But it’s not so easy to understand which component does what. Perhaps somewhere there is a repository of small scripts in the Grasshopper, where I can see how and what works, or a more extended description of the components with examples of their use?

Thanks in advance for your comments.

I’ve been using Kangaroo for over a decade and I went through countless Grasshopper definitions. One thing that doesn’t make things any easier for beginners is that some of the goals have been updated or added and if the tutorial isn’t up to date, it might not be very helpful.

Thanks Martin for your advice.

Martin or Daniel,

Can you please tell me, how can I control the movement of the geometry without a component “Grab”?


Hi Harald,

In the definition I posted in this reply

the movement is driven by an Anchor with inputs for both P and T. P is the starting position of the point and T is the target for where it goes. By rotating this target position using the slider, you control the motion.


Thank you for your prompt response.


Hi Daniel and Martin,

Could you comment please, why this gear is jumping? How to build a script so that it just rotates?

Thanks in advance for your comments.


As for the movement, everything is now clear and working.
Many thanks for explaining how an anchor works.



Could you explain how this C# component works?

Uploading: image.png…


Which Martin added above. (59.6 KB)

Martin and Daniel,

Could you tell me please, why these circles are jumping and not spinning like gears?

Thanks in advance for your comments.

Good morning experts,

Could someone help me solve my problem?