mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Simplified the skirt paths.
This commit is contained in:
@@ -958,7 +958,12 @@ void Print::_make_skirt()
|
||||
// Offset the skirt outside.
|
||||
distance += coord_t(scale_(spacing));
|
||||
// Generate the skirt centerline.
|
||||
Polygon loop = offset(convex_hull, distance, ClipperLib::jtRound, scale_(0.1)).front();
|
||||
Polygon loop;
|
||||
{
|
||||
Polygons loops = offset(convex_hull, distance, ClipperLib::jtRound, scale_(0.1));
|
||||
Geometry::simplify_polygons(loops, scale_(0.05), &loops);
|
||||
loop = loops.front();
|
||||
}
|
||||
// Extrude the skirt loop.
|
||||
ExtrusionLoop eloop(elrSkirt);
|
||||
eloop.paths.emplace_back(ExtrusionPath(
|
||||
|
||||
Reference in New Issue
Block a user