Moved backend selection out of shape function
Finished code generation for OpenSCAD for all AST types