diff options
author | Marius Kintel <marius@kintel.net> | 2014-02-11 06:04:27 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2014-02-11 06:04:27 (GMT) |
commit | ec52c4e713b38568faa7b80cd467b6ed6007f8ef (patch) | |
tree | ca4d09a35a5ae31c36e5093b2d231d8f2e256a9d | |
parent | 8d8518d12852adf6c7982ce75e90c587d82a3901 (diff) |
Added test for issue exporting volume with a cavity - #495
-rw-r--r-- | testdata/scad/bugs/issue495a.scad | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testdata/scad/bugs/issue495a.scad b/testdata/scad/bugs/issue495a.scad new file mode 100644 index 0000000..37f382c --- /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); +} |