Sometimes, I write software and have recently been playing with what could be described as a preprocessor to OpenSCAD, I call it AngelScript CSG, see http://arnholm.org/angelscript-csg-part-2/
OpenSCAD is really great but sometimes I find the language a bit limiting, and I really wanted something that runs and allows me to change variables and do more expressive stuff. Some time ago, I found AngelScript http://www.angelcode.com/angelscript/
and I figured I could add CSG (Constructive Solid geometry) functionality to that general language.
Right now, you write some code in AngelScript CSG and "compile" it on the command line into an OpenSCAD .csg file and use OpenSCAD to create an STL. This is how it is now, it could change as I am experimenting. Today I designed an electronics box for a friend, using AngelScript CSG, and printed it with my Simple Metal:
Seems to work. I will probably do some more in this area.
You do not have the required permissions to view the files attached to this post.