Minor adjustment of infill_overlap math
This commit is contained in:
parent
38a9e32a28
commit
bc69d6da81
1 changed files with 4 additions and 1 deletions
|
@ -320,7 +320,10 @@ sub process {
|
||||||
# two or more loops
|
# two or more loops
|
||||||
$inset += $pspacing/2;
|
$inset += $pspacing/2;
|
||||||
}
|
}
|
||||||
$inset -= $self->config->get_abs_value_over('infill_overlap', $pwidth);
|
|
||||||
|
# only apply infill overlap if we actually have one perimeter
|
||||||
|
$inset -= $self->config->get_abs_value_over('infill_overlap', $inset + $ispacing/2)
|
||||||
|
if $inset > 0;
|
||||||
|
|
||||||
my $min_perimeter_infill_spacing = $ispacing * (1 - &Slic3r::INSET_OVERLAP_TOLERANCE);
|
my $min_perimeter_infill_spacing = $ispacing * (1 - &Slic3r::INSET_OVERLAP_TOLERANCE);
|
||||||
$self->fill_surfaces->append($_)
|
$self->fill_surfaces->append($_)
|
||||||
|
|
Loading…
Reference in a new issue