mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-03 01:05:14 +08:00
$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
@ -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…
x
Reference in New Issue
Block a user