mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
This commit is contained in:
@@ -85,6 +85,12 @@ sub length {
|
||||
return $length;
|
||||
}
|
||||
|
||||
# this only applies to polylines
|
||||
sub grow {
|
||||
my $self = shift;
|
||||
return Slic3r::Polygon->new(@$self, CORE::reverse @$self[1..-2])->offset(@_);
|
||||
}
|
||||
|
||||
sub nearest_point_to {
|
||||
my $self = shift;
|
||||
my ($point) = @_;
|
||||
|
||||
Reference in New Issue
Block a user