#1258 Added testcase

master
Marius Kintel 2015-03-13 15:34:52 -04:00
parent c2cb2377f5
commit f3e28ca8b4
5 changed files with 12 additions and 1 deletions

10
testdata/scad/bugs/issue1258.scad vendored Normal file
View File

@ -0,0 +1,10 @@
difference() {
translate([-6, 4, 30]) cube(size = [17.5, 48, 60], center = true);
translate([-10.5, 3, 30]) cube(size = [20.5, 55, 80], center = true);
}
translate([-0.25, -19, 33])
rotate([0, 90, 0])
rotate([0, 0, -45])
cube(size = [15, 15, 3], center = false);

View File

@ -1280,7 +1280,8 @@ list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue13.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue945e.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1223.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1223b.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1246.scad)
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1246.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1258.scad)
# We know that we cannot import weakly manifold files into CGAL, so to make tests easier
# to manage, don't try. Once we improve import, we can reenable this

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB