Closed garyhodgson closed 11 years ago
function appears to be called 3 times (an echo statement in it is called three times, but i is shown to be always 3), and the resulting jscad is:
function main(){
return CSG.cube({center: [0,0,0],radius: [4,4,4], resolution: 16}).translate([3,0,0]).subtract([CSG.sphere({center: [0,0,0], radius: 5, resolution: 16})]);
};
Produces a shorter block than in OpenSCAD![](https://dl.dropbox.com/u/22464622/images/openscad_net_issue_3.png)