mirror of
https://git.mirrors.martin98.com/https://github.com/petaflot/pygcode
synced 2025-04-23 06:10:08 +08:00
derps
This commit is contained in:
parent
ab276e3bd2
commit
dcdacd68c0
@ -475,13 +475,13 @@ class GCodeCannedCycle(GCode):
|
||||
|
||||
def _process(self, machine):
|
||||
moveto_coords = self.get_param_dict(letters=machine.axes)
|
||||
if isinstance(machine.mode., GCodeCannedCycleReturnToR):
|
||||
if isinstance(machine.mode.canned_cycles_return, GCodeCannedCycleReturnToR):
|
||||
# canned return is to this.R, not this.Z (plane dependent)
|
||||
moveto_coords.update({
|
||||
machine.mode.plane_selection.normal_axis: this.R,
|
||||
})
|
||||
|
||||
machine.mode_to(**moveto_coords)
|
||||
machine.move_to(**moveto_coords)
|
||||
|
||||
|
||||
class GCodeDrillingCycle(GCodeCannedCycle):
|
||||
|
Loading…
x
Reference in New Issue
Block a user