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


by mrob27, published

gear-v3.scad by mrob27 Jan 5, 2013

Thing Info

10693Views 3948Downloads Found in Construction Toys
Report Thing


Alorithmic LEGO(r) Technic compatible gear generator. The picture (from gear-27.stl) is an example of gears-v3.scad, a greatly improved adaptation of bjepson's gear.scad with all code included, round holes, and automatic parameter selection.


Greatly improved LEGO(r) Technic gear generator. It now makes actual round holes (not nonagons) and automatically picks the hole parameters for you. More importantly you don't have to download any missing pieces elsewhere, all the code is included. "gear-v3.scad" is the best version.

On Jan 6th, I fixed a glitch illustrated by the JPG image (see thingiverse.com/image:224135 ). This was an error in the original MCAD gear module. The problem shows up in gears with a small number of teeth; "gear-v2.scad" is the old version, if you want to see the difference for yourself.

To use: Load gears-v3.scad into OpenSCAD and change "10" in the line "myGear(10);" to whatever number of teeth you want your gear to have. "gear-27.stl" is sample output.

More from Construction Toys

view more

Thing Info

10693Views 3948Downloads Found in Construction Toys
Report 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

All Apps

This extension 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...

App Info Launch App

My son and I are playing with an old Lego Mindstorms set and I've been wanting to make custom-sized gears for a while. Thank you!

That's great! If you print it let me know what home printer (or commercial service) you used, and how it comes out. I haven't had the chance to calibrate the tolerances (fit).