# Mechanical movement of parts

**URL:** <https://discourse.mcneel.com/t/mechanical-movement-of-parts/209429>\
**Category:** Kangaroo\
**Tags:** windows\
**Created:** [September 6, 2025, 2:52pm UTC](https://discourse.mcneel.com/t/mechanical-movement-of-parts/209429 "2025-09-06T14:52:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Johnson](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kevin_johnson/32/667496_2.png) [@Kevin\_Johnson](https://discourse.mcneel.com/u/Kevin_Johnson)\
**Post date:** [September 6, 2025, 2:52pm UTC](https://discourse.mcneel.com/t/mechanical-movement-of-parts/209429/1 "2025-09-06T14:52:53Z")

</div>

Hello, I have been trying to learn how to use kangaroo to control mechanical movements in my models. As an example, I have 6 gears that I can use as breps. I would like to have the blue cylinders as fixed points. I would like to be able to grab one (or any) of the gears and rotate it resulting in the remaining 5 gears to rotate correctly. First, is this possible to do with Kangaroo? and second, would someone be able to explain how to do this? Or let me know where I can find documentation that will explain how to do this?

Thank you

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/1/1/6118e3f657c9dc90994560b6a6fcedecef1766db.png)

[gears.3dm](https://discourse.mcneel.com/uploads/short-url/i57IppeCWSUFw6t78fJHOwSP5k.3dm) (728.6 KB)

---

<div class="post-metadata">

**Author:** ![martinsiegrist](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martinsiegrist/32/772775_2.png) [@martinsiegrist](https://discourse.mcneel.com/u/martinsiegrist)\
**Post date:** [September 6, 2025, 8:14pm UTC](https://discourse.mcneel.com/t/mechanical-movement-of-parts/209429/2 "2025-09-06T20:14:04Z")

</div>

Have you used the search function yet?

> [@Gear simulation](https://discourse.mcneel.com/t/gear-simulation/164204/2):
>
> As the axle of the lower gear is not at the centre of mass of the curve, you need to input this as the corresponding frame to the curve collision component. Then the anchor at this point will keep the translation of the curve fixed, only allowing it to rotate about the axle. Like this: [GEAR SIMULATION.gh](https://discourse.mcneel.com/uploads/short-url/gqHJkVbMuLk2g69qdBgaAurQSgp.gh) (42.6 KB) [gear1] (also, I changed the slider from integers to floating point, so it moves smoothly instead of jumping by whole degrees)

---

<div class="post-metadata">

**Author:** ![Kevin\_Johnson](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kevin_johnson/32/667496_2.png) [@Kevin\_Johnson](https://discourse.mcneel.com/u/Kevin_Johnson)\
**Post date:** [September 6, 2025, 8:59pm UTC](https://discourse.mcneel.com/t/mechanical-movement-of-parts/209429/3 "2025-09-06T20:59:07Z")

</div>

Hi Martin, I had searched for mechanical movements and similar searches, but not gear simulation. Should have thought of that.

Thank you

---

<div class="post-metadata">

**Author:** ![Kevin\_Johnson](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kevin_johnson/32/667496_2.png) [@Kevin\_Johnson](https://discourse.mcneel.com/u/Kevin_Johnson)\
**Post date:** [September 7, 2025, 2:37pm UTC](https://discourse.mcneel.com/t/mechanical-movement-of-parts/209429/4 "2025-09-07T14:37:39Z")

</div>

Martin, I am looking at the gear simulation you showed me, trying to make it work for my model. I have another model that is moving blocks on pivot axises. I can get the bottom block to anchor in place, and the vertical and upper block to move, but can not keep them locked together on the pivot points. The blocks will twist instead of staying in their planes. Do you have any suggestions or advice on how to fix this?

Kevin

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/5/3/a5362032ce11e3f2135eda90c357e864e815a04a.jpeg)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/9/7/a97116bddb93d4eadd99953c72e94fb4f5b1c966.png)

[box test.gh](https://discourse.mcneel.com/uploads/short-url/q3OhFZN3tyYLEHhM1yPcSL5bJd.gh) (13.4 KB)

[box test.3dm](https://discourse.mcneel.com/uploads/short-url/wzz8B4kJJVrP20GUiKegRr6zwJL.3dm) (96.9 KB)

---

<div class="post-metadata">

**Author:** ![martinsiegrist](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martinsiegrist/32/772775_2.png) [@martinsiegrist](https://discourse.mcneel.com/u/martinsiegrist)\
**Post date:** [September 7, 2025, 5:38pm UTC](https://discourse.mcneel.com/t/mechanical-movement-of-parts/209429/5 "2025-09-07T17:38:33Z")

</div>

Have you looked at the followwing two wopics?

> [@The magic of Bennett’s linkage in a few steps](https://discourse.mcneel.com/t/the-magic-of-bennett-s-linkage-in-a-few-steps/120485/2):
>
> I love Bennett’s linkage - it was one of the very first things I used Grasshopper for as a student (inspired by the [thesis of Dr Yan Chen](http://www2.eng.ox.ac.uk/civil/publications/theses/chen), which I recommend reading if you are interested in this and other linkages) That was in early days of GH and it was all done with intersecting circles, though now more easily set up with rigid bodies: more recently I was trying to come up with ways to arrange it with straight bars yet still allowing continuous motion Here’s the …

[Kangaroo linkages - Grasshopper / GH for Mac - McNeel Forum](https://discourse.mcneel.com/t/kangaroo-linkages/43941/4)
