Bugfix: sometimes a tiny gap was left between infill and perimeters. Includes regression test. #1803

This commit is contained in:
Alessandro Ranellucci 2014-04-11 23:10:14 +02:00
parent 2ac3b1fba9
commit 859bf46401
2 changed files with 41 additions and 2 deletions

View File

@ -192,6 +192,7 @@ sub make_perimeters {
my $diff = diff_ex( my $diff = diff_ex(
offset(\@last, -0.5*$pspacing), offset(\@last, -0.5*$pspacing),
offset(\@offsets, +0.5*$pspacing), offset(\@offsets, +0.5*$pspacing),
1,
); );
push @gaps, @last_gaps = grep abs($_->area) >= $gap_area_threshold, @$diff; push @gaps, @last_gaps = grep abs($_->area) >= $gap_area_threshold, @$diff;
} }

File diff suppressed because one or more lines are too long