CADquery aims to be to 3D modeling what jQuery is to Javascript, i.e., making the construction of parametric models simpler. Provides an open, plain text model format that can be loaded and viewed with a web brower as well as sliced and run through a 3D printer. You can either model or program shapes in text, or possibly both.
Requires FreeCAD.