Bugfix: wrong collision check in concentric infill. #2194

This commit is contained in:
Alessandro Ranellucci 2014-08-08 03:16:19 +02:00
parent 2d0b27abed
commit 956dd319e0

View file

@ -37,7 +37,7 @@ sub fill_surface {
# where the perimeter/infill spacing should be equal to any other loop spacing
my @loops = my @last = @{offset(\@$expolygon, -&Slic3r::INFILL_OVERLAP_OVER_SPACING * $min_spacing / 2)};
while (@last) {
push @loops, @last = @{offset2(\@last, -1.5*$distance, +0.5*$distance)};
push @loops, @last = @{offset2(\@last, -($distance + 0.5*$min_spacing), +0.5*$min_spacing)};
}
# generate paths from the outermost to the innermost, to avoid