summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-03 20:57:58 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-03 20:57:58 (GMT)
commit83233b035f8f2a0984580640f9545718f245d81b (patch)
tree0d93e1aa574b60268a12046f8ada9448ef30eb2d
parent6096f2734a9a2f2c789f2e948c021def6b41f85b (diff)
Added note about 2D union bug
-rw-r--r--doc/TODO.txt1
-rw-r--r--testdata/scad/bugs/polygon-touch.scad5
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/TODO.txt b/doc/TODO.txt
index dd46b7b..5fe22bb 100644
--- a/doc/TODO.txt
+++ b/doc/TODO.txt
@@ -6,6 +6,7 @@ o Tesselation via GLU sometimes produces strange results
o Export STL: Exports existing CGAL model even though the current model is changed, but not CGAL rendered
o Look into the polygon winding and rotate_extrude() problem reported by Britton
o CGAL Aff_transformation_3 doesn't support non-affine transformations (non-aff-matrix.scad)
+o 2D union of polygons with a touching vertex doesn't work. see testdata/scad/bugs/polygon-touch.scad
STL Import BUGS
---------------
diff --git a/testdata/scad/bugs/polygon-touch.scad b/testdata/scad/bugs/polygon-touch.scad
new file mode 100644
index 0000000..afa2938
--- /dev/null
+++ b/testdata/scad/bugs/polygon-touch.scad
@@ -0,0 +1,5 @@
+# Somehow the 2D union/tessellation algorithm doesn't support touching polygons
+# Changing translate([-10,-10,0]) to translate([-9.99,-9.99,0]) works
+
+square([10,10]);
+translate([-10,-10,0]) square([10,10]);
contact: Jan Huwald // Impressum