Bugfix: fatal error for some models and thin walls not considered for skirt

degen-loop-screen
Alessandro Ranellucci 2011-12-30 18:51:48 +01:00
parent 1c7564e4a4
commit f08ebe97b2
2 changed files with 2 additions and 1 deletions

View File

@ -171,6 +171,7 @@ sub make_surfaces {
my $diff = diff_ex(
[ map $_->p, @surfaces ],
$outgrown,
1,
);
push @{$self->thin_walls},

View File

@ -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