Test for #1455
This commit is contained in:
parent
2ff35fed0c
commit
ab8278416a
2 changed files with 20 additions and 1 deletions
17
testdata/scad/bugs/issue1455.scad
vendored
Normal file
17
testdata/scad/bugs/issue1455.scad
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
module object() {
|
||||
difference() {
|
||||
translate ([0, 0, 12]) cube(30, center=true);
|
||||
translate ([0, 0, 12]) cube ([20, 10, 10], center=true);
|
||||
translate ([0, 0, 3]) cylinder ( h=10, r1=8, r2=8, center=true);
|
||||
}
|
||||
|
||||
difference() {
|
||||
translate ([0, 0, 0]) cube ([18,18,25], center=true);
|
||||
translate ([0, 0, 12]) cube ([20, 10, 10], center=true);
|
||||
}
|
||||
}
|
||||
|
||||
minkowski() {
|
||||
object();
|
||||
cube(2);
|
||||
}
|
||||
|
|
@ -1188,6 +1188,7 @@ list(APPEND EXPORT3D_CGALCGAL_TEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/3D
|
|||
${CMAKE_SOURCE_DIR}/../testdata/scad/3D/issues/issue1215c.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/3D/issues/issue1221.scad
|
||||
${CMAKE_SOURCE_DIR}/../testdata/scad/3D/issues/issue1225.scad)
|
||||
|
||||
# Issue #910
|
||||
set_test_config(Bugs
|
||||
offcgalpngtest_polyhedron-tests
|
||||
|
|
@ -1321,7 +1322,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/issue1455.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
|
||||
|
|
|
|||
Loading…
Reference in a new issue