From d4ba0f17bbaeff180f25252c512add240650b9a1 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Fri, 30 Jan 2015 18:32:25 +0100 Subject: [PATCH] Remove artifacts in original slices so that they're not amplified while generating perimeters. #2561 #2416 --- lib/Slic3r/Layer/PerimeterGenerator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Layer/PerimeterGenerator.pm b/lib/Slic3r/Layer/PerimeterGenerator.pm index 65950711f..0f1953d40 100644 --- a/lib/Slic3r/Layer/PerimeterGenerator.pm +++ b/lib/Slic3r/Layer/PerimeterGenerator.pm @@ -97,7 +97,7 @@ sub process { my @gaps = (); # ExPolygons - my @last = @{$surface->expolygon}; + my @last = @{$surface->expolygon->simplify_p(&Slic3r::SCALED_RESOLUTION)}; if ($loop_number >= 0) { # no loops = -1 my @contours = (); # depth => [ Polygon, Polygon ... ]