Spur gear
Customizable 3D model by shapeninja · version 2
Involute gear generator: spur, helical and herringbone gears with true involute teeth, any module and tooth count, round / D-shaft / hex / keyway bore and a hub with set screw (nut slot, heat-set insert or self-tapping) - for 3D-printed gearboxes, robots, RC models, toys and replacement gears on 5 mm NEMA 17 or 8 mm shafts.
How to use
Pick the module and tooth count: pitch diameter = module x teeth, and mating gears need the same module and pressure angle (helical pairs: same angle, opposite hands); to copy an existing gear, count its teeth and measure the outside diameter: module = OD / (teeth + 2). Measure the shaft with calipers (D-flat: flat to the round side) and keep about 0.15 mm bore clearance. The set screw holds best with a nut in the slot (Hub & Set Screw); without a hub it goes through a tooth gap. Print flat with the hub up, no supports, 3+ perimeters and 40 %+ infill; PETG or nylon for wear. For belts use the timing belt pulley generator, for shafts the pillow block bearing and NEMA motor mount generators. Printed gears are for light loads: check the load and keep fingers and hair away from running gears.
Parameters
- Module: Tooth size: pitch diameter = module × teeth. Mating gears need the same module; 1-2 for FDM. (0.5–10, default 1.5)
- Teeth: Number of teeth; ratio = teeth(driven) / teeth(driver). Below ~17 use a positive profile shift. (8–200, default 24)
- Face Width: Thickness of the toothed part, about 6-10 × module. (1–200 mm, default 8 mm)
- Lightening Holes: Round holes in the web for a lighter gear with less rotating mass (0 = none); sized automatically. (0–12, default 0)
- Gear Type: Tooth form; mating gears need the same type (helical: opposite hands). (one of: Spur, Helical, Herringbone, default Spur)
- Helix: Tooth slant of helical and herringbone gears.
- Helix Angle: Tooth slant in degrees, 15-30° typical; mating gears need the same angle. (0–45, default 20)
- Helix Hand: Slant direction; gears on parallel shafts need opposite hands. (one of: Right, Left, default Right)
- Bore: Shaft hole through the gear and hub.
- Bore Type: Shape of the shaft hole: round, D-shaft (with a flat, the set screw presses on it), hex (size across flats), keyway; 'None' leaves the gear solid. (one of: None, Round, D-shaft, Hex, Keyway, default D-shaft)
- Bore Ø: Nominal shaft diameter (hex: across flats); 5 mm NEMA 17, 8 mm 608 bearings. (1–100 mm, default 5 mm)
- D-Flat Size: Flat to the opposite side of the shaft (4.5 mm on a 5 mm NEMA 17 shaft). (0.5–100 mm, default 4.5 mm)
- Bore Clearance: Added to the bore, D-flat and keyway: 0.1-0.2 mm snug, 0.3 mm sliding. (0–1 mm, default 0.15 mm)
- Keyway Width: Width of the key slot (2 mm for 6-8 mm shafts). (0.5–30 mm, default 2 mm)
- Keyway Depth: Depth of the key slot beyond the bore wall (about half the key height). (0.2–15 mm, default 1 mm)
- Hub & Set Screw: Collar on top of the gear and the radial set screw that clamps it onto the shaft (without a hub the screw goes through the gear body and a tooth gap).
- Hub Ø: Outer diameter of the hub (capped at the tooth root). (2–200 mm, default 16 mm)
- Hub Length: Height of the hub above the gear (0 = flat gear, the set screw then goes through a tooth gap); ~8 mm for M3 with nut slot. (0–100 mm, default 8 mm)
- Set Screw: Radial set screw (grub screw) aimed at the flat / key; without a hub it goes through the gear body and leaves through a tooth gap. (on or off, default on)
- Screw: Set screw size: M3 for 5-6 mm shafts, M4 for 8 mm, M5-M6 for bigger shafts. (one of: M2, M2.5, M3, M4, M5, M6, M8, default M3)
- Thread: How the set screw holds in the plastic. (one of: Nut slot (slide in), Heat-set insert, Self-tapping, default Nut slot (slide in))
- Nut clearance: Extra room around the nut in its slot (added to the width across flats and the height) (0–1 mm, default 0.2 mm)
- Teardrop holes: Gives horizontal holes a pointed top so they print without supports. Only needed for large holes or printers that bridge badly. (on or off, default off)
- Finish: Rounding of the hub; gear teeth are never rounded.
- Round edges: Rounds the outer edges so the part is nicer to hold and the corners do not break off. 0 = off. Big values cannot fit at small details; those edges then stay sharp. The hub's top edge is always slightly rounded; gear teeth are never rounded. (0–5 mm, default 0 mm)
- Tooth Geometry: Fine-tuning of the involute teeth; defaults suit most FDM gears.
- Pressure Angle: Flank angle of the teeth; mating gears must match. (one of: 14.5°, 20°, 25°, default 20°)
- Backlash: Play between mating teeth (each gear takes half); 0.1-0.2 mm for FDM. (0–1 mm, default 0.15 mm)
- Profile Shift: Shift coefficient x: +0.3 to +0.5 avoids undercut below 17 teeth (centre distance grows by (x1+x2)·m). (-0.5–1, default 0)
- Root Fillet: Rack tip radius as a fraction of the module (0.38 = ISO 53); larger = rounder root. (0–0.45, default 0.3)
Adjust the parameters, preview the model in 3D and download it as STL or STEP. The configurator needs JavaScript and WebGL.