Bugfix: medial axis was not using new Douglas-Peucker implementation
This commit is contained in:
parent
cc695c6c22
commit
044053a3f7
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ sub medial_axis {
|
|||
|
||||
# cleanup
|
||||
Slic3r::Geometry::polyline_remove_short_segments($polyline, $width / 2);
|
||||
@$polyline = Slic3r::Geometry::Douglas_Peucker($polyline, $width / 100);
|
||||
$polyline = Slic3r::Geometry::douglas_peucker($polyline, $width / 7);
|
||||
Slic3r::Geometry::polyline_remove_parallel_continuous_edges($polyline);
|
||||
|
||||
if (Slic3r::Geometry::same_point($polyline->[0], $polyline->[-1])) {
|
||||
|
|
Loading…
Reference in a new issue