I'd like to be able to use Snap! to construct OpenSCAD scripts (text processing language that produces 3D models)
But I need a bit of help to get started as I don't seem to be able to quite grasp what to do
I'd like this sort of Snap! construct
to produce this sort of text ouput
color([1,0,0])translate([0,0,10])cube([20,20,20]);
This makes a cube 20mm on each side then moves it up 10mm) and then colours it red
I only need the line command block and say the color reporter - I can work the others out if I had those
[edit]
If the variadic line command block can't be done then I could resort to this sort of construct