---
title: "GT2 Pulley Generator — Flanges, Hub & Set Screws (STL / STEP) | Forgent3D"
description: "Generate GT2 timing pulleys for 2 mm or 3 mm belts: any tooth count, belt width, flanges, a 2–8 mm bore and a hub with set screws in captive nuts, plus a groove-fit setting. Free STL / STEP."
url: https://www.forgent3d.com/en/generators/gt2-pulley-generator
---

[Home](https://www.forgent3d.com/en) [3D print generators](https://www.forgent3d.com/en/generators) GT2 Pulley Generator

# GT2 pulley generator for 3D printers and small CNC

Choose the tooth count, belt width and bore — the outside diameter comes out exactly as on aluminium GT2 pulleys (20 teeth: 12.22 mm), with flanges, a hub and two set screws in captive nut traps. Gates doesn't publish the GT2 groove, so each groove is built from the belt's published tooth shape, with a fit setting for your printer.

[Open the generator →](https://app.forgent3d.com/g/timing-pulley?lang=en) [Edit with AI](https://app.forgent3d.com/g/timing-pulley?lang=en&intent=edit)

## Use it right here

The real generator runs in your browser: set the parameters, then download STEP or STL. Nothing to install, no sign-up.

![GT2 Pulley Generator](https://app.forgent3d.com/g/timing-pulley/thumb)

The first open downloads the CAD engine (about 20 MB).

- Outside diameter = pitch diameter − 2 × 0.254, checked against MISUMI, SDP/SI and Adafruit pulleys
- Grooves from the published GT2 belt tooth, plus a fit setting you tune 0.1 mm at a time
- Flanges at outside diameter + 5, a hub with two set screws 90° apart in captive nuts
- Idler mode: no hub, just the toothed body and flanges

## Parameters you can tune

Each parameter below rebuilds real geometry on every change — this is parametric CAD, not a scaled mesh.

| Parameter | Default | Range | What it does |
| --- | --- | --- | --- |
| Belt profile PROFILE | GT2 2 mm | GT2 2 mm / GT2 3 mm | 2 mm pitch is the 3D-printer belt. |
| Number of teeth TEETH | 20 | 16 – 60 | Outside diameter = teeth × 2 / π − 0.508 (20 teeth: 12.22 mm); one turn moves teeth × 2 mm of belt. Up to 60, MISUMI's largest stock 2GT pulley. |
| Belt width BELT\_WIDTH | 6 mm | 4 – 15 | The toothed part is 1 mm wider, as on MISUMI pulleys. |
| Groove fit FIT | 0.2 mm | −0.1 – 0.3 | Widens every groove for printing; move in 0.1 steps. |
| Flanges FLANGES | both | both / bottom / none | Outside diameter + 5 mm, 1.5 mm thick: they keep the belt on. |
| Bore BORE\_D | 5 mm | 2 – 8 | Shaft size; 0.15 mm of print clearance is added. 5 for NEMA 17 motors. |
| Hub HUB | hub | hub / none | None makes an idler: just the toothed body and flanges. |
| Set screws SET\_SCREWS | 2 | 0 – 2 | In the hub, 90° apart, with captive nut traps; M3 up to a 5 mm bore, M4 above. |

Every parameter can go in the page's link, so one link opens exactly the part you want. Example (40 teeth, 8 mm bore):[https://www.forgent3d.com/en/generators/gt2-pulley-generator?TEETH=40&BORE\_D=8](https://www.forgent3d.com/en/generators/gt2-pulley-generator?TEETH=40&BORE_D=8)

## Calculators for this part

[GT2 Belt Length Calculator Exact GT2 belt length from two tooth counts and a centre distance, or the centre distance for a belt — then the pulleys.](https://www.forgent3d.com/en/calculators/gt2-belt-length-calculator)

## What's in the STEP file

- Each of the 20 grooves exports as one smooth extruded face — a spline, not a polygon — and the lands between them as true cylinders at the 12.22 mm outside diameter: 63 faces in all, so CAD measures the outside diameter, the bore and the flange directly.

STEP AP214 in millimetres, exact B-rep — it opens directly in SolidWorks, Fusion, FreeCAD, Onshape or Inventor, and goes straight into a CNC quote form. STL for the slicer is one click too.

## How it compares

|  | This generator | Typical online STL generator | Vendor CAD library |
| --- | --- | --- | --- |
| Any size within the range | Yes | Yes | Catalog sizes only |
| STEP with exact surfaces | Yes | Usually an STL mesh only | Yes |
| Changes the sliders don't cover | “AI edit” on the page | No | No |
| Account needed to download | No | Usually no | Often |

## Let AI change it

### Put the numbers in the link

Every parameter is a link parameter; the link below opens the example part. ChatGPT, Claude or any assistant can write one like it from the parameter list (names, units, ranges) at: [parameter list (JSON)](https://app.forgent3d.com/api/generators/timing-pulley)

Example: [https://www.forgent3d.com/en/generators/gt2-pulley-generator?TEETH=40&BORE\_D=8](https://www.forgent3d.com/en/generators/gt2-pulley-generator?TEETH=40&BORE_D=8)

### Edit with AI on the page

Press “AI edit” in the generator and say what to change — a keyway, holes, a different shape. The AI edits the part's model.py and it rebuilds in your browser, with undo. A few edits a day are free without signing in; to keep the result or go further, copy it into your models and continue with the AI agent.

[Edit with AI →](https://app.forgent3d.com/g/timing-pulley?lang=en&intent=edit)

### Keep going in your workspace

For bigger changes, several rounds, or a part you want to keep: copy it into your models (free account). The Forgent3D AI agent reads the model.py, edits it, rebuilds it and checks the result itself.

[Copy and continue with the AI agent →](https://app.forgent3d.com/g/timing-pulley?lang=en&intent=ai)

## How it works

1.  1.Open the generator — the model builds right in your browser, nothing to install.
2.  2.Tune dimensions and options in the parameter panel; the geometry rebuilds live in 3D.
3.  3.Export STL / STEP for printing — or ask the AI agent for features beyond the sliders.

## FAQ

### What is the smallest GT2 pulley worth printing?

This generator goes down to 16 teeth. Below about 20 the belt has few teeth in mesh, and the pulley's tooth tips are only a few tenths of a millimetre wide at any tooth count — about one 0.4 mm line — so many makers print 20 or more.

### How do I print a GT2 pulley well?

Flat on the bed, flange down, no supports; 0.1–0.16 mm layers for the teeth, external perimeters first, at least 4 walls. PETG, ABS, ASA or nylon; PLA for light loads only.

### What steps/mm does a 20-tooth pulley need?

One turn moves teeth × 2 mm of belt: 40 mm for 20 teeth. A 200-step motor at 16 microsteps makes 3200 steps per turn, so 3200 / 40 = 80 steps/mm.

### How do I get a 20-tooth GT2 pulley for a 5 mm motor shaft and a 6 mm belt?

https://www.forgent3d.com/en/generators/gt2-pulley-generator?TEETH=20&BORE\_D=5&BELT\_WIDTH=6 — 12.22 mm outside diameter like the aluminium ones, flanges, and two M3 set screws in captive nut traps. Download STL to print it flange down, no supports.

### My printed pulley is too tight on the belt, or the belt skips. What do I change?

FIT widens every groove: start at 0.2 (droftarts' default) and move 0.1 at a time — https://www.forgent3d.com/en/generators/gt2-pulley-generator?FIT=0.3 — then print the teeth with 0.1–0.16 mm layers, external perimeters first and 4 or more walls.

### Can I sell prints made with these generators?

Yes. Models you generate and the STL / STEP files you export are yours: print them, sell the prints, or use them in a product. No attribution to Forgent3D is required.

## More generators

[Washer & Spacer Generator](https://www.forgent3d.com/en/generators/washer-spacer-generator) [2020 Corner Bracket Generator](https://www.forgent3d.com/en/generators/2020-corner-bracket-generator) [Pillow Block Bearing Holder Generator](https://www.forgent3d.com/en/generators/pillow-block-bearing-holder-generator) [Shaft Coupling Generator](https://www.forgent3d.com/en/generators/shaft-coupling-generator) [3D print generators →](https://www.forgent3d.com/en/generators)

Already have your own .scad file? [Convert OpenSCAD to STEP →](https://www.forgent3d.com/en/openscad-to-step) · [Preview it in the browser →](https://www.forgent3d.com/en/openscad-viewer) · [Have an STL? Convert it to STEP →](https://www.forgent3d.com/en/stl-to-step)
