Parametric Ortho-Planar Spiral Spring Generator

Ortho-planar springs are springs that can undergo a large displacement in either direction without (much) rotation. They've got all sorts of practical applications.
This .scad (library with ortho_planar_spiral_spring() module) will generate a flat, ortho-planar spiral spring of whatever size and shape you want. It takes a number of options and there's a bunch of examples in the file so it should be pretty easy to figure out.
I recommend inspecting your springs layer by layer in your slicer before printing because it's real easy to make springs that have walls that are too thin for your 3D printer.