From fc399d60e287801fdc16b47437676c2aa94b9b8f Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 20 Nov 2012 17:43:20 +0100 Subject: [PATCH] Raise the miter limit to avoid squaring corners too easily. #801 --- lib/Slic3r/Geometry/Clipper.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Geometry/Clipper.pm b/lib/Slic3r/Geometry/Clipper.pm index 3382b9319..d91b185ea 100644 --- a/lib/Slic3r/Geometry/Clipper.pm +++ b/lib/Slic3r/Geometry/Clipper.pm @@ -21,7 +21,7 @@ sub offset { my ($polygons, $distance, $scale, $joinType, $miterLimit) = @_; $scale ||= 100000; $joinType //= JT_MITER; - $miterLimit //= 2; + $miterLimit //= 10; my $offsets = Math::Clipper::offset($polygons, $distance, $scale, $joinType, $miterLimit); return @$offsets;