Hey! This thing is still a Work in Progress. Files, instructions, and other stuff might change!

Spur Gear Fitter Script

by cbiffle, published

Spur Gear Fitter Script by cbiffle Mar 6, 2011

Featured Thing!


Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag


Thing Statistics

43400Views 6911Downloads


I've been working with Greg Frost's gear generator. Getting the gears to mesh requires some math, or trial and error. As a programmer, I don't like doing either one more than once. :-)

This script lets you specify the axle spacing and gear ratio and get the circular_pitch parameter. It simplifies fitting gears together.


This is a library. To use it, include it in your own OpenSCAD creation. There are two functions you'll need. The included example_gears module demonstrates their use.

gear_outer_radius lets you compute the meshing radius of a gear, given its parameters. You'll need this to translate the gears into position.

fit_spur_gears computes the circular pitch for Greg's script.

All Apps

Upgrade this Thing with Thingiverse Apps


Edit, personalize, or revise this Thing

Customizer is the easiest way to take great 3D printable designs and make them your own. Make your OpenSCAD designs infinitely more valuable by empowering the community to customize them.

App Info Launch App
Customizer Thing App

Receiving an error: "No parameters found."

Error : Sorry! No Parameters Found.

thas is very usefull and simple, is there any way to adjust thew axle shaft of if i don't notice it

Nice! I started to use OpenScad with this.

I don't understand what are the values for fit_spur_gears function, you have n1 n2 and a number in your example but what does they represent ?



Excellent stuff. I have used your equations in my Moray for Windows to OpenSCAD export plugin to be able to incorporate some rudimentary gear-capability :D