mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-07 12:31:47 +08:00
Minor adjustment of infill_overlap math
This commit is contained in:
parent
38a9e32a28
commit
bc69d6da81
@ -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…
x
Reference in New Issue
Block a user