Home / Generators / Spur Gear
AI Spur Gear Generator

Generate a spur gear.
Download the CAD file.

Describe a spur gear in plain English — module, number of teeth, pressure angle, bore, keyway — and Cadfai builds a real parametric solid you can download as STEP and STL in seconds. No sketching, no modeling.

Try a prompt like
Spur gear, module 2, 24 teeth, 20° pressure angle, 10 mm bore with a 3 mm keyway, 12 mm face width
AI-generated parametric spur gear with involute teeth, hub, bore and keyway, exported as STEP and STL
Example output — an involute spur gear generated from a text prompt
What it generates

A complete, mechanically valid spur gear body — ready for CAD, CAM, or 3D printing.

// profile

True involute teeth

Tooth profile built from your module, tooth count, and pressure angle — not a rough approximation.

// bore

Bore & keyway

Center bore sized to your shaft, with an optional keyway or set-screw flat.

// body

Hub & face width

Configurable face width and hub so the gear fits your assembly and load.

// solid

Editable STEP solid

A real B-rep solid you can open and modify in any CAD tool — plus STL for printing.

Parameters it understands

Mention any of these in your prompt — in words or numbers — and Cadfai applies them.

module / diametral pitch teeth count pressure angle (14.5° / 20°) bore diameter keyway width & depth face width hub diameter units mm / inch
How it works

Describe it

Type the gear in plain English with any dimensions you care about.

Cadfai builds it

The prompt becomes a parametric 3D solid — usually in under a minute.

Download

Grab the STEP and STL files, or re-prompt to tweak dimensions.

Example prompts

Copy one, or write your own.

Spur gear, module 1.5, 40 teeth, 20° pressure angle, 8 mm bore
24-tooth steel spur gear, DP 16, 0.25" bore with 1/16" keyway
Pinion gear module 2, 12 teeth, 6 mm bore, 10 mm face width, lightweight hub
Solids, not meshes

Every spur gear exports as a STEP file (a true B-rep solid for CAD and CNC) and an STL file (for 3D printing). STEP means you can edit, machine, and measure the part — not just print a shell.

Generate a gear →
Frequently asked questions
What file formats does it export?

Every spur gear is exported as a STEP file (a solid B-rep for CAD/CAM) and an STL file (a mesh for 3D printing). STEP is a true solid, not a mesh, so you can edit or machine it.

Which parameters can I specify?

Module or diametral pitch, number of teeth, pressure angle, bore diameter, hub, face width, and a keyway. Describe them in plain English and Cadfai builds the solid.

Is the tooth profile a real involute?

Yes — Cadfai generates an involute profile from the module, tooth count, and pressure angle you describe, producing a mechanically valid spur gear.

Is it free to use?

You can start free. Cadfai includes free prompts to generate and download models; top-up prompts and a Pro plan are available for heavier use.

Can I edit the gear afterwards?

Yes. Because the output is a STEP solid, you can open it in Fusion, SolidWorks, FreeCAD, or Onshape and modify it — or just re-prompt Cadfai with new dimensions.

Related reading
Related generators

Describe your gear. Get the CAD file.

From prompt to STEP + STL in under a minute.

Generate now →