mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-13 18:52:52 +02:00
Fixed vibration limit.
This commit is contained in:
1 parent
795c85d30e
commit
9ac60dca1a
3 files changed
+5
-6
No files matched your search
@@ -58,7 +58,7 @@ sub parse {
|
||||
$info{"new_$axis"} = $self->$axis;
|
||||
}
|
||||
}
|
||||
$info{dist_XY} = Slic3r::Geometry::unscale(Slic3r::Line->new_scale([0,0], [@info{qw(dist_X dist_Y)}])->length);
|
||||
$info{dist_XY} = sqrt(($info{dist_X}**2) + ($info{dist_Y}**2));
|
||||
if (exists $args{E}) {
|
||||
if ($info{dist_E} > 0) {
|
||||
$info{extruding} = 1;
|
||||
|
||||
Reference in new issue
Block a user