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