#964 Added testcases

master
Marius Kintel 2014-09-30 19:38:43 -04:00
parent 3b307fba93
commit 1121c96a11
7 changed files with 17 additions and 0 deletions

16
testdata/scad/bugs/issue964.scad vendored Normal file
View File

@ -0,0 +1,16 @@
polyhedron(points=[
[0,0,0],
[10,0,0],
[10,10,0],
[0,10,0],
[0,-20,20],
[10,-20,20],
[10,-20,30],
[0,-20,30]
],
faces = [[0,1,2,3],[4,5,6,7],
[1,2,5,4],
[2,3,6,5],
[3,0,6,5],
[0,1,4,7]
]);

1
testdata/scad/bugs/issue964b.scad vendored Normal file
View File

@ -0,0 +1 @@
polyhedron(points = [[8.4991, -4.98973, 62.7876], [-0.423767, 0.0568668, 64.4948], [-0.505246, -10.1774, 62.6914], [9.17023, -6.28686, 70.9731], [0.213931, -1.18909, 69.6324], [0.168244, -11.4782, 71.0926], [6.96718, -1.88303, 76.9407], [0.507199, -1.73168, 68.8016], [-2.19023, -6.7664, 77.4835], [3.05033, 5.76153, 77.3746], [-2.1412, 3.4281, 68.6796], [-6.17499, 1.01119, 77.9472]], faces = [[0, 3, 4, 1], [1, 4, 5, 2], [2, 5, 3, 0], [3, 6, 7, 4], [4, 7, 8, 5], [5, 8, 6, 3], [6, 9, 10, 7], [7, 10, 11, 8], [8, 11, 9, 6], [2, 1, 0], [9, 10, 11]]);

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB