Oops. Somehow I missed this when doing interactive add.
This commit is contained in:
parent
ca78bbd88a
commit
60ca76ff05
1 changed files with 1 additions and 4 deletions
|
@ -5,7 +5,7 @@ use warnings;
|
||||||
use Math::Clipper qw();
|
use Math::Clipper qw();
|
||||||
use Scalar::Util qw(reftype);
|
use Scalar::Util qw(reftype);
|
||||||
use Slic3r::Geometry qw(A B polyline_remove_parallel_continuous_edges polyline_remove_acute_vertices
|
use Slic3r::Geometry qw(A B polyline_remove_parallel_continuous_edges polyline_remove_acute_vertices
|
||||||
move_points same_point);
|
polyline_lines move_points same_point);
|
||||||
|
|
||||||
# the constructor accepts an array(ref) of points
|
# the constructor accepts an array(ref) of points
|
||||||
sub new {
|
sub new {
|
||||||
|
@ -61,15 +61,12 @@ sub boost_linestring {
|
||||||
|
|
||||||
sub merge_continuous_lines {
|
sub merge_continuous_lines {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
polyline_remove_parallel_continuous_edges($self);
|
polyline_remove_parallel_continuous_edges($self);
|
||||||
bless $_, 'Slic3r::Point' for @$self;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub remove_acute_vertices {
|
sub remove_acute_vertices {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
polyline_remove_acute_vertices($self);
|
polyline_remove_acute_vertices($self);
|
||||||
bless $_, 'Slic3r::Point' for @$self;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub simplify {
|
sub simplify {
|
||||||
|
|
Loading…
Reference in a new issue