summaryrefslogtreecommitdiff
path: root/testdata/scad/bugs
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-06 13:49:11 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-06 13:49:11 (GMT)
commit1cf876734fa85d06dfbe6458e49165709f4fcf9c (patch)
treed2bc1aa557717d27deec759275caccef2c182de6 /testdata/scad/bugs
parent1d7a05744a36406d188f4d274403df69310f6bdb (diff)
Crash bug by Brad Pitcher
Diffstat (limited to 'testdata/scad/bugs')
-rw-r--r--testdata/scad/bugs/gridbug.scad9
1 files changed, 9 insertions, 0 deletions
diff --git a/testdata/scad/bugs/gridbug.scad b/testdata/scad/bugs/gridbug.scad
new file mode 100644
index 0000000..678a22a
--- /dev/null
+++ b/testdata/scad/bugs/gridbug.scad
@@ -0,0 +1,9 @@
+// This crashes OpenSCAD including 2011.06 in PolyReducer due to two vertices of
+// a triangle evaluating to the same index
+linear_extrude(height=2)
+ polygon(points=[[0, 0],
+ [1, 0],
+ [1.0014, 1],
+ [1, 1],
+ [0, 1]],
+ paths=[[0,1,2,3,4]]);
contact: Jan Huwald // Impressum