Home / Generators / Compression Spring
AI Compression Spring Generator

Generate a compression spring.
Download the CAD file.

Describe a compression spring in plain English — wire diameter, outer diameter, free length, coils, pitch and end type — and Cadfai builds a real parametric solid you can download as STEP and STL in seconds.

Try a prompt like
Compression spring, 1.2 mm wire, 12 mm OD, 40 mm free length, 8 total coils, closed and ground ends
AI Compression Spring Generator example output exported as STEP and STL
Example output — generated from a text prompt
What it generates

A complete, mechanically valid part — ready for CAD, CAM, or 3D printing.

// coil

Accurate coil geometry

Helix built from your wire diameter, diameter, pitch and coil count.

// ends

End conditions

Closed, open, ground or squared ends to match your spec.

// solid

Editable STEP solid

A true B-rep solid for CAD/CAM — plus STL for 3D printing.

// units

mm or inch

Describe dimensions in whichever unit system you work in.

Parameters it understands

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

wire diameterOD / mean diameterfree length coils total / activepitch ends closed / groundhand LH / RHunits mm / inch
How it works

Describe it

Type the part 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.

Compression spring, 2 mm wire, 20 mm OD, 60 mm free length, 10 coils, squared ends
Small spring 0.6 mm wire, 6 mm OD, 15 mm long, closed & ground
Spring, 1 mm music wire, 10 mm mean diameter, 5 active coils, 3 mm pitch
Solids, not meshes

Every model 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. STEP vs STL →

Generate now →
Related reading
Frequently asked questions
What file formats does the spring generator export?

Every compression spring is exported as a STEP file (a solid B-rep for CAD/CAM) and an STL file (a mesh for 3D printing).

Which spring parameters can I specify?

Wire diameter, outer or mean diameter, free length, total and active coils, pitch, end conditions (closed/open/ground), and hand.

Can it do closed and ground ends?

Yes — describe the end condition (closed, open, squared, or ground) and Cadfai builds the coil ends accordingly.

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.

Can I 3D print the spring?

Yes — the STL export is ready for slicing. For functional metal springs, use the STEP file as a manufacturing reference.

Related generators

Describe your part. Get the CAD file.

From prompt to STEP + STL in under a minute.

Generate now →