diff options
author | Marius Kintel <marius@kintel.net> | 2012-01-29 18:02:19 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-01-29 18:02:19 (GMT) |
commit | e541df8bb50df403afded7dfe73d9df5b542d2e4 (patch) | |
tree | 1b4451b2a910c11d6dd6e8a3b80645e50f80d1d3 /testdata | |
parent | 3c3bb91520ea841ef20b9bf7e6dd162abd1cfaa1 (diff) |
Added test case for recently fixed csg normalization bugfix
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/scad/bugs/intersection-prune-test.scad | 9 |
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(); +} |