mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Reapply correct optimization for simplifiying fill_surfaces before performing the offset. #1325
This commit is contained in:
parent
9433048873
commit
e29aca3553
5 changed files with 40 additions and 12 deletions
|
@ -209,12 +209,11 @@ sub make_perimeters {
|
|||
# and then we offset back and forth by the infill spacing to only consider the
|
||||
# non-collapsing regions
|
||||
push @{ $self->fill_surfaces },
|
||||
map $_->simplify(&Slic3r::SCALED_RESOLUTION),
|
||||
offset2_ex(
|
||||
\@last,
|
||||
-($perimeter_spacing/2 + $infill_spacing),
|
||||
+$infill_spacing,
|
||||
);
|
||||
offset2_ex(
|
||||
[ map $_->simplify_as_polygons(&Slic3r::SCALED_RESOLUTION), @{union_ex(\@last)} ],
|
||||
-($perimeter_spacing/2 + $infill_spacing),
|
||||
+$infill_spacing,
|
||||
);
|
||||
}
|
||||
|
||||
$self->_fill_gaps(\@gaps);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue