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/STL.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/STL.pm')
-rw-r--r-- | lib/Slic3r/STL.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Slic3r/STL.pm b/lib/Slic3r/STL.pm index d0fd9e0e4..107ce2425 100644 --- a/lib/Slic3r/STL.pm +++ b/lib/Slic3r/STL.pm @@ -2,12 +2,9 @@ package Slic3r::STL; use Moo; use Math::Clipper qw(integerize_coordinate_sets is_counter_clockwise); -use Slic3r::Geometry qw(three_points_aligned longest_segment); +use Slic3r::Geometry qw(X Y Z three_points_aligned longest_segment); use XXX; -use constant X => 0; -use constant Y => 1; -use constant Z => 2; use constant MIN => 0; use constant MAX => 1; |