#hazzy Logs

Sep 09 2020

#hazzy Calendar

04:52 AM JT-Cave: morning
04:57 AM * JT[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/CsjdIRFyMhXgGMgrEUvwFtTF/message.txt >
04:58 AM JT[m]: just did a pull and my configs won't start I'm guessing something has changed
09:11 AM hazzy-m: JT: check your init.py file. Compare it to recent mini init.py
09:12 AM hazzy-m: I think you need to change qtpyvcp.run to QtPyVCP.app.run
09:21 AM JT-Shop: ok thanks
10:04 AM TurBoss: morning
10:06 AM JT[m]: I changed it to like mini had qtpyvcp.app.run
10:06 AM JT[m]: ImportError: 'module' object has no attribute 'main'
10:06 AM JT[m]: same error
10:07 AM TurBoss: :/
10:07 AM JT[m]: running mini gives me thesame error
10:07 AM TurBoss: checking
10:08 AM JT[m]: ok thanks
10:08 AM * JT[m] feels bad today...I had to put Pig Pen down
10:11 AM TurBoss: JT: what doesn't work?
10:11 AM TurBoss: :)
10:17 AM * JT[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/JntACtXICCkOhAbGpnEBzhPy/message.txt >
10:18 AM JT[m]: trying to run any of my sims or mini and xyz all give the same error. pulled master this morning to test the axis.stop
10:20 AM JT[m]: changed __init__.py line to match mini qtpyvcp.app.run(opts, VCP_CONFIG_FILE)
10:23 AM TurBoss: maybe pip install -U -e .
10:24 AM TurBoss: in qtpy and your vcp?
10:25 AM TurBoss: mill touch v6?
10:50 AM JT-Shop: yea mill touch v6
11:07 AM JT[m]: running pip install -U -e . in qtpyvcp fixed the problem thanks
11:08 AM JT[m]: hazzy: is there a way we can catch that error and give a meaningful error message?
11:12 AM JT[m]: TurBoss: just tested (axis, stop) and it is a life saver when you have a huge plot
11:13 AM TurBoss: nice
11:13 AM TurBoss: Kudos go to hazzy
11:13 AM JT[m]: thanks hazzy
11:14 AM JT[m]: I think I'm using a released version on the mill... I'll have to check
01:17 PM TurBoss: WOW
01:17 PM TurBoss: i'm on the release credits!!!! \o/
01:17 PM TurBoss: 🥳
02:23 PM JT[m]: TurBoss: can we get the checked state in a rule?
02:31 PM TurBoss: hmmm
02:32 PM TurBoss: oh self?
02:32 PM TurBoss: * of self?
02:32 PM TurBoss: I mean the self thing or other things?
02:34 PM JT[m]: yea to change the text of a button based on it's state of checked or not checked
02:34 PM TurBoss: i don't know I'm checking the source
02:34 PM JT[m]: ok
02:35 PM TurBoss: we only have the settings and status channels
02:36 PM TurBoss: but you can add settings i nthe yml
02:42 PM JT-Shop: prob be just as easy as having a button handler
03:15 PM hazzy-m: JT-Shop: sounds like we need a VCPPushButton class with settable texts
03:15 PM TurBoss: :D
03:15 PM hazzy-m: JT-Shop: you might be able to do it in QSS using qproperty-text
03:16 PM TurBoss: interesting i didn't think about that
03:17 PM hazzy-m: Something tells me it won't work, but text is technically a property, so it just might
03:17 PM TurBoss: hazzy: do you know external offsets?
03:17 PM TurBoss: :P
03:18 PM hazzy-m: A little, yes
03:18 PM JT-Shop2: I've done that with color but not text
03:18 PM TurBoss: hmmm I'm curious about it
03:19 PM TurBoss: this irc-appservice...
03:19 PM TurBoss: :(
03:20 PM hazzy-m: TurBoss: eoffsets is awesome! There is an example QtPyVCP panel for e offsets
03:20 PM TurBoss: yes?
03:20 PM TurBoss: :O
03:20 PM TurBoss: where?
03:46 PM JT[m]: looks like you can only set text-align and text-decoration in a stylesheet
03:48 PM TurBoss: check qproperty-text
03:56 PM TurBoss: https://doc.qt.io/Qt-5/stylesheet-syntax.html#setting-qobject-properties
04:02 PM JT-Shop: have you tried it?
04:11 PM TurBoss: doesn't work ☹️
04:13 PM JT-Shop: darn
04:18 PM TurBoss: hazzy: could something expose vcp:widgets over rules ?
04:18 PM TurBoss: like eval does
04:18 PM TurBoss: we can trigger widget functions from gcode with eval using
04:19 PM TurBoss: get_widget
04:32 PM * TurBoss uploaded an image: Captura de pantalla de 2020-09-09 23-31-43.png (13KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/ovIcNWXIdyFpuEJSioUmBjsL/Captura de pantalla de 2020-09-09 23-31-43.png >
04:34 PM TurBoss: ```
04:34 PM TurBoss: (DEBUG, EVAL[vcp.getWidget{"button_name"}.setText{"test"}])
04:34 PM TurBoss: gona try that
04:39 PM * TurBoss uploaded an image: Captura de pantalla de 2020-09-09 23-38-32.png (364KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/sWplhcmVOoOQhXMLIINKzQYW/Captura de pantalla de 2020-09-09 23-38-32.png >
04:39 PM * TurBoss uploaded an image: Captura de pantalla de 2020-09-09 23-38-16.png (363KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/rpGUHBwYejwiqgCQTNlbmfjt/Captura de pantalla de 2020-09-09 23-38-16.png >
05:14 PM Joco[m]: TurBoss: did it work?
05:14 PM TurBoss: yes
05:14 PM Joco[m]: nice.
05:14 PM TurBoss: from gcode its posible to access widgets stuff by widget name
05:15 PM Joco[m]: so potential for a Fusion 360 PB specific post processor
05:15 PM TurBoss: thats how ATC rotattes and show tools
05:15 PM TurBoss: it works from remaps
05:17 PM Joco[m]: does remaps cover all the code that would naturally be of use? Can't remember
05:18 PM TurBoss: I mean that the rotate action of the atc widget is controled from remaps you can write the that eval line somewere else
05:18 PM TurBoss: in you gcode
05:18 PM TurBoss: ```
05:18 PM TurBoss: (DEBUG, EVAL[vcp.getWidget{"button_name"}.setText{"test"}])
05:19 PM Joco[m]: ok. So my thinking was that you could have a pot processor auto generate a lot of this for you. Assuming you are using a CAD/CAM tool
05:20 PM TurBoss: yes
05:20 PM TurBoss: but i cant imagine a practical use lol
05:20 PM Joco[m]: just a capability.
05:20 PM TurBoss: yes
05:20 PM TurBoss: with button I mean widgets
05:20 PM TurBoss: in generak
05:20 PM TurBoss: * in general
05:20 PM Joco[m]: better to be able to have it all self contained in the GUI is possible
05:21 PM TurBoss: Joco: do you know external offsets?¿
05:22 PM Joco[m]: I looked into it.
05:22 PM TurBoss: i wan't to make like a wheel
05:22 PM Joco[m]: Was thinking would use on mill but then didn't need them
05:26 PM TurBoss: cool
05:26 PM TurBoss: ty
05:27 PM Joco[m]: so what was you wheel idea?
05:27 PM TurBoss: is noria an english word?
05:29 PM Joco[m]: not in my english lol
05:29 PM TurBoss: translator went drunk
05:30 PM TurBoss: did you saw conan the barbarian?
05:30 PM Joco[m]: https://en.wikipedia.org/wiki/Noria
05:30 PM Joco[m]: ?
05:30 PM * TurBoss uploaded an image: image.png (1778KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/xgyYnSENheMQjtOnzFpqQymo/image.png >
05:31 PM Joco[m]: i think it is a bucketed water wheel or chain
05:31 PM TurBoss: poor beast
07:17 PM TurBoss: great! got them to work!
07:34 PM Not-8b99: [02probe_basic] 07TurBoss pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JUCJA
07:34 PM Not-8b99: [02probe_basic] 07TurBoss 03678873c - FIX: ATC Widget rotation
07:35 PM TurBoss: what about a eoffset driven ATC ?
07:35 PM Not-8b99: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+118/-0/±0] 13https://git.io/JUCUq
07:35 PM Not-8b99: [02probe_basic] 07traviscibot 0340b7e1e - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
08:08 PM hazzy-m: TurBoss: eoffsets changes the commanded position of an axis by an offset amount
08:09 PM TurBoss: get it working
08:09 PM TurBoss: xD
08:09 PM hazzy-m: very useful for ornamental turning etc. but I really can't think of a very practical use lol
08:09 PM hazzy-m: Hurray!
08:10 PM AaronDargelGitte: https://github.com/kcjengr/qtpyvcp.conversational-gcode/pull/4
08:19 PM Joco[m]: <hazzy-m "very useful for ornamental turni"> for eoffsets?
08:19 PM TurBoss: Aaron Dargel (Gitter): hello
08:19 PM TurBoss: you said you have issues to talk from the matrix?
08:34 PM Joco[m]: general question, with the release of 2.8 on Debian 10 (Buster) can I just upgrade my Stretch install from standard Debian repo or do I need to wipe and redo from scratch?
08:36 PM TurBoss: upgrade is doable but phail is warantied
08:37 PM TurBoss: at the springrts project we just upgraded
08:37 PM Joco[m]: "phail"?
08:38 PM TurBoss: https://springrts.com/phpbb/viewtopic.php?t=41865
08:38 PM TurBoss: fail
08:38 PM Joco[m]: k
08:39 PM Joco[m]: I'm going to back up all my key stuff then will go through a manual upgrade
08:39 PM TurBoss: great
08:39 PM TurBoss: if fail wipe is allways posible
08:39 PM Joco[m]: just like to be on the supported/main-stream OS for the actual mill machine
08:39 PM Joco[m]: <TurBoss "if fail wipe is allways posible"> correct- hopefully not necessary :)
08:43 PM TurBoss: https://www.youtube.com/watch?v=S6aGK3zs8MU
08:43 PM TurBoss: this is how a game created with the springrts engine looks
08:43 PM TurBoss: very competitive
08:43 PM TurBoss: its Zero-k
09:18 PM TurBoss: I'm unable to start a simple encoder
09:18 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/crqMBXdJvmlPedsiOKMYWuqr/message.txt >
09:24 PM TurBoss: encoder: already exists
09:24 PM TurBoss: :/
09:25 PM TurBoss: cant find the ofendin encoder
09:25 PM Joco[m]: use names
09:25 PM Joco[m]: I never use unamed HAL now. Gets to hard to keep track of stuff
09:25 PM TurBoss: HAL: ERROR: function 'encoder.update−counters' not found
09:26 PM Joco[m]: ??
09:26 PM TurBoss: I fixed the allready exist issue
09:26 PM TurBoss: now this appears
09:26 PM TurBoss: nothing changed
09:26 PM TurBoss: not using names
09:26 PM Joco[m]: hmm
09:30 PM TurBoss: n8
09:31 PM Joco[m]: not using software encoders so don't have an example to look at
10:21 PM TurBoss: https://www.youtube.com/watch?v=UswT2_i9WRc
11:17 PM TurBoss: fixed
11:18 PM TurBoss: aparently a unprintable character
11:18 PM TurBoss: i rewrote the whole line and worked :)
11:23 PM Joco[m]: did you copy/paste from somewhere?
11:23 PM Joco[m]: if so was probably the -
11:32 PM TurBoss: probably