Qtlathe
25 Jun 2020 05:58 #172687
by cmorley
Sim panel is used for jogging, pausing and stopping etc - the original screen did no include screen keys for jogging.
It was designed similar to touchy.
DTG is available in dro_widget as reference type 2
yes conversion would be good to add to calculator.
please explain - if you set g20/g21 increments should change.How to add mm / inс mapping with conversion of speed of movement.
Sim panel is used for jogging, pausing and stopping etc - the original screen did no include screen keys for jogging.
It was designed similar to touchy.
DTG is available in dro_widget as reference type 2
yes conversion would be good to add to calculator.
Please Log in or Create an account to join the conversation.
25 Jun 2020 10:09 - 25 Jun 2020 15:18 #172697
by hottabich
I mean the numbers in the status label jog rate, active feed as in the screenshots of the previous post.
I give screenshots of how it works in this interface. As 72 beat, 72 remains. When run macros error z positive limit. In INI file I put MAX_LIMIT = 4.0 the error goes away. Also added macros go_to_zero and go_to_home please check the correct operation. Test file works good.DTG necessary or not? If necessary, how to add a third page to dro?
I give screenshots of how it works in this interface. As 72 beat, 72 remains. When run macros error z positive limit. In INI file I put MAX_LIMIT = 4.0 the error goes away. Also added macros go_to_zero and go_to_home please check the correct operation. Test file works good.DTG necessary or not? If necessary, how to add a third page to dro?
Last edit: 25 Jun 2020 15:18 by hottabich.
Please Log in or Create an account to join the conversation.
26 Jun 2020 03:46 #172772
by cmorley
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
26 Jun 2020 14:32 #172800
by hottabich
Sorry for the wrong question. I cannot add a DTG page to the handler. In the designer, I can.When will the time please tell me. I'm not in a hurry just a hobby.
def toggle_dro(self):
cur = self.w.droPaneStack.currentIndex()
if cur == 0:
self.w.droPaneStack.setCurrentIndex(cur+1)
else:
self.w.droPaneStack.setCurrentIndex(0)
Please Log in or Create an account to join the conversation.
27 Jun 2020 02:52 #172828
by cmorley
Or better (you can add as many pages as you like and it will toggle between all of them)
def toggle_dro(self):
next = self.w.droPaneStack.currentIndex() +1
if next = self.w.droPaneStack.count() :
self.w.droPaneStack.setCurrentIndex(0)
else:
self.w.droPaneStack.setCurrentIndex(next)
Please Log in or Create an account to join the conversation.
27 Jun 2020 23:39 #172929
by cmorley
The following user(s) said Thank You: tommylight, hottabich
Please Log in or Create an account to join the conversation.
29 Jun 2020 11:35 - 29 Jun 2020 17:04 #173073
by hottabich
Last edit: 29 Jun 2020 17:04 by hottabich.
Please Log in or Create an account to join the conversation.
01 Jul 2020 02:29 #173283
by cmorley
Change:
to:
change to:
def processed_key_event__(self,receiver,event,is_pressed,key,code,shift,cntrl):
# when typing in MDI, we don't want keybinding to call functions
# so we catch and process the events directly.
# We do want ESC, F1 and F2 to call keybinding functions though
if code not in(QtCore.Qt.Key_Escape,QtCore.Qt.Key_F1 ,QtCore.Qt.Key_F2,
QtCore.Qt.Key_F3,QtCore.Qt.Key_F5,QtCore.Qt.Key_F5):
raise
to:
def processed_key_event__(self,receiver,event,is_pressed,key,code,shift,cntrl):
# when typing in MDI, we don't want keybinding to call functions
# so we catch and process the events directly.
# We do want ESC, F1 and F2 to call keybinding functions though
if code not in(QtCore.Qt.Key_Escape,QtCore.Qt.Key_F1 ,QtCore.Qt.Key_F2,
QtCore.Qt.Key_F3,QtCore.Qt.Key_F5,QtCore.Qt.Key_F5,
QtCore.Qt.Key_F6,QtCore.Qt.Key_F7,QtCore.Qt.Key_F12):
raise
change to:
def before_loop__(self):
STATUS.connect('state-estop',lambda q:self.w.close())
#self.w.close()
Please Log in or Create an account to join the conversation.
01 Jul 2020 23:47 #173365
by cmorley
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.131 seconds