mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 10:17:55 -06:00
Completed vibration limit
This commit is contained in:
parent
96dd106f61
commit
600e951fd8
5 changed files with 47 additions and 8 deletions
|
@ -32,6 +32,11 @@ sub length {
|
|||
return Slic3r::Geometry::line_length($self);
|
||||
}
|
||||
|
||||
sub vector {
|
||||
my $self = shift;
|
||||
return (ref $self)->new([0,0], [map $self->[B][$_] - $self->[A][$_], X,Y]);
|
||||
}
|
||||
|
||||
sub atan {
|
||||
my $self = shift;
|
||||
return Slic3r::Geometry::line_atan($self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue