diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2011-11-12 01:01:27 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2011-11-12 13:18:20 +0400 |
commit | c5d5e4d244f049ef9068f3b13370577774916cc2 (patch) | |
tree | f722ffc4a7f07b59516be8d8dcced7032445bcc4 /lib/Slic3r/Print.pm | |
parent | fec816b065aa869facbcacb6e64c4ef6bf23c01f (diff) |
Cleanup lines resulting from plane intersection before detecting polygons. This allows for more tolerance with dirty models. Performance impact depends on how many layers are detected as dirty. #16 #28
Diffstat (limited to 'lib/Slic3r/Print.pm')
-rw-r--r-- | lib/Slic3r/Print.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 4873faa1d..82dfe585c 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -2,12 +2,10 @@ package Slic3r::Print; use Moo; use Math::Clipper ':all'; +use Slic3r::Geometry qw(X Y); use Slic3r::Geometry::Clipper qw(explode_expolygons safety_offset diff_ex intersection_ex); use XXX; -use constant X => 0; -use constant Y => 1; - has 'x_length' => ( is => 'ro', required => 1, |