Rack and Pinion, 3 to 1 Stroke.

A mechanism for increasing linear motion.


Creative Commons Attribution Noncommercial Share Alike

Commercial use is not allowed, you must attribute the creator, you may remix this work and the remixed work should be made available under this license.

Learn more or download attribution tags


"Rack and Pinion, 3 to 1 Stroke" is a mechanism I designed for an upcoming automaton. The mechanism is designed to increase the stroke of a modified Scotch Yoke mechanism by a factor of 3 to 1 in order to provide a large (68mm) stroke from a short (68 / 3 = 22.67mm) stroke.

Designed using Autodesk Fusion 360, sliced using Ultimaker Cura 4.12.1, and 3D printed in PLA on Ultimaker S5s and an Ultimaker 3 Extended.

Materials and methods


I acquired the following parts:

β€’ One 6VDC 30RPM N20 gear motor.
β€’ One 4.5VDC power supply.
β€’ One coaxial connector compatible with the power supply.

I 3D printed the following parts at .15mm layer height, 20% infill, no supports:

β€’ One "Base.stl".
β€’ Four "Bolt (M8 by 1.25, 6mm).stl".
β€’ One "Gear, Compound (1.5m 12t, 1.5m 24t).stl".
β€’ One "Gear, Compound, Axle.stl".
β€’ One "Gear, Compound, Mount.stl".
β€’ One "Gear, Motor (1.5m, 16t).stl".
β€’ One "Rack.stl".
β€’ One "Slide, Guide.stl".
β€’ One "Side.stl".
β€’ One "Yoke, Gear (1.5m 38t).stl".
β€’ One "Yoke, Gear, Axle.stl".
β€’ One "Yoke.stl".

Prior to assembly, I test fitted and trimmed, filed, drilled, sanded, etc. all parts as necessary for smooth movement of moving surfaces, and tight fit for non moving surfaces. Depending on your slicer, printer, printer settings and the colors you chose, more or less trimming, filing, drilling and/or sanding may be required to successfully recreate this model. I carefully filed all edges that contacted the build plate to make absolutely certain that all build plate "ooze" is removed and that all edges are smooth using small jewelers files and plenty of patience.

The model uses threaded assembly, so I used an 8mm by 1.25 tap and die for thread cleaning.


To assemble the model, I performed the following steps:

β€’ Attached "Yoke, Gear (1.5m 38t).stl" to "Base.stl" using "Yoke, Gear, Axle.stl", making certain the gear spun freely.
β€’ Pressed "Gear, Compound, Mount.stl" onto "Yoke.stl".
β€’ Attached "Gear, Compound (1.5m 12t, 1.5m 24t).stl" to the yoke assembly using "Gear, Compound, Axle.stl", making certain the gear spun freely.
β€’ Soldered 100mm long wires between the motor terminals and coaxial cable connector.
β€’ Pressed the motor into "Rack.stl".
β€’ Pressed "Gear, Motor (1.5m 16t).stl" onto the motor shaft.
β€’ Slid "Slide.stl" into "Slide, Guide.stl" noting the orientation of the small dot on the slide (the dot is used for alignment purposes).
β€’ Attached the slide assembly to the base assembly using two "Bolt (M8 by 1.25, 6mm).stl".
β€’ With the slide centered in the slide guide, and the pin on the yoke gear oriented as shown, I slid the yoke assembly into the base assembly noting the alignment of the holes in the slide and the larger gear of the compound gear.
β€’ Slid the rack assembly onto the base assembly making certain to maintain the previous alignment, and aligning the small dot on the smaller compound gear with the center tooth of the rack.
β€’ Secured the rack assembly to the base assembly using two "Bolt (M8 by 1.25, 6mm).stl".

With assembly complete, I applied 4.5VDC power to the model and tested the stroke lengths to make certain the slide movement was centered within the slide guide.

And that is how I 3D printed and assembled "Rack and Pinion, 3 to 1 Stroke".

I hope you enjoyed it, and stay tuned for the automaton!



Issues are used to track todos, bugs or requests. To get started, you could create an issue.


0bb07218d4f2a6006b38155d474f6d2e?default=blank&size=40Rizzo Cow printed this ago
Carousel thumb img 1532
Printed on:
Creality Ender-3
This was another early test print after printing the "GT2 Profile TPU Belt With PLA Sprockets" successfully. All parts printed fine using the recommended settings. Sliced with Cura 4.1.2. Great suggestion using the tap and die to ease and clean out the threads as our printers needed just little tweak with the flow rates. Thanks again for the fun projects. My daughter and I are having a blast.
Please don't stop creating! =)
Mini lora and iGreg Zumwalt published this design ago