Suggest repair in non-manifold warning
This commit is contained in:
parent
bce2663ed8
commit
1fdbd2c0e1
1 changed files with 2 additions and 2 deletions
|
@ -131,8 +131,8 @@ sub check_manifoldness {
|
||||||
my ($first_bad_edge_id) =
|
my ($first_bad_edge_id) =
|
||||||
grep { @{ $self->edges_facets->[$_] } != 2 } 0..$#{$self->edges_facets};
|
grep { @{ $self->edges_facets->[$_] } != 2 } 0..$#{$self->edges_facets};
|
||||||
if (defined $first_bad_edge_id) {
|
if (defined $first_bad_edge_id) {
|
||||||
warn sprintf "Warning: The input file is not manifold near edge %f-%f. "
|
warn sprintf "Warning: The input file contains a hole near edge %f-%f (not manifold). "
|
||||||
. "You might want to check the resulting G-code before printing.\n",
|
. "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]};
|
@{$self->edges->[$first_bad_edge_id]};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue