mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 03:29:02 +08:00
Suggest repair in non-manifold warning
This commit is contained in:
parent
bce2663ed8
commit
1fdbd2c0e1
@ -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…
x
Reference in New Issue
Block a user