diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-22 10:10:21 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-22 10:10:21 (GMT) |
commit | 59080526a488a8dfaafdb7ba26d59c29b7abfc13 (patch) | |
tree | 36fcf4ff2c85f214c58b1b0cfa826be01c14f049 /src/CGALEvaluator.cc | |
parent | 94f32b76470486d16a161824113197bb408f3617 (diff) |
cleanup
Diffstat (limited to 'src/CGALEvaluator.cc')
-rw-r--r-- | src/CGALEvaluator.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc index 3cf2862..064a36a 100644 --- a/src/CGALEvaluator.cc +++ b/src/CGALEvaluator.cc @@ -151,7 +151,7 @@ CGAL_Nef_polyhedron CGALEvaluator::applyHull(const CgaladvNode &node) else if (dim == 3) { CGAL_Polyhedron P; if (!chN.p3->is_simple()) { - PRINT("Object isn't a valid 2-manifold! Please modify your design. See http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/STL_Import_and_Export"); + PRINT("Hull() currently requires a valid 2-manifold. Please modify your design. See http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/STL_Import_and_Export"); } else { chN.p3->convert_to_Polyhedron(P); @@ -161,6 +161,7 @@ CGAL_Nef_polyhedron CGALEvaluator::applyHull(const CgaladvNode &node) } chnode->progress_report(); } + if (dim == 2) { std::list<CGAL_Nef_polyhedron2::Point> result; CGAL::convex_hull_2(points2d.begin(), points2d.end(),std:: back_inserter(result)); |