Skip to content

Commit f3e28ca

Browse files
committed
openscad#1258 Added testcase
1 parent c2cb237 commit f3e28ca

File tree

5 files changed

+12
-1
lines changed

5 files changed

+12
-1
lines changed

testdata/scad/bugs/issue1258.scad

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
difference() {
2+
translate([-6, 4, 30]) cube(size = [17.5, 48, 60], center = true);
3+
translate([-10.5, 3, 30]) cube(size = [20.5, 55, 80], center = true);
4+
}
5+
6+
translate([-0.25, -19, 33])
7+
rotate([0, 90, 0])
8+
rotate([0, 0, -45])
9+
cube(size = [15, 15, 3], center = false);
10+

tests/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,8 @@ list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue13.scad
12801280
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue945e.scad
12811281
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1223.scad
12821282
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1223b.scad
1283-
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1246.scad)
1283+
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1246.scad
1284+
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue1258.scad)
12841285

12851286
# We know that we cannot import weakly manifold files into CGAL, so to make tests easier
12861287
# to manage, don't try. Once we improve import, we can reenable this
7.14 KB
Loading
7.09 KB
Loading
7.35 KB
Loading

0 commit comments

Comments
 (0)