#1105 Added another testcase

master
Marius Kintel 2015-01-06 17:35:04 -05:00
parent 1a6a7392e7
commit 499a9717d7
5 changed files with 13 additions and 1 deletions

11
testdata/scad/bugs/issue1105b.scad vendored Normal file
View File

@ -0,0 +1,11 @@
translate([54.5, -10, 2])
rotate(90)
translate([2,30,26]) {
difference() {
cube(size = [4, 21.5, 4]);
translate([-0.1,-1.1,2]) cube(size = [2.1, 23.5, 2.1]);
}
}
translate([-3,-8,12]) cube(size = [6, 3, 20]);
translate([0, -5, 2]) rotate(90) rotate_extrude($fn = 10) polygon(points = [[0, 18], [0, 30], [7, 26]]);

View File

@ -1216,7 +1216,8 @@ list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue584.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue945b.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue945c.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue945d.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1105.scad)
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1105.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1105b.scad)
list(APPEND EXPORT3D_TEST_FILES ${BUGS_FILES})
list(REMOVE_ITEM EXPORT3D_TEST_FILES
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue899.scad

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB