mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Optimization: simplify fill_surfaces before the offset operation
This commit is contained in:
@@ -209,9 +209,8 @@ sub make_perimeters {
|
|||||||
# and then we offset back and forth by the infill spacing to only consider the
|
# and then we offset back and forth by the infill spacing to only consider the
|
||||||
# non-collapsing regions
|
# non-collapsing regions
|
||||||
push @{ $self->fill_surfaces },
|
push @{ $self->fill_surfaces },
|
||||||
map $_->simplify(&Slic3r::SCALED_RESOLUTION),
|
|
||||||
offset2_ex(
|
offset2_ex(
|
||||||
\@last,
|
[ map $_->simplify(&Slic3r::SCALED_RESOLUTION), @last ],
|
||||||
-($perimeter_spacing/2 + $infill_spacing),
|
-($perimeter_spacing/2 + $infill_spacing),
|
||||||
+$infill_spacing,
|
+$infill_spacing,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user