From bfd921d0b45cfc70f94ff814c0c55414d2a092a5 Mon Sep 17 00:00:00 2001 From: supermerill Date: Sat, 9 Feb 2019 17:01:17 +0100 Subject: [PATCH] give gapfill the overlap slic3rPE has and thinwall the exact width slic3r has. clean a log change thinwall min width from nozzle to nozzle*1.05 (thinnest safe extrusion width from https://manual.slic3r.org/advanced/flow-math) --- src/libslic3r/MedialAxis.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/libslic3r/MedialAxis.cpp b/src/libslic3r/MedialAxis.cpp index 753a7d00a..2fc9476b7 100644 --- a/src/libslic3r/MedialAxis.cpp +++ b/src/libslic3r/MedialAxis.cpp @@ -690,7 +690,6 @@ MedialAxis::extends_line(ThickPolyline& polyline, const ExPolygons& anchors, con break; } } - if (!is_in_anchor) std::cout << "not in anchor:\n"; if (!is_in_anchor) return; new_bound = line.b; } @@ -1492,6 +1491,8 @@ MedialAxis::build(ThickPolylines* polylines_out) { } +/// Grow the extrusion to at least nozzle_diameter*1.05 (lowest safe extrusion width) +/// Do not grow points inside the anchor. void MedialAxis::grow_to_nozzle_diameter(ThickPolylines& pp, const ExPolygons& anchors) { //ensure the width is not lower than 0.4. @@ -1504,7 +1505,8 @@ MedialAxis::grow_to_nozzle_diameter(ThickPolylines& pp, const ExPolygons& anchor break; } } - if (!is_anchored && polyline.width[i]