Skip to content

About

Just wanted to have a spring for my 3D printing project, claude did it in like 1 min.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Coilwright — Spring Generator

A single-page web app that generates 3D helical springs and exports them as STL or OBJ.

Live site: https://ttingchen.github.io/spring-generator/

You can also open index.html locally in a browser — no build step, no server.

Coilwright app with a compression spring

Extension spring Torsion spring
Extension spring with machine-loop hooks Torsion spring with straight legs

Spring types

  • Compression — free length, end type (closed & ground, closed, open), optional taper (conical)
  • Extension — coil gap, machine-loop hooks, hook alignment (0° / 90° / 180°)
  • Torsion — leg length, leg offset angle, coil gap

Shared parameters: wire diameter, outer diameter, active coils, wind direction, mesh detail (sides around the wire, segments per coil), material and finish.

Engineering readout

Spring rate (N/mm, or N·mm/° for torsion), spring index D/d, pitch, solid height, wire length and mass, plus warnings for coil bind, buckling risk, extreme spring index, and touching coils that would fuse when 3D printed.

Export

Watertight swept-tube mesh, millimetres, Z-up. Binary STL or OBJ.

Built with three.js r128.

About

Just wanted to have a spring for my 3D printing project, claude did it in like 1 min.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages