mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-14 19:11:47 +08:00
make skirt simplify depends on nozzle diameter
This commit is contained in:
parent
7c0608f5be
commit
e47de1b315
@ -1999,7 +1999,8 @@ void Print::_make_skirt(const PrintObjectPtrs &objects, ExtrusionEntityCollectio
|
|||||||
Polygon loop;
|
Polygon loop;
|
||||||
{
|
{
|
||||||
Polygons loops = offset(convex_hull, distance, ClipperLib::jtRound, float(scale_(0.1)));
|
Polygons loops = offset(convex_hull, distance, ClipperLib::jtRound, float(scale_(0.1)));
|
||||||
Geometry::simplify_polygons(loops, scale_(0.05), &loops);
|
//make sure the skirt is simple enough
|
||||||
|
Geometry::simplify_polygons(loops, flow.scaled_width() / 10, &loops);
|
||||||
if (loops.empty())
|
if (loops.empty())
|
||||||
break;
|
break;
|
||||||
loop = loops.front();
|
loop = loops.front();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user