From 1fdbd2c0e15fb9d0cc1218aa46e8f2c866764ca1 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 21 Jul 2012 12:07:02 +0200 Subject: [PATCH] Suggest repair in non-manifold warning --- lib/Slic3r/TriangleMesh.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/TriangleMesh.pm b/lib/Slic3r/TriangleMesh.pm index 4fa77ccd4..46652494f 100644 --- a/lib/Slic3r/TriangleMesh.pm +++ b/lib/Slic3r/TriangleMesh.pm @@ -131,8 +131,8 @@ sub check_manifoldness { my ($first_bad_edge_id) = grep { @{ $self->edges_facets->[$_] } != 2 } 0..$#{$self->edges_facets}; if (defined $first_bad_edge_id) { - warn sprintf "Warning: The input file is not manifold near edge %f-%f. " - . "You might want to check the resulting G-code before printing.\n", + warn sprintf "Warning: The input file contains a hole near edge %f-%f (not manifold). " + . "You might want to repair it and retry, or to check the resulting G-code before printing anyway.\n", @{$self->edges->[$first_bad_edge_id]}; } }