$parallel_degrees_limit decreased, 3 to 0.1, #704

Geometry::lines_parallel() test used for collapsing adjacent colinear
lines was too loose in testing for colinearity, because of this constant
setting. Gradualy curving and high-res outer perimiters would
over-simplify into straight lines.
degen-loop-screen
Mike Sheldrake 2012-09-27 06:14:54 -07:00
parent 02b11fb49a
commit 5ee68aa916
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ use constant X2 => 2;
use constant Y2 => 3;
use constant MIN => 0;
use constant MAX => 1;
our $parallel_degrees_limit = abs(deg2rad(3));
our $parallel_degrees_limit = abs(deg2rad(0.1));
sub epsilon () { 1E-4 }
sub scaled_epsilon () { epsilon / &Slic3r::SCALING_FACTOR }