offset miter limit to 3 - 801 828 836 851 875 - spikes and pimples

Was set to 10 to address 801. Setting to 3 has the same effect for 801,
and avoids spike artifacts that are likely causing "spike and pimple"
problems in the referenced issues.
obj-materials
Mike Sheldrake 2013-01-13 02:50:49 -08:00
parent ad9be0e4d7
commit 68fc91d854
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ sub offset {
my ($polygons, $distance, $scale, $joinType, $miterLimit) = @_;
$scale ||= 100000;
$joinType //= JT_MITER;
$miterLimit //= 10;
$miterLimit //= 3;
my $offsets = Math::Clipper::offset($polygons, $distance, $scale, $joinType, $miterLimit);
return @$offsets;