$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.
This commit is contained in:
parent
02b11fb49a
commit
5ee68aa916
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ use constant X2 => 2;
|
||||||
use constant Y2 => 3;
|
use constant Y2 => 3;
|
||||||
use constant MIN => 0;
|
use constant MIN => 0;
|
||||||
use constant MAX => 1;
|
use constant MAX => 1;
|
||||||
our $parallel_degrees_limit = abs(deg2rad(3));
|
our $parallel_degrees_limit = abs(deg2rad(0.1));
|
||||||
|
|
||||||
sub epsilon () { 1E-4 }
|
sub epsilon () { 1E-4 }
|
||||||
sub scaled_epsilon () { epsilon / &Slic3r::SCALING_FACTOR }
|
sub scaled_epsilon () { epsilon / &Slic3r::SCALING_FACTOR }
|
||||||
|
|
Loading…
Reference in a new issue