#1105 Added testcase

master
Marius Kintel 2014-12-28 16:05:33 -05:00
parent 06e2fc7d9b
commit 89419f50a1
5 changed files with 14 additions and 1 deletions

12
testdata/scad/bugs/issue1105.scad vendored Normal file
View File

@ -0,0 +1,12 @@
translate([-31.5, -30, 1]) {
rotate(90) {
translate([2, -51.5, 26]) {
difference() {
cube([4, 14, 4]);
translate([-0.1,-1,2.1]) cube([2.1, 16, 2.1]);
}
}
}
}
translate([3, -25, 1]) rotate_extrude($fn=12) polygon(points = [[0, 20], [0, 30], [7, 26]]);
translate([0, -28, 20]) cube([6, 3, 10]);

View File

@ -1217,7 +1217,8 @@ list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue584.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1004.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1005.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1061.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1069.scad)
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1069.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1105.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.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB