summaryrefslogtreecommitdiff
path: root/testdata/scad/misc/rotate-empty-bbox.scad
blob: f39a923f1974f661b48fa8252666edf4c3fba1ee (plain)
1
2
3
4
5
6
7
8
9
10
11
// rotate([90,0,0]) results in a matrix with some close-to-zero values
// Transforming an empty boundingbox by this matrix has caused a problem resulting
// in the union being evaluated to nothing.
rotate([90,0,0]) 
difference() {
  cube(60, center=true);
  union() {
    translate([0,0,40]) cube(50, center=true);
    cube(0);
  }
}
contact: Jan Huwald // Impressum