summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testdata/scad/bugs/issue578.scad13
-rw-r--r--testdata/scad/bugs/issue578.stlbin0 -> 181884 bytes
-rw-r--r--tests/CMakeLists.txt1
-rw-r--r--tests/regression/cgalpngtest/issue578-expected.pngbin0 -> 12296 bytes
-rw-r--r--tests/regression/opencsgtest/issue578-expected.pngbin0 -> 12296 bytes
5 files changed, 14 insertions, 0 deletions
diff --git a/testdata/scad/bugs/issue578.scad b/testdata/scad/bugs/issue578.scad
new file mode 100644
index 0000000..1c750cf
--- /dev/null
+++ b/testdata/scad/bugs/issue578.scad
@@ -0,0 +1,13 @@
+/*
+sorry, this triangulation does not deal with
+ intersecting constraints
+CGAL error: assertion violation!
+Expression : false
+File : ../libraries/install/include/CGAL/Constrained_triangulation_2.h
+Line : 636
+Explanation:
+Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
+2013-12-29 21:15:18.937 OpenSCAD[35590:507] ERROR: CGAL NefPolyhedron Triangulation failed
+2013-12-29 21:15:19.104 OpenSCAD[35590:507] ERROR: CGAL NefPolyhedron->Polyhedron conversion failed.
+*/
+render() import("issue578.stl");
diff --git a/testdata/scad/bugs/issue578.stl b/testdata/scad/bugs/issue578.stl
new file mode 100644
index 0000000..174fd7b
--- /dev/null
+++ b/testdata/scad/bugs/issue578.stl
Binary files differ
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 0d5026c..f40a772 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -885,6 +885,7 @@ set_test_config(Heavy opencsgtest_minkowski3-tests
# Bugs
list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue541.scad
+ ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue578.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue582.scad)
list(APPEND OPENCSGTEST_FILES ${BUGS_FILES})
list(APPEND CGALPNGTEST_FILES ${BUGS_FILES})
diff --git a/tests/regression/cgalpngtest/issue578-expected.png b/tests/regression/cgalpngtest/issue578-expected.png
new file mode 100644
index 0000000..e4fde15
--- /dev/null
+++ b/tests/regression/cgalpngtest/issue578-expected.png
Binary files differ
diff --git a/tests/regression/opencsgtest/issue578-expected.png b/tests/regression/opencsgtest/issue578-expected.png
new file mode 100644
index 0000000..e4fde15
--- /dev/null
+++ b/tests/regression/opencsgtest/issue578-expected.png
Binary files differ
contact: Jan Huwald // Impressum