colah/ImplicitCAD — Issue #30: implicit unions are missing in several of places
Author: tolomea
Created: 2012-03-03 23:24:46+00:00
State: open

In openscad transform modules union their arguments, as does the top level. So these all produce 2 spheres in penscad while in implicitcad they only produce 1 sphere, in all cases of size one, for the first two cases because that one was first, in the third case the difference of the first and second which is the first since they are non intersecting.

sphere(1);
translate([10,10,10]) sphere(2);

translate([0,0,0]){
sphere(1);
translate([10,10,10]) sphere(2);
}

difference(){
translate([0,0,0]){
sphere(1);
translate([10,10,10]) sphere(2);
}
}