OpenSCAD
A good fit for someone who would rather describe a shape in code. Use dimensions as variables so the next version of a spacer or enclosure is an edit to the source file. OpenSCAD is free on Windows, Mac, and Linux. Render and export STL when the dimensions are right.
More about OpenSCAD