From ec52c4e713b38568faa7b80cd467b6ed6007f8ef Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Tue, 11 Feb 2014 01:04:27 -0500 Subject: [PATCH] Added test for issue exporting volume with a cavity - #495 --- testdata/scad/bugs/issue495a.scad | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 testdata/scad/bugs/issue495a.scad diff --git a/testdata/scad/bugs/issue495a.scad b/testdata/scad/bugs/issue495a.scad new file mode 100644 index 00000000..37f382ca --- /dev/null +++ b/testdata/scad/bugs/issue495a.scad @@ -0,0 +1,8 @@ +// Hollow cube. +// STL export is wrong (inner cube is positive instead of negative) +// This is fixed by applying and using the patch to CGAL containing +// convert_all_inner_shells_to_polyhedron() +difference() { + cube(20, center = true); + cube(10, center = true); +}