summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'testdata')
-rw-r--r--testdata/scad/misc/rotate-empty-bbox.scad11
1 files changed, 11 insertions, 0 deletions
diff --git a/testdata/scad/misc/rotate-empty-bbox.scad b/testdata/scad/misc/rotate-empty-bbox.scad
new file mode 100644
index 0000000..f39a923
--- /dev/null
+++ b/testdata/scad/misc/rotate-empty-bbox.scad
@@ -0,0 +1,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