From 6df76d448f0c8c7b0222acc63d6e7be7e7f76bbb Mon Sep 17 00:00:00 2001 From: supermerill Date: Wed, 11 Mar 2020 12:26:01 +0100 Subject: [PATCH] thin_perimeters fix --- src/libslic3r/PerimeterGenerator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/PerimeterGenerator.cpp b/src/libslic3r/PerimeterGenerator.cpp index 08ffb02a6..dfd61632c 100644 --- a/src/libslic3r/PerimeterGenerator.cpp +++ b/src/libslic3r/PerimeterGenerator.cpp @@ -419,7 +419,7 @@ void PerimeterGenerator::process() thin[0].remove_point_too_near((coord_t)SCALED_RESOLUTION); if (thin[0].area() > min_width*(ext_perimeter_width + ext_perimeter_spacing2)) { bound.remove_point_too_near((coord_t)SCALED_RESOLUTION); - // the maximum thickness of our thin wall area is equal to the minimum thickness of a single loop + // the maximum thickness of our thin wall area is equal to the minimum thickness of a single loop (*1.1 because of circles approx.) Slic3r::MedialAxis ma{ thin[0], (coord_t)((ext_perimeter_width + ext_perimeter_spacing2)*1.1), min_width, coord_t(this->layer_height) }; ma.use_bounds(bound) @@ -436,7 +436,7 @@ void PerimeterGenerator::process() //FIXME Is this offset correct if the line width of the inner perimeters differs // from the line width of the infill? coord_t good_spacing = (i == 1) ? ext_perimeter_spacing2 : perimeter_spacing; - if (this->config->thin_walls){ + if (!this->config->thin_perimeters){ // This path will ensure, that the perimeters do not overfill, as in // prusa3d/Slic3r GH #32, but with the cost of rounding the perimeters // excessively, creating gaps, which then need to be filled in by the not very