Bugfix: fatal error for some models and thin walls not considered for skirt
This commit is contained in:
parent
1c7564e4a4
commit
f08ebe97b2
2 changed files with 2 additions and 1 deletions
|
@ -171,6 +171,7 @@ sub make_surfaces {
|
|||
my $diff = diff_ex(
|
||||
[ map $_->p, @surfaces ],
|
||||
$outgrown,
|
||||
1,
|
||||
);
|
||||
|
||||
push @{$self->thin_walls},
|
||||
|
|
|
@ -330,7 +330,7 @@ sub extrude_skirt {
|
|||
my $skirt_height = $Slic3r::skirt_height;
|
||||
$skirt_height = $self->layer_count if $skirt_height > $self->layer_count;
|
||||
my @layers = map $self->layer($_), 0..($skirt_height-1);
|
||||
my @points = map @$_, map $_->p, map @{ $_->slices }, @layers;
|
||||
my @points = map @$_, map $_->p, map +(@{$_->slices}, @{$_->thin_walls}), @layers;
|
||||
return if !@points;
|
||||
|
||||
# find out convex hull
|
||||
|
|
Loading…
Reference in a new issue