#hazzy | Logs for 2018-08-29

Back
[23:45:11] -!- logs has joined #hazzy
[23:45:11] -!- mode/#hazzy [+o logs] by ChanServ
[23:45:17] <Lcvette> like this?
[23:45:28] <Lcvette> but change the number now to 10?
[23:45:44] -!- hazzy-t has quit [Client Quit]
[23:46:48] <hazzy-m> Lcvette: Yes, that looks great!
[23:47:10] * Lcvette sent a long message: < https://matrix.org >
[23:47:25] <Lcvette> anywhere else io need to worry about in the file?
[23:47:50] <hazzy-m> nope, at least not that I remember :P
[23:48:04] <Lcvette> ok i will test and see if it works
[23:48:05] <Lcvette> :)
[23:48:06] <hazzy-m> Then you need to add it to the action_button.py
[23:48:15] <Lcvette> oh
[23:48:22] <Lcvette> ok
[23:48:37] <hazzy-m> that should be obvious
[23:48:43] <hazzy-m> what to do
[23:48:48] <Lcvette> i will look and see if it makes sense how to add
[23:48:59] <hazzy-m> ok, ask if not
[23:49:00] <Lcvette> question
[23:49:10] <Lcvette> the syntax for the commands
[23:49:18] <Lcvette> how do i know if its correct?
[23:49:26] <Lcvette> feedhold
[23:49:39] <hazzy-m> for the LinuxCNC commands?
[23:49:49] <Lcvette> yes
[23:49:56] <hazzy-m> it should say what the syntax is the in python interface docs
[23:50:17] <hazzy-m> if it is not clear let me know and I will try to make it more clear
[23:50:38] <Lcvette> i looked over your python moedule doc but it didnt really define how to spell it out
[23:50:39] <Lcvette> feedhold
[23:50:41] <Lcvette> feed_hold
[23:50:41] <Lcvette> etc
[23:50:58] <hazzy-m> ok, let me check
[23:53:17] <hazzy-m> ah, yes
[23:53:31] <hazzy-m> it is actualy the CMD.auto command
[23:53:45] <hazzy-m> CMD.auto(linuxcnc.AUTO_PAUSE) for feed hold on
[23:54:01] <hazzy-m> c.auto(linuxcnc.AUTO_RESUME) for resume
[23:56:08] <hazzy-m> and then in the TOGGLED method you need:
[23:56:57] <hazzy-m> ```
[23:56:58] <hazzy-m> if STAT.interp_state == linuxcnc.INTERP_PAUSED: