Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-03-23 15:21:44 +0300
committerbubnikv <bubnikv@gmail.com>2017-03-23 15:21:44 +0300
commitcc9460b8fa99512b5544cd37a9a06fe616d05efa (patch)
tree54d48783689846b7cf837a1af7bd4c3d30045d08 /t
parent9e0a690d2e9a8349dca42b75c5a14e39ea6cab6f (diff)
Increased a threshold for print centering from EPSILON to 5um
to account for the decimation of the brim lines.
Diffstat (limited to 't')
-rw-r--r--t/print.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/print.t b/t/print.t
index 28cf1ee42..b716d9d9d 100644
--- a/t/print.t
+++ b/t/print.t
@@ -26,8 +26,8 @@ use Slic3r::Test;
});
my $bb = Slic3r::Geometry::BoundingBox->new_from_points(\@extrusion_points);
my $center = $bb->center;
- ok abs(unscale($center->[X]) - $print_center->[X]) < epsilon, 'print is centered around print_center (X)';
- ok abs(unscale($center->[Y]) - $print_center->[Y]) < epsilon, 'print is centered around print_center (Y)';
+ ok abs(unscale($center->[X]) - $print_center->[X]) < 0.005, 'print is centered around print_center (X)';
+ ok abs(unscale($center->[Y]) - $print_center->[Y]) < 0.005, 'print is centered around print_center (Y)';
}
{