---
title: "Shaft Coupling Generator — 5 × 8 mm Motor to Lead Screw Couplers (STL / STEP) | Forgent3D"
description: "Generate rigid shaft couplings: any two bores from 3 to 14 mm, split clamp or set screws, M2.5–M4 with captive nuts, bore clearance for printing. Free STL / STEP."
url: https://www.forgent3d.com/en/generators/shaft-coupling-generator
---

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

# Shaft coupling generator: rigid couplers for motors and lead screws

Enter the two shaft sizes — 5 mm motor to 8 mm lead screw by default — and get a rigid coupler with a split clamp or set screws, nuts held in printed traps. Rigid on purpose: on a 3D printer's Z axis a flexible coupler can show up as banding, and printed helical beams are too weak to be worth it.

[Open the generator →](https://app.forgent3d.com/g/shaft-coupling?lang=en) [Edit with AI](https://app.forgent3d.com/g/shaft-coupling?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.

![Shaft Coupling Generator](https://app.forgent3d.com/g/shaft-coupling/thumb)

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

- Any two bores from 3 to 14 mm, plus a clearance setting for printed holes
- Split clamp like BuildModHack's and Ruland's one-piece couplings, or two set screws 90° apart
- Hex nut traps and counterbores sized for M2.5, M3 or M4
- 20 × 25 mm by default, growing only when the bore and screw need more wall

## 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 |
| --- | --- | --- | --- |
| Bore 1 (motor) BORE\_1 | 5 mm | 3 – 14 | 5 for a NEMA 17 motor. |
| Bore 2 (lead screw) BORE\_2 | 8 mm | 3 – 14 | 8 for a T8 lead screw. |
| Bore clearance CLEARANCE | 0.3 mm | 0 – 0.6 | Added to both bores: printed holes come out small. |
| Fastening FASTENING | clamp | clamp / set-screws | Clamp: a slit and one screw per shaft. Set screws: two per shaft, 90° apart. |
| Length LENGTH | 25 mm | 20 – 40 | Each shaft goes in half the length. |
| Screw SCREW | M3 | M2.5 / M3 / M4 | With a nut in a hex trap; the body grows past 20 mm when bore and screw need it. |

Every parameter can go in the page's link, so one link opens exactly the part you want. Example (6.35 mm (1/4") to 8 mm, clamp):[https://www.forgent3d.com/en/generators/shaft-coupling-generator?BORE\_1=6.35&BORE\_2=8](https://www.forgent3d.com/en/generators/shaft-coupling-generator?BORE_1=6.35&BORE_2=8)

## Calculators for this part

[Clearance Hole & Heat-Set Insert Chart ISO 273 fine / medium / coarse for M1.6–M24, the printed-hole allowance, and insert holes by vendor — then the boss or bracket.](https://www.forgent3d.com/en/calculators/clearance-hole-chart)

## What's in the STEP file

- Exports as 36 exact faces — 27 planes and 9 true cylinders (both bores, the outside, the screw holes and counterbores) — so CAD reads each bore's diameter and the screw positions 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/shaft-coupling)

Example: [https://www.forgent3d.com/en/generators/shaft-coupling-generator?BORE\_1=6.35&BORE\_2=8](https://www.forgent3d.com/en/generators/shaft-coupling-generator?BORE_1=6.35&BORE_2=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/shaft-coupling?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/shaft-coupling?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

### Rigid or flexible coupler?

Rigid for a 3D printer's Z axis: Ooznest notes that a flexible coupler there can reduce print quality, and spiral couplers are not meant to carry the axial load. Flexible couplers make up for misalignment on machines that need it — a printed rigid one does not.

### How much bore clearance do I need?

Start at the default +0.3 mm (5.3 for a 5 mm shaft): makers use +0.25–0.4 on small printed holes, PETG a little more than PLA. Too loose and it slips, too tight and it splits.

### How should I print it?

Standing up, so the bores print as round vertical holes; 4 perimeters, at least 35 % infill, PETG. No supports needed.

### How do I print a coupler for a NEMA 17 motor (5 mm) and a T8 lead screw (8 mm)?

https://www.forgent3d.com/en/generators/shaft-coupling-generator?BORE\_1=5&BORE\_2=8 is exactly that: a rigid 20 × 25 mm clamp coupler with an M3 screw and nut per shaft. Print it standing up in PETG, 4 perimeters, at least 35 % infill.

### My printed coupler slips on the motor shaft. What helps?

Print it in PETG rather than PLA (a warm stepper shaft softens PLA at 50–60 °C, PETG at 70–80 °C), use the clamp rather than set screws — or set screws 90° apart: https://www.forgent3d.com/en/generators/shaft-coupling-generator?FASTENING=set-screws — and lower CLEARANCE if the bore is loose. For a D-shaped motor shaft, press “AI edit” and give it your shaft's flat.

### 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) [GT2 Pulley Generator](https://www.forgent3d.com/en/generators/gt2-pulley-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)
