mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Promising approach to medial axis pruning
This commit is contained in:
@@ -135,10 +135,10 @@ ExPolygon::simplify(double tolerance, ExPolygons &expolygons) const
|
||||
}
|
||||
|
||||
void
|
||||
ExPolygon::medial_axis(Polylines* polylines) const
|
||||
ExPolygon::medial_axis(double width, Polylines* polylines) const
|
||||
{
|
||||
// init helper object
|
||||
Slic3r::Geometry::MedialAxis ma;
|
||||
Slic3r::Geometry::MedialAxis ma(width);
|
||||
|
||||
// populate list of segments for the Voronoi diagram
|
||||
this->contour.lines(&ma.lines);
|
||||
|
||||
Reference in New Issue
Block a user