Involute Gear Script

by robfitz, published

Involute Gear Script by robfitz May 5, 2010

Featured Thing!

0 Share
Download This Thing! Customize Order This Printed Tools & Utilities

Thing Info

4193Views 1487Downloads
Report Thing


A python script for making involute gear STL models.


From the command line execute a command like this:

python InvoluteGear.py 12 20.0 6.0 gear.stl

The first parameter is the is the number of teeth, the second is the pitch diameter, the third is the thickness of the gear, and the forth is the name of the output file.

Additional options can be used to control the bore size (--BoreDiameter), the hub size (--HubDiameter, --HubWidth), the pressure angle (--PressureAngle, default 20.0 degrees), and how fine the involute surface is with (--StepCount, default 10 steps).

Thing Info

4193Views 1487Downloads
Report Thing

Liked By

View All


Involute Gear Script by robfitz is licensed under the GNU - GPL license.

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

All Apps

This App connects Thingiverse with Makeprintable, a cloud-based mesh repair service that analyzes, validates and repairs most common mesh errors that can occur when preparing a 3D design file for p...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Hello, this script is alsmost perfect, just that I need a symmetrical hub on both sides of the gear.
I looked at the code but I am not a real Python programmer. Is it hard to add an option for a symmetrical hub?

Excellent script! Generates nice clean stl files almost instantly. Thanks so much!! :)

what variables would I change in this code in order to draw an internal gear????

Unfortunately my script is unable to create internal gears. If I get time over the weekend I'll look at my textbooks and see if I can figure out the required changes.

Nice job!

Trivia question of the day: why is an "involute" toothed gear better than other gear tooth shapes?

Answer: Involute gear teeth have rolling contact for less wear and smoother running compared to other gear tooth shapes.


Nice! We need more involute gearing in things here. Sometimes things need to be functional.