mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
This commit is contained in:
parent
20f1f3d2b4
commit
cacbaa7319
2 changed files with 4 additions and 2 deletions
|
@ -203,6 +203,9 @@ sub _medial_axis_voronoi {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# apply Douglas-Peucker to straighten paths
|
||||||
|
@result = map $_->simplify($width / 7), @result;
|
||||||
|
|
||||||
return @result;
|
return @result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -297,8 +297,7 @@ sub make_perimeters {
|
||||||
# append perimeters
|
# append perimeters
|
||||||
$self->perimeters->append(@loops);
|
$self->perimeters->append(@loops);
|
||||||
|
|
||||||
# detect thin walls by offsetting slices by half extrusion inwards
|
# process thin walls by collapsing slices to single passes
|
||||||
# and add them as perimeters
|
|
||||||
if (@thin_walls) {
|
if (@thin_walls) {
|
||||||
my @p = map $_->medial_axis($pspacing), @thin_walls;
|
my @p = map $_->medial_axis($pspacing), @thin_walls;
|
||||||
my @paths = ();
|
my @paths = ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue