mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-23 02:40:58 -07:00
This commit is contained in:
parent
74f2f45554
commit
b551852392
2 changed files with 4 additions and 3 deletions
|
|
@ -249,9 +249,11 @@ sub _medial_axis_voronoi {
|
|||
} else {
|
||||
push @result, Slic3r::Polyline->new(@points);
|
||||
}
|
||||
$result[-1]->simplify($width / 7);
|
||||
}
|
||||
|
||||
# apply Douglas-Peucker to straighten paths
|
||||
@result = map $_->simplify($width / 7), @result;
|
||||
|
||||
return @result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue