NewNot sure which service you need? Answer four quick questions. Try the Service Finder

Engineering Tools

Designing a 3D Printed Spur Gear Pair with the Gear Generator

By IMECA3D · · 7 min read

Line drawing of a 16-tooth pinion meshing with a 48-tooth wheel, module 1.5, with the pitch circles and the 48.15 mm centre distance marked

Printed gears fail in a few predictable ways: teeth that break at the root, teeth that wear or soften from friction heat, and hubs that crack around the bore. In this example we size a motor-driven gear pair with our free gear generator and follow its checks until the design is strong enough to run all day.

The example: a slow turntable drive

A small DC gearmotor turns a sample turntable through a printed 3:1 reduction. The motor shaft delivers 0.3 N·m at 60 rpm, the drive runs continuously, and the gears sit in a housing at up to 35 °C. We start in PETG, with the generator's standard print settings: 0.15 mm clearance (backlash) and 0.42 mm line width, a 5 mm motor bore and an 8 mm output bore.

The first draft uses the smallest gears that give the ratio: module 1, 12 and 36 teeth, 6 mm face width.

Step 1: the first result

Teeth likely to break or wear out284 %of the allowable tooth stress (continuous running)Ratio 3.000 : 1Centre distance 24.00 mmMax torque 0.11 N·m

284 % means the tooth root sees 34.4 MPa, against 12.1 MPa allowed for PETG Basic when running for long periods. Below 75 %: comfortable margin. 75–100 %: marginal. Over 100 %: teeth may break or wear quickly. At this duty, gear 1 can take up to about 0.11 N·m.

The generator's drawing of the 12 and 36 tooth gear pair in mesh, centre distance 24 mm
The first draft: 284 % of the allowable tooth stress for continuous running.

Open the first draft in the generator →

The verdict is red at 284 %. On a 12-tooth pinion with a 6 mm pitch radius, 0.3 N·m pushes on the teeth with 50 N, and the tooth root sees 34.4 MPa. For continuous running PETG is allowed only 12.1 MPa, so this pinion can safely carry about 0.11 N·m, a third of what the motor delivers.

The design checks list three more problems:

Design checks

  • Warning: Gear 1 has 12 teeth: below about 18 teeth the cutting process would undercut the tooth root, and the real tooth is weaker and may interfere. Use a profile shift of at least 0.30 on gear 1.
  • Good: Contact ratio 1.56: at least one tooth pair is always in contact, so the drive runs smoothly.
  • Note: The tooth tips of gear 1 are 0.53 mm wide, less than two extrusion lines (0.84 mm), so they will print slightly rounded. This is normal on small or shifted gears and rarely matters; a larger module or a finer nozzle gives sharper tips.
  • Warning: The material between the bore and the tooth roots of gear 1 is only 2.25 mm. Keep at least about 2.7 mm (1.2 × tooth depth) or the rim can crack.
  • Warning: For long motor runs, friction heats the teeth. In tests on printed gears, PLA failed by melting rather than breaking. Prefer nylon, PC or ABS/ASA for continuous running.
  • Note: For continuous running, a dry PTFE or grease for plastics reduces wear and heat considerably.
  • Note: Print the gears flat on the bed: each tooth is then made of continuous lines and the load never pulls layers apart.
Design checks for the first draft.
  • Undercut: 12 teeth is too few for a 20° pressure angle; the tooth root would be cut away. The generator asks for a profile shift of at least 0.30.
  • Thin rim: only 2.25 mm of plastic between the 5 mm bore and the tooth roots, where about 2.7 mm is needed.
  • Friction heat: for long motor runs, printed gears tend to fail by softening rather than breaking. The generator recommends nylon, PC or ABS/ASA.

Why continuous running is so strict

The same gear pair set to intermittent duty comes out at 142 % instead of 284 %: the allowable stress doubles from 12.1 to 24.3 MPa. Plastic teeth fail by fatigue and heat, so a gear that runs all day is allowed a much lower stress than one that turns now and then. The duty factors are IMECA3D estimates, calibrated against published fatigue tests on FFF-printed gears, and they are the main reason a hobby gear design that "works on the bench" can fail in a product.

Step 2: a bigger module

Tooth stress falls quickly with size. At module 1.5 with 16 and 48 teeth, the pitch radius of the pinion doubles to 12 mm, so the force on the teeth halves to 25 N, and the larger teeth are stronger at the root. The stress drops to 9.6 MPa: 79 %, marginal.

Open version 2 (module 1.5) →

Check the space first. The pitch diameters grow from 12 / 36 mm to 24 / 72 mm, and the centre distance from 24 to 48 mm. If the housing cannot take that, a stronger material or a wider face is the other route.

Step 3: a wider face and a small profile shift

Tooth root stress is inversely proportional to the face width. Going from 6 to 10 mm wide brings the stress to 5.8 MPa: 48 %, strong enough, and the pair can now carry up to 0.63 N·m. A profile shift of +0.1 on the pinion removes the last undercut warning (16 teeth need at least 0.06). It moves the centre distance from 48.00 to 48.15 mm, which the generator includes in the STEP and DXF files.

pitch circles touch: d = m · ztip circle d + 2mroot circle d − 2.5mpinion z = 16wheel z = 48pitch p = π · m = 4.71 mmcentre distance a = 48.15 mmprofile shift +0.1 on the pinion
The final gear pair (module 1.5, 16 and 48 teeth), drawn from the generator's own tooth outlines. The small profile shift on the pinion moves the centre distance from 48.00 to 48.15 mm.
Strong enough48 %of the allowable tooth stress (continuous running)Ratio 3.000 : 1Centre distance 48.15 mmMax torque 0.63 N·m

48 % means the tooth root sees 5.8 MPa, against 12.1 MPa allowed for PETG Basic when running for long periods. Below 75 %: comfortable margin. 75–100 %: marginal. Over 100 %: teeth may break or wear quickly. At this duty, gear 1 can take up to about 0.63 N·m.

The generator's drawing of the 16 and 48 tooth gear pair in mesh, centre distance 48.15 mm
Version 3: 48 % of the allowable stress, centre distance 48.15 mm.

Open version 3 in the generator →

Step 4: PETG or ASA?

Version 3 is strong enough in PETG, but the friction-heat warning remains. Switching the same gears to ASA clears it, at a cost: ASA's flat-printed bending strength is lower, so the check rises to 59 % (allowable 9.7 MPa). That is still a comfortable margin.

Open version 4 (ASA) →

For a turntable that runs all day we would print the ASA version, in an enclosed printer, and add a little dry PTFE lubricant or a grease made for plastics, as the generator suggests. For a drive that only runs now and then, PETG version 3 is fine.

75 % safe limit100 % limit1 · Module 1, 12 / 36 teeth, 6 mm wide, PETG284 %2 · Module 1.5, 16 / 48 teeth, 6 mm wide79 %3 · Same, 10 mm wide, pinion shift +0.148 %4 · Version 3 in ASA instead of PETG59 %
Tooth root stress against what the material allows for continuous running (12.1 MPa for PETG, 9.7 MPa for ASA). Running in short bursts would double the allowable stress.

Step 5: fixing the output gear to its shaft

The 48-tooth gear drives the turntable shaft, so it carries three times the motor torque: about 0.9 N·m. For continuous running we want a positive drive rather than a set screw, so we choose Keyway under Shaft fixing for gear 2. For the 8 mm shaft the generator picks the standard 2 × 2 mm parallel key (DIN 6885) and cuts a 2.15 × 1.15 mm slot into the bore, including 0.15 mm print clearance.

Design checks

  • Note: Gear 2: standard 2 × 2 mm parallel key (DIN 6885) for a shaft of 8 mm. Printed slot 2.15 mm wide and 1.15 mm deep, including 0.15 mm clearance.
  • Problem: Gear 2: the key presses on the printed side of the slot at about 28.1 MPa, 288 % of the allowable 9.7 MPa, so the slot can deform. Use a wider gear, add a hub boss, use a larger shaft and key, or use a metal hub.
Keyway check for the 8 mm output shaft.

Open version 5 (8 mm keyed shaft) →

The teeth are fine, but the slot is not. A steel key on a small shaft pushes all the torque into a strip of plastic less than 1 mm high: about 28 MPa, 288 % of what ASA allows for continuous running, so the slot would slowly deform and the gear would start to rock on its shaft.

Two changes fix it. A 12 mm shaft takes a 4 × 4 mm key, with a taller face pressing on the plastic and a larger radius, so the force is lower. A 15 mm face width makes that face longer. The key pressure drops to 6.7 MPa (68 %), and the wider teeth of both gears go down from 59 % to 40 %.

Open version 6 (12 mm shaft, 15 mm face) →

If the shaft has to stay at 8 mm, the other options are a hub boss added in CAD, which makes the slot longer without widening the teeth, or a metal hub fixed to the printed gear.

Downloading and printing

The generator builds the files in your browser:

  • STEP with exact involute flanks for SolidWorks, Fusion, Onshape or FreeCAD, to add hubs, set screws or spokes.
  • DXF for the 2D outline, STL straight to the slicer, and SVG of the meshed pair for drawings.

Its suggested print settings for version 6: print the gears flat on the bed, so every tooth is made of continuous lines; 4 wall loops, so every tooth is solid; 40 % gyroid sparse infill, because the ring around the 5 mm bore carries the motor torque but at low shear; top and bottom shells at least 1 mm thick; avoid the lines and zig-zag infill patterns; compensate for elephant's foot or add a 0.3 mm chamfer to the bottom edge of the teeth; print the bores and the key slot as designed, and test-fit the shafts and the key.

As with any calculation, print the pair and run it under load before you build it into a product. The generator checks bending strength at the tooth root. Wear over thousands of hours depends on lubrication, alignment and the shafts, which the housing design has to get right.

More worked examples with our design tools

← All articles

Need gears inside a real product?

Send us the requirements or a sketch. We design the gear train, the housing and the shafts, and print and test the parts.

Get a Quote
Chat on WhatsApp