#hazzy Logs
Jan 31 2020
#hazzy Calendar
05:09 AM jthornton: morning
05:27 AM TurBoss: morning
05:48 AM hazzy-m: morning
06:52 AM TurBoss: > turboss, is there a way to add some safeguard from loading a tool number that is already in the carousel?
06:52 AM TurBoss: something should prevent to load a stored tool in the spindle
06:52 AM TurBoss: * >
06:52 AM TurBoss: turboss, is there a way to add some safeguard from loading a tool number that is already in the carousel?
06:52 AM TurBoss: something should prevent to load a stored tool in the spindle
07:29 AM * dremeier[m] uploaded an image: touch_off_pos.png (46KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/mZmhdAidPjoQLYOHISELhdwI >
07:29 AM dremeier[m]: where does the xyz values are stored. What ever I put in there, there is no effect on it. Only if I press "Set actual Tool Touch off Position" the actual G53 position will be sored in #5181...
07:51 AM Lcvette: right it is designed to jog over the location of the tool touch sensor and set it
07:52 AM Lcvette: TurBoss: TurBoss yes, that would be what i think is needed
07:53 AM Lcvette: maybe a scripts in the load tool button
07:54 AM Lcvette: to run a check if tool in load boax matches tool in any of the pockets set error message
07:54 AM TurBoss: yes something like that
07:56 AM Lcvette: tool table in var file is updated immediately isn't it?
07:56 AM Lcvette: sorry pocket numbers for tool changer
07:57 AM TurBoss: atcwidget knows about
07:58 AM Lcvette: i was going to do this in the macro call
07:58 AM TurBoss: it will require some signal
07:58 AM TurBoss: but macros can access var directly
07:58 AM Lcvette: make M61 Q# into a subcall button and run through a math
07:59 AM Lcvette: maybe something like
08:05 AM Lcvette: if [#<tool_load_box> EQ #5190, #5191, #5192, #5193, #5194, #5195, #5196, #5197, #5198, #5199, #5200, #5201]
08:07 AM Lcvette: (error message, thye tool you are tyring to load is already stored in the carousel)
08:08 AM Lcvette: else
08:08 AM Lcvette: M61 Q#<tool_load_box>
08:08 AM Lcvette: endif
08:10 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/cSGIvrUgDYHpFuVHfgPFASIq >
08:16 AM Lcvette: TurBoss: ^^^
08:19 AM TurBoss: :/
08:19 AM TurBoss: went to faast ..xD
08:22 AM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/DNkQELSyOiGbquwtADytOscL >
08:23 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/xMSLsyskwsBQMUAjbQqUcLsm >
08:23 AM TurBoss: make sense?
08:23 AM Lcvette: i was making this one\
08:23 AM Lcvette: lol
08:24 AM Lcvette: \o/
08:24 AM Lcvette: for the message is that the correct way to make a message appear?
08:24 AM Lcvette: turboss^^^
08:24 AM TurBoss: hmmm
08:27 AM Lcvette: I'm searching
08:33 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/uFqRhobWimgVdjauRIJwmxVa >
08:34 AM TurBoss: does it work?
08:34 AM TurBoss: maybe qtpyvcp doesnt handel it
08:34 AM TurBoss: ...
08:35 AM dremeier[m]: if [#<tool_load_box> EQ #5190]
08:35 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ExGalzEjWXbBIXdKzxGvgCbv >
08:35 AM dremeier[m]: (MSG, error message, thye tool you are tyring to load is already stored in the carousel)
08:35 AM dremeier[m]: maybe like this?
08:35 AM dremeier[m]: 🙂
08:36 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ygRSzzlNHykcpOwxdnhSluNf >
08:38 AM TurBoss: Lcvette: you can tel what pocket
08:39 AM TurBoss: * Lcvette: you can say what pocket
08:39 AM dremeier[m]: to my Question: what are the values are for, below "Set actual Tool Touch off Position"?
08:39 AM TurBoss: betwen restarts?
08:39 AM TurBoss: they are settings
08:39 AM TurBoss: stored in a hidden file .settings or something
08:40 AM dremeier[m]: for what?
08:40 AM TurBoss: ah i don't know maybe Lcvette
08:41 AM TurBoss: what does the buttton send?
08:42 AM dremeier[m]: you mean me?
08:42 AM TurBoss: dremeier: yes
08:43 AM TurBoss: :)
08:43 AM Lcvette: dremeier: that button sets the current position using G30.1
08:44 AM Lcvette: and stores the current position of the machine in the var file as well as those boxes for use in other macros
08:44 AM Lcvette: its not a enter values and save type scenario
08:44 AM * dremeier[m] uploaded an image: touch_off_pos.png (46KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/NqOmUTDagjkTgeogXqAwFifa >
08:44 AM dremeier[m]: the button "Set actual Tool Touch off Position" stores the actual G53 position in the variables 5181, 5182, 8153
08:44 AM dremeier[m]: "Set actual Tool Touch off Position"
08:44 AM Lcvette: the var file
08:45 AM Lcvette: but you don'
08:45 AM Lcvette: t type them in
08:45 AM Lcvette: * but you don't type them in
08:45 AM Lcvette: you jog to the position to set
08:45 AM Lcvette: i think you are trying to reinvent the wheel here my firend
08:46 AM Lcvette: * i think you are trying to reinvent the wheel here my friend
08:46 AM Lcvette: *
08:48 AM dremeier[m]: I´m just asking, not reinvent. I can´t see any use for the value boxes. So I guess you have a thought about them, thats why I´m asking. Sorry
08:51 AM Lcvette: so you can see where the tool touch off position is
08:51 AM Lcvette: they are persistent
08:52 AM dremeier[m]: But It would be pretty nice to have all the settings in the "Setting" tab. Because with this button you can accidentally hit it out of the touch off position.
08:52 AM Lcvette: and to verify they have been set
08:52 AM dremeier[m]: ^^ ok now I see, thanks
08:53 AM Lcvette: thats why they are on the offsets table
08:53 AM Lcvette: it is an offset
08:53 AM Lcvette: you won't be doing alot of work on the offsets beside looking
08:53 AM Lcvette: once your settings are set they pretty much stay set
08:53 AM Lcvette: to run the touch off is done from the tool or atc page
09:17 AM Lcvette: TurBoss: getting error message now anytime trying to load spindle saying:
09:17 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/SfwzkXxmdXVEOMscYczmsmjg >
09:19 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/hMXtIevKFzvYGpyZNsYOEjfs >
09:20 AM TurBoss: thoose are not rs274 if
09:20 AM TurBoss: xD
09:21 AM TurBoss: o100 etc..
09:22 AM Lcvette: lol thank you
09:22 AM Lcvette: i missed it
09:22 AM Lcvette: lol
09:25 AM Lcvette: come on coffee kick in!
09:26 AM Lcvette: lol
09:27 AM Lcvette: \o/
09:27 AM Lcvette: hurray!!!
09:28 AM * Lcvette uploaded an image: Screenshot_2020-01-31_10-20-38.png (78KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/VEYTfBWHGWKBvdBHEyERhViY >
09:28 AM Lcvette: works!
09:29 AM dremeier[m]: the me
09:34 AM Lcvette: TurBoss: can i update the download link in the probe basic quick install page or is it still broken?
09:38 AM dremeier[m]: the INFO BOX in you pic is in my screen alway behind the screen, it just came up if I press F11. Do you have it on tob of you screen by default?
09:39 AM TurBoss: Lcvette: you need to upload the one you built
09:39 AM dremeier[m]: *edit:* ~~the INFO BOX in you pic is in my screen alway behind the screen, it just came up if I press F11. Do you have it on tob of you screen by default?~~ -> the INFO BOX in you pic is in my screen alway behind the screen, it just came up if I press F11. Do you have it on top of you screen by default?
09:39 AM Lcvette: ok
09:39 AM Lcvette: good
09:41 AM TurBoss: dremeier: do you have more than one screen?
09:42 AM Lcvette: need to figure something
09:42 AM Lcvette: since i have the tool page with a load boax also need to be able to ahve the rule work for both boxes
09:42 AM TurBoss: Lcvette: could you add the pocket where the tool is allready=?
09:43 AM Lcvette: yes i think
09:44 AM Lcvette: just add a customized message under the else if
09:45 AM Not-c468: [02qtpyvcp] 07TurBoss pushed 031 commit to 03installer [+0/-0/±1] 13https://git.io/Jv3Gd
09:45 AM Not-c468: [02qtpyvcp] 07TurBoss 035e37235 - update installer
09:46 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/shUYeRCINEaNvKAGgcCWtWtj >
09:46 AM Lcvette: TurBoss: ^^^
09:46 AM Lcvette: this should do it
09:46 AM TurBoss: cool
09:46 AM TurBoss: thanks!
09:47 AM Lcvette: because i have the load tool in two places, i need it to work for both places
09:47 AM Lcvette: trying to figure
09:47 AM Lcvette: any thoughts?
09:47 AM dremeier[m]: no have only one screen
09:48 AM TurBoss: moving to dev
09:48 AM dremeier[m]: *edit:* ~~no have only one screen~~ -> <span class="d-mention d-user">TurBoss</span> no have only one screen
09:48 AM Lcvette: need the proper syntax for something like this
09:53 AM Lcvette: o<100> if [#<load_spindle_tool_number> OR #<load_spindle_tool_number_2> EQ #5190]
09:54 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/vQwHqIExPpMhPRYfwxBpdtqS >
09:54 AM Lcvette: is that legal?
09:56 AM Lcvette: is there a syntax list somewhere? i don't see it in here https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=823374
09:56 AM Lcvette: turboss ^^^
10:02 AM TurBoss: back
10:04 AM Lcvette: http://linuxcnc.org/docs/html/gcode/overview.html#gcode:binary-operators
10:04 AM Lcvette: i think i need OR
10:04 AM Lcvette: ?
10:04 AM Lcvette: but not sure how to form the expression properly
10:04 AM Lcvette: \o/
10:04 AM Lcvette: back?
10:04 AM Lcvette: hurray
10:10 AM TurBoss: ```
10:10 AM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/bGkoCNmKmsCxxrsspkQSaEKj >
10:11 AM Lcvette: then no custom pocket message
10:11 AM TurBoss: no
10:11 AM TurBoss: we need a counter
10:11 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/VIRibqtFuNjKTbtqOHQORHNz >
10:12 AM Lcvette: TurBoss: ^^^
10:13 AM Lcvette: does that look correct for testing against both the spindle load boxes
10:14 AM TurBoss: what are #<load_spindle_tool_number> and #<load_spindle_tool_number_2>
10:15 AM Lcvette: the two boxes you can load from
10:15 AM Lcvette: there is one on the atc page and one on the tool page
10:15 AM Lcvette: need both to have the safety work
10:18 AM Lcvette: m,aybe i could do soemthing like this
10:20 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/BaeLYsRYPIjDAQvJWyUuZdzK >
10:20 AM Lcvette: since one box will alsways be zero and the other will have the number you enter
10:21 AM TurBoss: but why there are 2 params?
10:21 AM Lcvette: then it is always checking against both boxes
10:21 AM Lcvette: 5+0=5
10:21 AM Lcvette: because there are two boxes and you can give them the same name in the designer
10:21 AM TurBoss: but could be non 0
10:21 AM Lcvette: can't
10:21 AM Lcvette: or shouldn't
10:21 AM Lcvette: once you enter a number it loads to the spindle
10:22 AM Lcvette: and revertys to 0
10:22 AM Lcvette: i guess technically you could enter a number and leave it there without entering it
10:23 AM Lcvette: and that would mess up the equation
10:23 AM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/wxaaCZBMDPxvXpdQaejtKMjW >
10:23 AM Lcvette: that part is easy
10:24 AM Lcvette: i need to know how to check both boxes against the carousel
10:24 AM Lcvette: oh youre right
10:24 AM Lcvette: i could make two subroutines
10:25 AM TurBoss: they do diferent things?
10:25 AM Lcvette: that may be the easiest
10:25 AM Lcvette: same thing from different boxes
10:25 AM Lcvette: i will make two subroutines
10:25 AM TurBoss: why?
10:25 AM Lcvette: safest and easiest
10:26 AM TurBoss: whi no invoke the same from both?
10:26 AM Lcvette: one for each load tool utton
10:26 AM Lcvette: sure show me the way to do it?
10:28 AM TurBoss: what I mean is that do you need to diference between each box? or doesn't matter?
10:28 AM TurBoss: ah ok
10:28 AM TurBoss: got it
10:28 AM TurBoss: the other one doesn't need the carusel
10:29 AM TurBoss: or what
10:33 AM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/wnkNZxDCcNaCvcvCiXrderyZ >
10:36 AM Lcvette: yes iut does
10:36 AM Lcvette: both need the csrousel
10:44 AM Lcvette: TurBoss: sorry my dad called
10:44 AM Lcvette: ok, so here is the scenario
10:44 AM Lcvette: both tool load boxes need to function the same
10:44 AM Lcvette: they have unique names which means they must be brought in to the subroutine uniquely as you see at the top
10:46 AM Lcvette: the probelm is how to write the expression in the if statement
10:46 AM Lcvette: to check the carousel pocket against each of those boxes
10:46 AM Lcvette: i thought it would need an OR maybe
10:46 AM Lcvette: turboss^^^
10:46 AM Lcvette: * turboss ^^^
10:50 AM Lcvette: anyways, its not elegant but its working with 2 subroutines for each sub call button now
10:51 AM TurBoss: okay
10:54 AM Lcvette: works great with two subroutines
10:54 AM Lcvette: I will play with it again later down the road maybe
10:54 AM Lcvette: both boxes give error messages
10:54 AM Lcvette: independently
10:54 AM Lcvette: and the carousel number is in the messages :D
10:54 AM Lcvette: \o/
10:55 AM TurBoss: \o/
10:55 AM Lcvette: im updating kraken then will push
11:01 AM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+7/-0/±3] 13https://git.io/Jv3c3
11:01 AM Not-c468: [02probe_basic] 07Lcvette 035aed07e - added tool load safety subroutines for load tool buttons
11:01 AM Lcvette: fixes pushed!
11:01 AM Lcvette: :D
11:02 AM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/Jv3cC
11:02 AM Not-c468: [02probe_basic] 07traviscibot 030089f5f - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
11:02 AM Lcvette: @hazzy, the move sim configs to linuxcnc, that happens in the installer turboss wrote already
11:03 AM Lcvette: do we need that branch?
11:05 AM Lcvette: TurBoss: turboss do you know if the changes in qtpyvcp
11:05 AM Lcvette: seems alot is new since last release
11:11 AM Not-c468: [02probe_basic] 07Lcvette tagged 035aed07e as 03v0.1.6 13https://git.io/Jv3cK
11:11 AM Not-c468: [02probe_basic] 07Lcvette created tag 03v0.1.6 - 13https://git.io/JeDwL
11:13 AM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/Jv3cP
11:13 AM Not-c468: [02probe_basic] 07traviscibot 03f3c985b - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
11:13 AM Not-c468: [02probe_basic] 07KurtJacobson published 03v0.1.6 | v0.1.6 - 13https://git.io/Jv3cX
11:13 AM travis-ci: kcjengr/probe_basic#262 (v0.1.6 - 5aed07e : Chris): The build passed.
11:13 AM travis-ci: Diff view : https://github.com/kcjengr/probe_basic/compare/v0.1.6
11:13 AM travis-ci: Build details : https://travis-ci.org/kcjengr/probe_basic/builds/644453311
11:25 AM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/Jv3CJ
11:25 AM Not-c468: [02probe_basic] 07Lcvette 03e743a51 - updated docs for installer link
11:26 AM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/Jv3CT
11:26 AM Not-c468: [02probe_basic] 07traviscibot 03ecbb259 - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
11:30 AM Lcvette: o/
11:53 AM Not-c468: [02probe_basic] 07TurBoss deleted branch 03atc-wiring - 13https://git.io/JeDwL
11:53 AM Not-c468: [02probe_basic] 07TurBoss deleted branch 03atc-wiring
01:29 PM Not-c468: [02qtpyvcp] 07TurBoss pushed 031 commit to 03installer [+0/-0/±1] 13https://git.io/Jv38K
01:29 PM Not-c468: [02qtpyvcp] 07TurBoss 03bf213ef - release and debug
02:21 PM Not-c468: [02qtpyvcp] 07TurBoss pushed 031 commit to 03installer [+0/-0/±1] 13https://git.io/Jv3Bo
02:21 PM Not-c468: [02qtpyvcp] 07TurBoss 039c75afe - add qt to the installer
05:59 PM TurBoss: https://imgur.com/gallery/eKJXaAO
06:04 PM jthornton: what is a ZX Spectrum +2?
06:05 PM jthornton: wow copyright 1982... I was 29 then
06:06 PM TurBoss: yes
06:06 PM TurBoss: xD
06:06 PM TurBoss: its a toy computer
06:07 PM TurBoss: mostly for games but there is other software
06:08 PM jthornton: I had an Atari way back when lol
06:12 PM TurBoss: any memorable game?
06:14 PM jthornton: space invaders, I would play it very late into the night
06:15 PM TurBoss: yeah
06:18 PM jthornton: hmm not space invaders...
06:20 PM jthornton: star raiders I think
06:22 PM TurBoss: https://www.youtube.com/watch?v=3_VDM8nC9sM
06:22 PM TurBoss: this one?
06:22 PM jthornton: yep
06:22 PM TurBoss: brutal
06:22 PM TurBoss: 3d is amazing
06:23 PM jthornton: pretty good game
06:24 PM jthornton: used to play DOOM too
06:25 PM TurBoss: |m|
06:25 PM TurBoss: 🤘
06:26 PM TurBoss: jthornton: what do youknow abot the p3 port status if any ?
06:26 PM jthornton: p3?
06:26 PM TurBoss: python
06:26 PM TurBoss: :)
06:27 PM jthornton: ah python3 never messed with a port, trying to get my chicken music working lol
06:27 PM jthornton: port as in?
06:27 PM TurBoss: i mean
06:27 PM TurBoss: upgrade linuxcnc python2 stuff to 3
06:28 PM jthornton: ah most of that is pretty straight forward stuff
06:28 PM jthornton: print vs print()
06:28 PM jthornton: etc.
06:28 PM TurBoss: yes i have a branch
06:28 PM TurBoss: like rene and sync
06:28 PM jthornton: porting linuxcnc to python3?
06:29 PM TurBoss: yes
06:29 PM TurBoss: hmmm
06:31 PM TurBoss: https://github.com/TurBoss/linuxcnc/tree/python36
06:32 PM TurBoss: no noth tha one
06:32 PM jthornton: does it build?
06:33 PM TurBoss: let me find
06:33 PM TurBoss: :(
06:36 PM TurBoss: I'll start over from master
06:36 PM jthornton: ok time to retire here
06:37 PM TurBoss: n8
07:18 PM TurBoss: https://github.com/TurBoss/linuxcnc/tree/rebased_py3
08:08 PM * hazzy-m just landed in Dallas TX
08:11 PM TurBoss: o/
08:14 PM TurBoss: https://github.com/linuxcnc/linuxcnc
08:31 PM TurBoss: https://github.com/TurBoss/linuxcnc/tree/python3_2020