mirror of https://github.com/vitalif/Slic3r
Bugfix: fatal error for some models and thin walls not considered for skirt
parent
1c7564e4a4
commit
f08ebe97b2
|
@ -171,6 +171,7 @@ sub make_surfaces {
|
||||||
my $diff = diff_ex(
|
my $diff = diff_ex(
|
||||||
[ map $_->p, @surfaces ],
|
[ map $_->p, @surfaces ],
|
||||||
$outgrown,
|
$outgrown,
|
||||||
|
1,
|
||||||
);
|
);
|
||||||
|
|
||||||
push @{$self->thin_walls},
|
push @{$self->thin_walls},
|
||||||
|
|
|
@ -330,7 +330,7 @@ sub extrude_skirt {
|
||||||
my $skirt_height = $Slic3r::skirt_height;
|
my $skirt_height = $Slic3r::skirt_height;
|
||||||
$skirt_height = $self->layer_count if $skirt_height > $self->layer_count;
|
$skirt_height = $self->layer_count if $skirt_height > $self->layer_count;
|
||||||
my @layers = map $self->layer($_), 0..($skirt_height-1);
|
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;
|
return if !@points;
|
||||||
|
|
||||||
# find out convex hull
|
# find out convex hull
|
||||||
|
|
Loading…
Reference in New Issue