summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2014-01-03 01:57:53 (GMT)
committerMarius Kintel <marius@kintel.net>2014-01-03 01:57:53 (GMT)
commitbda8e6b55b5d186a91c53c9050bc6a3d412edd40 (patch)
treeda8658b4ae71fa9299fa4e5c665a5dc048727fd4 /testdata
parent0044ecde206330ac1cd2857a83006e9860dc0229 (diff)
Added another testcase for #495
Diffstat (limited to 'testdata')
-rw-r--r--testdata/scad/bugs/issue495b.scad6
1 files changed, 6 insertions, 0 deletions
diff --git a/testdata/scad/bugs/issue495b.scad b/testdata/scad/bugs/issue495b.scad
new file mode 100644
index 0000000..fb868ba
--- /dev/null
+++ b/testdata/scad/bugs/issue495b.scad
@@ -0,0 +1,6 @@
+// In CGAL mode, there should be a cavity
+difference() {
+ polyhedron(convexity=2, faces=[[2,1,0],[3,1,2],[4,0,1],[4,1,5],[4,2,0],[6,2,4],[6,3,2],[7,3,6],[5,1,3],[5,3,7],[6,4,5],[6,5,7],[9,10,8],[9,11,10],[8,12,9],[9,12,13],[10,12,8],[10,14,12],[11,14,10],[11,15,14],[9,13,11],[11,13,15],[12,14,13],[13,14,15]],
+points=[[-5,-5,-5],[-5,-5,5],[-5,5,-5],[-5,5,5],[5,-5,-5],[5,-5,5],[5,5,-5],[5,5,5],[-2.5,-2.5,-2.5],[-2.5,-2.5,2.5],[-2.5,2.5,-2.5],[-2.5,2.5,2.5],[2.5,-2.5,-2.5],[2.5,-2.5,2.5],[2.5,2.5,-2.5],[2.5,2.5,2.5]]);
+ translate([0,0,10]) cube(20, center=true);
+} \ No newline at end of file
contact: Jan Huwald // Impressum