Mach3 style hotkey for feed overdrive , jog speed

More
04 Jul 2018 03:36 - 04 Jul 2018 03:44 #113375 by tivoi
Mod code in tormach_mill_ui.py

# F11 key for incr feedrate
if kv == gtk.keysyms.F11:
self.feedrate_override_adjustment.set_value(self.feedrate_override_adjustment.get_value()+5)
return True

# F11 key for decr feedrate
if kv == gtk.keysyms.F10:
self.feedrate_override_adjustment.set_value(self.feedrate_override_adjustment.get_value()-5)
return True

# bracketleft key for decr jog speed
if kv == gtk.keysyms.bracketleft:
if self.jog_speed_adjustment.get_value()<5:
self.jog_speed_adjustment.set_value(self.jog_speed_adjustment.get_value()-0.1)
else:
self.jog_speed_adjustment.set_value(self.jog_speed_adjustment.get_value()-1)
return True

# bracketright key for incr jog speed
if kv == gtk.keysyms.bracketright:
if self.jog_speed_adjustment.get_value()<5:
self.jog_speed_adjustment.set_value(self.jog_speed_adjustment.get_value()+0.1)
else:
self.jog_speed_adjustment.set_value(self.jog_speed_adjustment.get_value()+1)
return True





Last edit: 04 Jul 2018 03:44 by tivoi.
The following user(s) said Thank You: emptyhb
More
04 Jul 2018 08:02 #113395 by tommylight
F11 and F12 keys are used for spindle speed increase or decrease in Linuxcnc.
I do not know about PP as i never used it.
Thank you, might be useful to others.
More
10 Sep 2018 04:37 #117276 by tivoi
PP + hotkey + customizer keyboard


The following user(s) said Thank You: Jedi
Moderators: cncbasher
Time to create page: 0.071 seconds
Powered by Kunena Forum