STLGen

All generators › Gears and drives

Rack and pinion maker

A gear and a toothed bar that turn rotation into straight travel.

Drag to turn, scroll or pinch to zoom. Grid squares are 10 mm.
Building the model…
Saves an STL file in millimetres, ready for your slicer.

Your download is starting

should appear in your downloads folder in a moment. Click here if it does not start.

Enjoying STLGen? A few simple ads keep it free and pay for new features. Coming soon: a simple CAD program, free to use right here, so check back now and then. If it saved you some time, you can also buy me a coffee.

Buy me a coffee

About the rack and pinion maker

A pinion and a straight rack with matching involute teeth. Set the tooth size, the pinion teeth and the rack length; the page tells you how far the rack moves per turn.

  • Press “Run” to watch the rack slide.
  • Racks butt end to end to make a longer one.
  • The pinion shaft sits exactly one pitch radius above the rack’s pitch line.

Everything runs in your browser: nothing is uploaded and there is no sign-up.

More generators