⚙️ Gear Generator
Gear Generator
Gear Generator
Spur, helical and herringbone gears or a meshing pair, with shaft bore, D-flat and hub.
Fit
Top
Front
Grid
Drag to rotate · Scroll to zoom · Right-click to pan
About this generator

Real Involute Gears, Ready to Print

The LyraMaker Gear Generator draws true involute gear teeth with the BOSL2 gear library, the same maths used for machined gears. Pick the module and number of teeth, choose spur, helical or herringbone teeth, and make a single gear or a matching pair.

A shaft bore — round or with a D-flat for motor shafts — a hub and an adjustable backlash make the gears ready to use straight off the printer.

📐
Involute Teeth Correct tooth shapes for any module and pressure angle, so gears mesh smoothly.
🔗
Matching Pairs Make two gears at once, with the centre distance and ratio calculated for you.
🔩
Shaft & Hub Round or D-flat bore and an optional hub for set screws or glue.
🌀
Helical & Herringbone Quieter, smoother gears — herringbone teeth also cancel the sideways thrust.

Free Gear Generator — Spur, Helical and Herringbone Gears

The LyraMaker Gear Generator creates 3D printable gears directly in your browser. Set the module, the number of teeth, the thickness and the tooth type, add a shaft bore and hub, and download a watertight STL or 3MF for Bambu Studio, PrusaSlicer, Cura or OrcaSlicer.

Module, teeth and sizes

Making printed gears work

Printers make teeth slightly larger than designed, so a little backlash — 0.1 to 0.2 mm — keeps a pair from binding. Print gears flat with plenty of walls; PETG or nylon last longer than PLA in gears that run for hours. Below about 17 teeth, standard 20° teeth are undercut and weaker, so small pinions benefit from a larger module.

Geometry is built locally with OpenSCAD WebAssembly and the BOSL2 library — nothing is uploaded. To work out ratios, speeds and torque first, use the gear ratio calculator, or explore every LyraMaker generator.

Gear Generator — FAQ

What module should I choose for a 3D printed gear?
+

A module of 1 to 2 mm suits most printed gears on a 0.4 mm nozzle; teeth below a module of about 0.8 mm become too small to print cleanly. Two gears must have the same module and pressure angle to mesh.

Why do my printed gears bind?
+

Printed teeth come out slightly fat, so gears placed at the theoretical centre distance can jam. The backlash setting thins the teeth a little — 0.1 to 0.2 mm usually gives smooth running. Mounting the shafts 0.1–0.2 mm further apart helps as well.

Spur, helical or herringbone?
+

Spur gears are the simplest and print easily. Helical gears run quieter and smoother but push sideways along the shaft. Herringbone gears cancel that sideways push and self-centre, which makes them popular for 3D printed gearboxes.

How do I fit a gear to a motor shaft?
+

Set the shaft diameter to the shaft size plus 0.1–0.2 mm, and switch on the D-flat for the common 5 mm stepper motor shafts with a flat side, which stops the gear from slipping. A hub adds material around the bore for a set screw or glue.

How far apart should the two gears be?
+

In pair mode the centre distance is shown under the settings; it is the module × (teeth 1 + teeth 2) ÷ 2 for spur gears, larger for helical ones. The downloaded pair is laid out a little further apart so the two gears do not fuse during printing.

Other Generators