Added testcase for #495

export-menu
Marius Kintel 2014-01-02 17:07:34 -05:00
parent 1bf5f44379
commit 0044ecde20
4 changed files with 10 additions and 1 deletions

8
testdata/scad/bugs/issue495.scad vendored Normal file
View File

@ -0,0 +1,8 @@
// The inner cube won't render correctly in OpenCSG mode as long as this bug is present
difference() {
render(convexity=2) difference() {
cube(20, center = true);
cube(10, center = true);
}
translate([0, 0, 15]) cube(30, center=true);
}

View File

@ -884,7 +884,8 @@ set_test_config(Heavy opencsgtest_minkowski3-tests
# Bugs
list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue541.scad
list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue495.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue541.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue578.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue578b.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue582.scad

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB