mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 21:14:01 -06:00
Bugfix: flow wasn't adjusted for perimeters when a custom perimeters extrusion width was applied
This commit is contained in:
parent
07f2dab5f6
commit
c4b9a6cf61
4 changed files with 17 additions and 6 deletions
|
@ -178,11 +178,17 @@ sub make_fill {
|
|||
}
|
||||
|
||||
# add thin fill regions
|
||||
push @fills, map {
|
||||
{
|
||||
my %args = (
|
||||
role => EXTR_ROLE_SOLIDFILL,
|
||||
flow_spacing => $layer->perimeters_flow->spacing,
|
||||
);
|
||||
push @fills, map {
|
||||
$_->isa('Slic3r::Polygon')
|
||||
? Slic3r::ExtrusionLoop->new(polygon => $_, role => EXTR_ROLE_SOLIDFILL)->split_at_first_point
|
||||
: Slic3r::ExtrusionPath->new(polyline => $_, role => EXTR_ROLE_SOLIDFILL),
|
||||
? Slic3r::ExtrusionLoop->new(polygon => $_, %args)->split_at_first_point
|
||||
: Slic3r::ExtrusionPath->new(polyline => $_, %args),
|
||||
} @{$layer->thin_fills};
|
||||
}
|
||||
push @fills_ordering_points, map $_->[0], @{$layer->thin_fills};
|
||||
|
||||
# organize infill paths using a shortest path search
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue