mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 05:54:03 -06:00
This commit is contained in:
parent
9bfa4118a1
commit
b7d8444ac8
2 changed files with 12 additions and 1 deletions
|
@ -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) = @_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue