summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-23 13:12:35 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-23 13:12:35 (GMT)
commit03a2da9f4a63d8e384c91b0daf41eecdb9079336 (patch)
treec0e96b45a250ebb8910b5134a4808e215612c1b2 /testdata
parentcd3d816f93038e9cb35aaf8b8e0852dc8bb4cd49 (diff)
Test case for recent CSG regression reported by Ed Nisley
Diffstat (limited to 'testdata')
-rw-r--r--testdata/scad/bugs/bbox-transform-bug.scad9
1 files changed, 9 insertions, 0 deletions
diff --git a/testdata/scad/bugs/bbox-transform-bug.scad b/testdata/scad/bugs/bbox-transform-bug.scad
new file mode 100644
index 0000000..ccd2eab
--- /dev/null
+++ b/testdata/scad/bugs/bbox-transform-bug.scad
@@ -0,0 +1,9 @@
+//
+// Bug description: The intersection results in an empty object.
+// Cause: The rotated bounding box is wrongly calculated, yielding a
+// box which don't overlap with the bounding box of the second object.
+//
+intersection() {
+ rotate(45) cube(10);
+ translate([3,2,0]) cube(10);
+}
contact: Jan Huwald // Impressum