Rack and pinion, module 2, 150 mm — Gear generator (3D print model)Free online gear generator: involute spur, helical and herringbone gears, matched pairs, racks and planetary sets by module or teeth, as print-ready 3MF/STL.
Features
- True involute teeth cut by a simulated rack: correct root fillet, undercut and profile shift
- Module, diametral pitch, or measured outside Ø to replace a gear
- Gear pairs, racks and planetary sets placed at the computed centre distance
- Spur, helical and herringbone, 14.5°, 20° or 25° pressure angle
- Adjustable backlash, tip chamfer against elephant foot
- Round, D, hex and keyway bores, hub with M3 set screw, bore fit coupon
- Centre distance, ratio, contact ratio and mass readouts
What people make with it
- Replace a broken gear in a toy, appliance or printer from its tooth count and diameter
- Gear pairs and reductions for robots, winches, clocks and kinetic art
- Rack and pinion for linear slides, sliding doors and camera sliders
- Planetary gearboxes and herringbone sets for teaching and fidget models
- Motor and servo gears with D-shaft bore and set screw
How to use
- Pick a gear pair, single gear, rack and pinion or planetary set.
- Set the module (or measure the old gear) and the tooth counts.
- Choose the bore; print the bore fit coupon if you are not sure about the shaft fit.
- Download 3MF or STL and print flat, no supports. Mount the shafts at the centre distance shown.
Materials
- PETG: recommended — Tough, takes load without cracking teeth.
- NYLON: works — Best wear and low friction; dry it before printing.
- PLA: works — Models and light duty; creeps under constant load.
Preset dimensions
Presets
- Gear pair 2:1, module 1.5, 5 mm bore — 20 and 40 teeth that mesh at 45 mm centre distance: robots, kinetic models and repairs.
- Replace a broken gear (count teeth, measure Ø) — Enter the tooth count and outside diameter of the old gear; the module is worked out and rounded to standard.
- Rack and pinion, module 2, 150 mm — An 18-tooth pinion and a 150 mm rack for linear slides, sliding gates and CNC toys: 113 mm per turn.
- Herringbone gear pair (quiet, no axial thrust) — 25° double-helical 15:30 pair, module 2: smooth and self-aligning, prints flat without supports.
- Planetary gear set (sun, 3 planets, ring) 4:1 — Herringbone planetary set: 15-tooth sun, three 15-tooth planets, 45-tooth ring; 4:1 with the ring fixed.
- D-shaft motor gear with M3 set screw — 30-tooth module 1 gear for a 5 mm D-shaft (stepper, DC motor) with a hub and nut-trap grub screw.
- 5:1 reduction gear pair with lightening holes — 12:60 pair, module 1.25, shifted pinion (no undercut) and a light 75 mm gear for winches and clock drives.
Frequently asked questions
How do I find the module of a broken gear?
Count the teeth and measure across the tips with calipers. Module = outside Ø / (teeth + 2). Pick "Measured outside Ø" and the generator works it out and rounds to the nearest standard module.
How far apart do the shafts go?
The centre distance is shown under the viewer: (teeth A + teeth B) × module / 2. Turn on the centre-distance plate to print a test plate with both holes.
My printed gears bind. What should I change?
Raise the backlash to 0.2–0.3 mm and keep the tip chamfer on (it hides elephant foot). Check that both gears use the same module and pressure angle.
Which filament is best for gears?
PETG or nylon for gears under load; PLA is fine for models and light duty. Use 3+ walls and 0.12–0.2 mm layers.
Do herringbone gears need supports?
No. They print flat on one face; each layer only steps a little sideways, well under 45°.
Related generators
3D printing guides
Version 1.0.0 · For AI agents and developers: API v1, schema.json, index.md. Open-source licences