#913 added testcase

master
Marius Kintel 2014-08-20 11:11:18 -04:00
parent de6bcb1786
commit 04ac48f21c
4 changed files with 17 additions and 1 deletions

15
testdata/scad/bugs/issue913.scad vendored Normal file
View File

@ -0,0 +1,15 @@
module erode(r) {
difference() {
children();
minkowski() {
difference() {
cube(14, center=true);
children();
}
cube(2*r, center=true);
}
}
}
erode(2) cube(10, center=true);

View File

@ -1199,7 +1199,8 @@ list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue584.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue666.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue802.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue835.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue911.scad)
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue911.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue913.scad)
list(APPEND OPENCSGTEST_FILES ${BUGS_FILES})
list(APPEND CGALPNGTEST_FILES ${BUGS_FILES})

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB