mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 16:59:04 +08:00
One more offset_ex() optimization
This commit is contained in:
parent
0e100827f8
commit
df62c25c8f
@ -258,12 +258,11 @@ sub make_perimeters {
|
|||||||
# non-collapsing regions
|
# non-collapsing regions
|
||||||
push @{ $self->fill_surfaces },
|
push @{ $self->fill_surfaces },
|
||||||
map $_->simplify(&Slic3r::SCALED_RESOLUTION),
|
map $_->simplify(&Slic3r::SCALED_RESOLUTION),
|
||||||
@{union_ex([
|
offset2_ex(
|
||||||
Slic3r::Geometry::Clipper::offset(
|
[ map @$_, @last_offsets ],
|
||||||
[Slic3r::Geometry::Clipper::offset([ map @$_, @last_offsets ], -($perimeter_spacing/2 + $infill_spacing))],
|
-($perimeter_spacing/2 + $infill_spacing),
|
||||||
+$infill_spacing,
|
+$infill_spacing,
|
||||||
),
|
);
|
||||||
])};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# fill gaps
|
# fill gaps
|
||||||
|
Loading…
x
Reference in New Issue
Block a user