#1221 Added testcase

master
Marius Kintel 2015-02-19 20:21:02 -05:00
parent e4aae1cc62
commit b7617fd82f
5 changed files with 10 additions and 1 deletions

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

@ -0,0 +1,8 @@
$fn=4;
difference(){
! union(){
translate([0,0,-1.5]) cylinder(h=9, r=26, center=true);
translate([0.0, 0.0, 6.0]) rotate([180, 0, 0]) cylinder(h=3, r1=25, r2=26);
}
cylinder(h=14, r=23.0, center=true);
}

View File

@ -1266,7 +1266,8 @@ list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue13.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1105d.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1215.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1215b.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1215c.scad)
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1215c.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1221.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: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB