Suggest repair in non-manifold warning

This commit is contained in:
Alessandro Ranellucci 2012-07-21 12:07:02 +02:00
parent bce2663ed8
commit 1fdbd2c0e1

View file

@ -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]};
}
}