summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-29 18:02:19 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-29 18:02:19 (GMT)
commite541df8bb50df403afded7dfe73d9df5b542d2e4 (patch)
tree1b4451b2a910c11d6dd6e8a3b80645e50f80d1d3 /testdata
parent3c3bb91520ea841ef20b9bf7e6dd162abd1cfaa1 (diff)
Added test case for recently fixed csg normalization bugfix
Diffstat (limited to 'testdata')
-rw-r--r--testdata/scad/bugs/intersection-prune-test.scad9
1 files changed, 9 insertions, 0 deletions
diff --git a/testdata/scad/bugs/intersection-prune-test.scad b/testdata/scad/bugs/intersection-prune-test.scad
new file mode 100644
index 0000000..3c6df7a
--- /dev/null
+++ b/testdata/scad/bugs/intersection-prune-test.scad
@@ -0,0 +1,9 @@
+// This tree cannot be pruned inline, but will still result in an empty CSG tree
+// Crashes OpenSCAD-2011.12. Bug fixed in 14e4f3bb
+intersection() {
+ union() {
+ cube();
+ translate([4,0,0]) cube();
+ }
+ translate([2,0,0]) cube();
+}
contact: Jan Huwald // Impressum