summaryrefslogtreecommitdiff
path: root/src/CGALEvaluator.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-08-22 10:10:21 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-08-22 10:10:21 (GMT)
commit59080526a488a8dfaafdb7ba26d59c29b7abfc13 (patch)
tree36fcf4ff2c85f214c58b1b0cfa826be01c14f049 /src/CGALEvaluator.cc
parent94f32b76470486d16a161824113197bb408f3617 (diff)
cleanup
Diffstat (limited to 'src/CGALEvaluator.cc')
-rw-r--r--src/CGALEvaluator.cc3
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));
contact: Jan Huwald // Impressum