Skip to content

Commit 65e4212

Browse files
committed
fix: use zspeed for z movement
1 parent 19fa9a8 commit 65e4212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3delta

+1-1
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ snit::widget spider {
899899
} elseif {$x < $width - $h - 5 && $last eq "z"} {
900900
set zMax [$printer status zMax -default 200]
901901
set zPos [expr {max(0, min($zMax, $zMax * ($h - $y) / $h))}]
902-
{*}$command [format {G1 Z%.3f F$xyspeed ; Absolute move} $zPos]
902+
{*}$command [format {G1 Z%.3f F$zspeed ; Absolute move} $zPos]
903903
}
904904
set last ""
905905
$canvas delete mouse

0 commit comments

Comments
 (0)