mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
avoid overlap of single layer and multilayer fill
A single-layer rectilinear or honeycomb fill under a low slope wall/ceiling or extra perimeter will stick out from under the overhang, because those fills get extended beyond their fill_surface boundaries to purposely overlap perimeters. This causes interference with multil-layer fills. This commit clips the single layer fill boundaries a bit more where they interface with multi-layer fill boundaries, to avoid overlap.
This commit is contained in:
parent
9a86edc70c
commit
c2f04f2861
1 changed files with 5 additions and 0 deletions
|
@ -569,6 +569,11 @@ sub combine_infill {
|
|||
my @intersection_with_clearance = map $_->offset(
|
||||
$layerms[-1]->infill_flow->scaled_width / 2
|
||||
+ $layerms[-1]->perimeter_flow->scaled_width / 2
|
||||
# Because fill areas for rectilinear and honeycomb are grown
|
||||
# later to overlap perimeters, we need to counteract that too.
|
||||
+ (($type == S_TYPE_INTERNALSOLID || $Slic3r::Config->fill_pattern =~ /(rectilinear|honeycomb)/)
|
||||
? $layerms[-1]->infill_flow->scaled_width * &Slic3r::PERIMETER_INFILL_OVERLAP_OVER_SPACING
|
||||
: 0)
|
||||
), @$intersection;
|
||||
|
||||
foreach my $layerm (@layerms) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue