#hazzy Logs

Jan 12 2020

#hazzy Calendar

01:51 AM TurBoss: !discord unbridge
01:56 AM TurBoss: !discord bridge 587006691162325008 587006691162325013
01:56 AM TurBoss: test
01:57 AM TurBoss: !discord unbridge
02:51 AM TurBoss: !discord bridge 587006691162325008 587006691162325013
03:08 AM TurBoss: i messed
07:50 AM hazzy-m: Morning
07:58 AM jthornton: morning
08:00 AM JT-Shop: morning
08:07 AM JT-Shop: got a spam email for my enco mill on craigslist... are you the owner?
10:03 AM * JT[m] uploaded a video: expressions-04.mp4 (112KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QPmjFXCyQlDuvJmMcFaHfmXz >
10:13 AM hazzy-m: JT: nice!!
10:22 AM TurBoss: bravo
10:23 AM roguish[m]: good morning all. having fun here. installing this year's tax software......oh joy.
10:24 AM hazzy-m: uhg
10:24 AM Tom_L: one headache i pay for...
10:24 AM hazzy-m: roguish: what software do you use?
10:25 AM hazzy-m: we've always used turbotax for the company, but been looking for an alternative
10:26 AM TurBoss: Tom_L: don't worry all I know are like that
10:26 AM TurBoss: odoo works for you?
10:26 AM TurBoss: https://www.odoo.com/
10:26 AM TurBoss: used to be openerp
10:27 AM TurBoss: hazzy: I broke the dicord bridge xD
10:27 AM hazzy-m: opps :D
10:28 AM hazzy-m: TurBoss: did it go down?
10:28 AM roguish[m]: hazzy: this year and last few it's been H&R Block..
10:28 AM * TurBoss uploaded an image: 20200112_172135.jpg (19KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/downLkwWPWRgLiBZzgavmpAe >
10:28 AM * TurBoss uploaded an image: 20200112_172129.jpg (239KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/PwAbNqyPOWSxbGkyFKNLddxV >
10:29 AM TurBoss: best for tax ^^
10:29 AM TurBoss: hazzy: no I broke
10:30 AM hazzy-m: LOL
10:49 AM * JT-Shop can't remember where the sheetS of lexan are...
11:01 AM * TurBoss uploaded a video: VID_20200112_174143_430.mp4 (1539KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/FfKPsmSJcwmrPmEQZvbciPOk >
11:14 AM hazzy-m: sweet!
11:22 AM JT[m]: I've always used turbotax since I started working for myself
11:23 AM Tom_L: works seamless with quickbooks doesn't it?
11:24 AM hazzy-m: I added the ability to run python code from a gcode file like this `(DEBUG, vcp.getWidget{"dro_label"}.setText{'%4.2f' % #1})`
11:24 AM hazzy-m: it makes it possible to change UI elements from gcode
11:25 AM hazzy-m: not sure if its a good I idea to make it so powerful, because you could potentially mess something up
11:26 AM hazzy-m: but I can also think of a lot of things it might be useful for, in addition setting labels and the like from gcode
11:27 AM hazzy-m: for example you could use it to pause the machine and show a dialog with an image for how to reorient he part
11:30 AM JT[m]: Nice!!!
11:32 AM hazzy-m: it would also work for things like telling the ATC widget were to go without having to use HAL pins
11:33 AM hazzy-m: should make that type of thing much easier since if the UI is not set up for it the gcode will still run without causing errors
11:49 AM TurBoss: brutal
11:51 AM TurBoss: the comment interface is (WIDGET, vcp.?
11:51 AM Lcvette: hazzy: messages are done?
11:51 AM hazzy-m: Lcvette: working on it, not pushed yet
11:51 AM Lcvette: :o
11:51 AM Lcvette: \o/
11:51 AM Lcvette: Ok
11:51 AM TurBoss: I mean can be WIDGET instead of DEBUG?
11:51 AM hazzy-m: ```
11:51 AM hazzy-m: (DEBUG, vcp.getWidget{"dro_label"}.setText{'%4.2f' % #1})
11:51 AM hazzy-m: (DEBUG, EVAL[vcp.getWidget{"dro_label"}.setStyleSheet{"color: red"}])
11:51 AM Lcvette: Let me know when and I will test!
11:52 AM hazzy-m: TurBoss: no, because then we'd have to add WIDGET protocol to the RS274 interpretor and I don't know how to do that
11:52 AM TurBoss: ok
11:52 AM hazzy-m: ideally we would add something equivalent to DEBUG but called EVAL to RS274
11:52 AM TurBoss: and no way to connect from the python interpreter using python remaps
11:53 AM hazzy-m: I don;t know how
11:53 AM Lcvette: Turboss does that mean this won't work for the atc?
11:53 AM TurBoss: its posible
11:53 AM TurBoss: yes
11:54 AM hazzy-m: should work nicely for ATC
11:54 AM TurBoss: cool
11:55 AM Lcvette: \o/
12:17 PM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gcodeMesssages [+0/-0/±2] 13https://git.io/Jvfyi
12:17 PM Not-c468: [02qtpyvcp] 07KurtJacobson 038a33ab6 - ENH: Notifications - Evaluate python expressions in DEBUG statements
12:18 PM Not-c468: [02qtpyvcp] 07KurtJacobson created branch 03gcodeMesssages - 13https://git.io/fhCou
12:19 PM travis-ci: kcjengr/qtpyvcp#1250 (gcodeMesssages - 8a33ab6 : Kurt Jacobson): The build passed.
12:19 PM travis-ci: Diff view : https://github.com/kcjengr/qtpyvcp/commit/8a33ab6f3d3b
12:19 PM travis-ci: Build details : https://travis-ci.org/kcjengr/qtpyvcp/builds/636031103
12:21 PM Lcvette: \o/
12:21 PM Lcvette: Pushed?
12:21 PM Lcvette: :D
12:31 PM hazzy-m: ytes
12:32 PM hazzy-m: you can try it out
12:32 PM hazzy-m: see if it fixes the problem with the probe calibration input
12:32 PM hazzy-m: what type of inputs were you using?
01:23 PM TurBoss: hazzy: what happends if you try this on a MDI?
01:23 PM TurBoss: ```
01:23 PM TurBoss: ;py from qtpyvcp import *
01:26 PM TurBoss: ok I'm on dec
01:26 PM TurBoss: * ok I'm on dev
01:32 PM Lcvette: hazzy: hazzy im at dev
01:32 PM Lcvette: what do i need to do?
01:33 PM TurBoss: hello
01:33 PM Lcvette: TurBoss: do you know how it works?
01:34 PM TurBoss: nope was looking other stuff
01:34 PM Lcvette: hazzy: how do i use the new messages in the subroutine?
01:35 PM Lcvette: (DEBUG, vcp.getWidget{"dro_label"}.setText{'%4.2f' % #1})
01:35 PM Lcvette: (DEBUG, EVAL[vcp.getWidget{"dro_label"}.setStyleSheet{"color: red"}])
01:35 PM Lcvette: i don't understand what this is doing?
01:36 PM Lcvette: or what to do to put it in the subroutine
01:37 PM Lcvette: is the first line the one that pulls the data from the gui?
01:37 PM Lcvette: vcp.getwidget?
01:37 PM Lcvette: how do i send data to a widget?
01:37 PM Lcvette: NM i think it is for only sending data
01:38 PM Lcvette: but where do i put the text?
01:39 PM Lcvette: ok will wait for your return
01:43 PM Lcvette: hazzy: see below for what i would be replacing with the new messages..
01:43 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/loCbGcoezBtociFhtpCChAVi >
01:44 PM * Lcvette uploaded an image: Screenshot_2020-01-12_14-37-45.png (38KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/JinYGsLlfuBQDIhgpXEjippq >
01:45 PM Lcvette: if you could give me an example on how to set one up i will test it
01:47 PM Lcvette: TurBoss: what are you lookin at?
01:47 PM * TurBoss heads to it
01:48 PM Lcvette: did you figure out the installer dependents that were missing?
01:48 PM TurBoss: nop
01:49 PM TurBoss: was unable to success run apt install from installer
01:49 PM Lcvette: yes same here i get errors on my fresh system from the installer
01:50 PM * JT[m] uploaded an image: VectorImage_2020-01-12_014317.jpg (31KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KXYeGjcDpdolabFPlSkYHSEJ >
01:50 PM * JT[m] uploaded an image: VectorImage_2020-01-12_014333.jpg (24KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/lTGRCYEAuoSqQJbZPMdVLHvs >
01:50 PM TurBoss: (DEBUG, vcp.getWidget{"calibration_input_field"}.setText{'%4.2f' % #1})
01:51 PM Lcvette: turboss how do i put that in place of ewhat is there?
01:51 PM TurBoss: on any gcode file
01:51 PM TurBoss: and save
01:51 PM TurBoss: sek moving to dev
01:51 PM Lcvette: k
01:51 PM Lcvette: nice JT
01:52 PM Lcvette: what is it
01:52 PM Lcvette: trap?
01:52 PM JT-Shop2: cat proof bait station
01:52 PM JT-Shop2: just made 3 of them
01:52 PM Lcvette: bait?
01:52 PM Lcvette: for?
01:52 PM Lcvette: bird?
01:52 PM Lcvette: chickenses?
01:53 PM * JT[m] uploaded an image: VectorImage_2020-01-12_014604.jpg (33KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/aurZbdRRjzOBsUuLDPuWwZsu >
01:54 PM Lcvette: ah for killing rats?
01:58 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ybvvjRCNxGepsvApaTxYwzfN >
01:58 PM JT-Shop2: yea wood rats chew up the wiring in my vehicles so gotta keep their numbers down without killing my neighbors cats
01:58 PM Lcvette: TurBoss: this is the error i get when i run the installer on a clean system
01:59 PM Lcvette: gotcha
02:02 PM Lcvette: JT, need to set up a feeding zone for the rats and pick them off with a air rifle
02:02 PM Lcvette: :D
02:02 PM Lcvette: target practice
02:03 PM roguish[m]: spanky
02:03 PM Lcvette: or set the air rifle up on a servo driven 2 rotary axis stand and shoot them from the computer in the house remotely
02:03 PM Lcvette: with high def camera scope
02:03 PM JT-Shop2: problem is they come out when I'm sleeping
02:04 PM Lcvette: setup a website and sell shooting time
02:04 PM roguish[m]: night vision. auto targetting with Rpi
02:04 PM Lcvette: teens would play that gamne all hours of the night
02:04 PM Lcvette: you would go out to a slew of rat corpses in the morning
02:04 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/sDSSlWNNeHUKLGoxdLANjhOB >
02:04 PM Lcvette: and make some change
02:05 PM TurBoss: Lcvette: ^^^^^^
02:05 PM TurBoss: second is an example
02:05 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/wpfltyUyakjOnkzQHZJJxTWf >
02:05 PM Lcvette: how this become the same thing?
02:07 PM Lcvette: where [ABS[#<new_avg_cal_offset>]] is the data being sent
02:08 PM Lcvette: it is calculated in the sub routine and needs to be sent at a specific time in the subroutine
02:08 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/wNTnBTeCqiCAzSFITwufVlsZ >
02:09 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/UuuYsCsnvqURaDKIfTvnVNCr >
02:09 PM TurBoss: wrong then
02:10 PM Lcvette: ?
02:10 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/CwGYFDlUGDHnqoAKZKCLCsBw >
02:11 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/lIQpQHydBasyFVtWwIfdhGPQ >
02:11 PM Lcvette: hmmmm
02:11 PM Lcvette: that is going to interfere with the above
02:12 PM Lcvette: below
02:12 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/MvuWDnQRIevJsvPOQTQgJaVV >
02:12 PM TurBoss: ok
02:12 PM Lcvette: #1 is already assigned
02:12 PM TurBoss: :/
02:12 PM TurBoss: can have name?
02:12 PM TurBoss: letters?
02:12 PM Lcvette: does it matter what i make the "#1"
02:12 PM Lcvette: could be twizzler985
02:12 PM Lcvette: ?
02:13 PM TurBoss: yes
02:13 PM Lcvette: whatever i want to call it?
02:13 PM Lcvette: does it need the #?
02:13 PM Lcvette: now i want a twizzler
02:13 PM Lcvette: lol
02:13 PM TurBoss: duno...
02:13 PM TurBoss: lol
02:13 PM Lcvette: oh
02:14 PM Lcvette: hazzy parks a bomb in the group chat for children to play with
02:14 PM Lcvette: lol
02:14 PM TurBoss: lol
02:14 PM Lcvette: me being the child
02:14 PM Lcvette: not you
02:14 PM TurBoss: 🤾
02:14 PM Lcvette: lol
02:14 PM TurBoss: whynot
02:15 PM Lcvette: you are codefuguru
02:15 PM TurBoss: lul
02:16 PM Lcvette: what about in the designer?
02:16 PM Lcvette: do i remove the rule?
02:16 PM TurBoss: yes
02:16 PM Lcvette: or does the rule need to eb changed?
02:16 PM TurBoss: nuke
02:23 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/cUWeIqhVvuSIRlYLewzoCfHN >
02:23 PM TurBoss: does it wor?
02:23 PM Lcvette: like so?
02:23 PM Lcvette: have not tested yet
02:23 PM Lcvette: preparing to
02:23 PM TurBoss: I can test on a file
02:24 PM TurBoss: meanwhile i fixed the installer lul
02:24 PM Lcvette: i changed #1 to #<calibration_output>
02:24 PM Lcvette: you did?
02:24 PM Lcvette: \o/
02:29 PM Lcvette: does not work
02:29 PM TurBoss: errors?
02:30 PM Lcvette: no
02:30 PM TurBoss: it works
02:30 PM Lcvette: probe routine runs through to completion but does not populate the calibration_offset box
02:31 PM TurBoss: there is a typo in the code you pasted
02:31 PM TurBoss: line 5
02:31 PM Lcvette: see it
02:31 PM Lcvette: fixing
02:32 PM Lcvette: but it would have been putting out the first if statement one
02:32 PM Lcvette: so would have not made it to that error
02:32 PM TurBoss: true
02:32 PM Lcvette: output in the gui was set to avg
02:33 PM TurBoss: if I put this code in a ngc and run it it works
02:33 PM TurBoss: ```
02:33 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/pQWnYlJkBYIrTmGXrLtLNRNL >
02:34 PM Lcvette: oh then maybe it just needs to use the existing ABS[#new_avg_cal_offset>]
02:34 PM Lcvette: ?
02:34 PM Lcvette: since it is already define
02:34 PM TurBoss: try
02:34 PM TurBoss: :D
02:36 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/JgirJFtOzGLHDwkaWaeFqrQG >
02:36 PM TurBoss: then you can safely remove the ABS line
02:36 PM Lcvette: no it must be an absolute number outputted
02:37 PM TurBoss: computed on DEBUG line
02:37 PM Lcvette: the calculation makes it so it could be neg or pos depending on the type of probe
02:37 PM TurBoss: if works...
02:37 PM Lcvette: oh!
02:37 PM Lcvette: yes
02:37 PM Lcvette: i see
02:37 PM TurBoss: so better store in a named var
02:37 PM TurBoss: that just works
02:37 PM TurBoss: and use that
02:38 PM TurBoss: #<calibration_output> = 0.14
02:38 PM TurBoss: (DEBUG, EVAL[vcp.getWidget{"calibration_offset"}.setText{'%4.2f' % #<calibration_output>}])
02:38 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/hFyMrCFGjQuQiDRPVXmpHQqk >
02:39 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/kevIuPhSciKZHFmWQCuYbIYD >
02:40 PM TurBoss: wait
02:40 PM Lcvette: not right>?
02:40 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ukhrdbqfxvexHYJoXbpLTznD >
02:40 PM TurBoss: edit
02:40 PM TurBoss: makes sense?
02:41 PM Lcvette: thats what i first had
02:41 PM Lcvette: did not work
02:41 PM TurBoss: and just with numbers?
02:42 PM Lcvette: have not tried with just numbers
02:42 PM Lcvette: because the calculation uses the #<text> format to represent the numbers
02:42 PM Lcvette: so needs to work with that format
02:42 PM Lcvette: or is not useful
02:43 PM TurBoss: yep letters
02:43 PM Lcvette: can you amke your little one work with something other then actual numbers?
02:44 PM TurBoss: yes
02:44 PM TurBoss: named vars used to workk from a file loaded as program
02:45 PM Lcvette: my edit did not work wither
02:45 PM Lcvette: either
02:50 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/cUiJBMUWdNWPAVcUXvETWBJx >
02:50 PM Lcvette: turboss like this ^^^
02:50 PM TurBoss: yes
02:50 PM Lcvette: that doesn't work wither
02:50 PM TurBoss: :(
02:50 PM Lcvette: :(
02:51 PM Lcvette: wait there was an error
02:51 PM Lcvette: retesting
02:53 PM Lcvette: \o/
02:53 PM Lcvette: success
02:53 PM Lcvette: but it is in 0.00 format
02:53 PM Lcvette: it need 6 decimal spots for probe accuracy
02:53 PM Lcvette: turboss!
02:53 PM Lcvette: ^^^
02:53 PM TurBoss: hurray
02:54 PM Lcvette: how to i make 0.000000
02:54 PM Lcvette: ?
02:54 PM TurBoss: change %4.2f
02:54 PM Lcvette: to?
02:54 PM Lcvette: 4.6?
02:55 PM Lcvette: %4.6f
02:55 PM Lcvette: ?
02:55 PM Lcvette: hazzy
02:55 PM Lcvette: o/
02:55 PM Lcvette: i see you nubs
02:55 PM TurBoss: yup
02:55 PM Lcvette: is there a format legend?
02:56 PM TurBoss: https://pyformat.info/#number_sign
02:56 PM TurBoss: * https://pyformat.info/#number_sig
02:56 PM TurBoss: * https://pyformat.info/
02:57 PM TurBoss: Lcvette:
02:59 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/SOTpouuanMlMIiVpXGbtfYlZ >
02:59 PM TurBoss: use th eold methid
02:59 PM TurBoss: forgot
02:59 PM Lcvette: why uis it adding 3 digits in front of the decimal?
02:59 PM Lcvette: with a 6.2
03:00 PM Lcvette: would that not make it 000003.14
03:00 PM Lcvette: ?
03:00 PM Lcvette: i need some reasoning to make sens of it
03:00 PM TurBoss: %5.4f
03:00 PM TurBoss: 0.000
03:00 PM Lcvette: they shyould make it like a suppliers breakdown of a part model
03:01 PM Lcvette: where they define each characters defining quality in the expression
03:01 PM Lcvette: still not grasping it
03:01 PM TurBoss: %number oof charss including the dot
03:01 PM TurBoss: and how many and in the left
03:01 PM TurBoss: * and how many and in the right
03:01 PM Lcvette: ok
03:02 PM Lcvette: %9.1f = 0000000.0
03:02 PM TurBoss: yes if im correctc
03:02 PM Lcvette: %9.4f = 00000.0000
03:03 PM TurBoss: lol
03:03 PM Lcvette: oh turboss is guessing?
03:03 PM Lcvette: :o
03:03 PM Lcvette: use the codefu force obiwan
03:03 PM TurBoss: :triforce:
03:07 PM Lcvette: 🐼🐼🐼
03:12 PM Lcvette: \0/
03:12 PM Lcvette: victory
03:13 PM Lcvette: %8.6f
03:17 PM TurBoss: cool!
03:18 PM Lcvette: how do i express no decimal?
03:20 PM roguish[m]: in python tou use 'slice'
03:21 PM roguish[m]: to pick the characters you want
03:21 PM roguish[m]: lol my online class....
03:22 PM roguish[m]: after you convert numbers to text.....
03:25 PM Lcvette: it is resetting the calibration_offset box on restart now
03:25 PM Lcvette: without even the M13 command
03:33 PM Lcvette: :(
03:33 PM Lcvette: lcvette don't know what to do
03:34 PM Lcvette: hazzy or turboss any ideas?
03:34 PM TurBoss: nope
03:37 PM Lcvette: so maybe it is not related to the atc stuff?
03:39 PM hazzy-m: Yo
03:40 PM Lcvette: o/
03:40 PM * hazzy-m uploaded an image: ima_438ef30.jpeg (68KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KiHNTJKzMppqUntHrfedLAiI >
03:40 PM Lcvette: got the messages working \o/
03:40 PM Lcvette: but the calibration_offset box is reetting stuill
03:40 PM * hazzy-m is coold
03:40 PM Lcvette: is that canadia?
03:41 PM * hazzy-m jacket gloves and ear muffs got stolen yesterday :(
03:41 PM hazzy-m: yes
03:41 PM Lcvette: they stole your clothes?
03:41 PM hazzy-m: yes, and my insulated coffee cup lol
03:42 PM Lcvette: damn...canadia is gangster
03:42 PM hazzy-m: only thing that didn't steal was my parking ticket xD
03:42 PM Lcvette: but if you get sick its free healthcare soooo
03:44 PM hazzy-m: "best healthcare in the world" until you actual need it, then you get put on a 6 month waiting list
03:44 PM Lcvette: but nerie says its the best
03:45 PM Lcvette: * but bernie says its the best
03:45 PM Lcvette: freeeeAAAAAA
03:45 PM Lcvette: * freeeeEEEEEE
03:46 PM hazzy-m: yes, and they think clothes are free too apparently
03:46 PM Lcvette: socialism
03:46 PM hazzy-m: do the messages work OK?
03:46 PM Lcvette: you had things and someone else didn't so they liberated them
03:46 PM Lcvette: figured them out, but the calibration_offset box is still resetting at start up now
03:47 PM hazzy-m: that's very strange...
03:47 PM hazzy-m: not connected to DIO any more?
03:47 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/JCdTHfDLGIIPGZgWbJCxPSlP >
03:47 PM Lcvette: this is what is in my probe routine im testing
03:48 PM hazzy-m: hmm, but I think using setText may not actually reset the settings that are behind the line edit
03:48 PM hazzy-m: are the settings being saved?
03:49 PM hazzy-m: if they are set from gcode
03:49 PM Lcvette: i am only testring the one box at the moment\
03:49 PM Lcvette: and it is not saved when propbe basic is restarted
03:50 PM hazzy-m: Ok
03:50 PM hazzy-m: sek
03:50 PM Lcvette: previously it saved through restart, but then when the carousel reference was initiated for some reason it rset to zeros
03:52 PM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gcodeMesssages [+0/-0/±1] 13https://git.io/JvfdL
03:52 PM Not-c468: [02qtpyvcp] 07KurtJacobson 033b1ecdf - add setValue method to SettingsLineEdit for consistency
03:53 PM * hazzy-m sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/IQNgtSYXEXUPnpEIQSsMogAN >
03:53 PM hazzy-m: checkout my new commit to QtPyVCP and try the new code above
03:54 PM Lcvette: ok
03:54 PM hazzy-m: this will set the setting correctly and use the proper cormmating for the text
03:58 PM Lcvette: \o/
03:58 PM Lcvette: victory!!
03:58 PM Lcvette: hazzy: TurBoss it works
03:58 PM Lcvette: no reset and when atc is referenced, not reset there either!
03:58 PM Lcvette: hurray!
04:02 PM Lcvette: hazzy, does the output need to be in #999 format?
04:02 PM Lcvette: ie # followed by a number
04:03 PM Lcvette: cannot be #<calibration_offset>
04:03 PM Lcvette: ?
04:40 PM hazzy-m: Lcvette: #<calibration_offset> is fine too
04:40 PM hazzy-m: numbered or named parameters are fine
04:40 PM Lcvette: oh, was having problems with it earlier
04:40 PM Lcvette: was not working
04:40 PM hazzy-m: you can even do calculations with the parameters if you like
04:40 PM Lcvette: but when i switched to numbers it worked
04:40 PM hazzy-m: hmm, it should work
04:40 PM hazzy-m: let me test
04:41 PM Lcvette: k
05:03 PM Lcvette: Did it work for you hazzy?
05:08 PM hazzy-m: yes
05:08 PM Lcvette: hmmm
05:08 PM Lcvette: ok
05:08 PM Lcvette: maybe i tried it before we got it working
05:09 PM Lcvette: can you merge it into master in qtpyvcp and make a release?
05:09 PM Lcvette: i am almost done updating all the probe routines to remove the analog outputs
05:10 PM hazzy-m: sure
05:10 PM Lcvette: and i will update commits and make a new release for the installer
05:10 PM hazzy-m: i don't think it breaks anything
05:10 PM Lcvette: doesn't seem too
05:10 PM Lcvette: at least not in probing
05:11 PM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 033 commits to 03master [+0/-0/±6] 13https://git.io/Jvfbt
05:11 PM Not-c468: [02qtpyvcp] 07KurtJacobson 03c21cbfd - Merge branch 'gcodeMesssages'
05:12 PM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+464/-0/±0] 13https://git.io/JvfbY
05:12 PM Not-c468: [02qtpyvcp] 07traviscibot 03f890e83 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
05:14 PM TurBoss: hurray!11
05:15 PM Lcvette: hurray!!
05:46 PM Lcvette: hazzy: question
05:46 PM Lcvette: i am editing the set G30 subroutine
05:47 PM Lcvette: which pulls data from #5181-5183
05:47 PM Lcvette: can i use that without defining it?
05:47 PM Lcvette: or do i need to define it still first
05:47 PM Lcvette: ?
05:51 PM Lcvette: this is how i just set it up
05:51 PM Lcvette: but not sure if this is proper or not?
05:51 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/oevEnLVZWkvTEwgbHzvsKPYf >
05:53 PM Lcvette: also can i just use a value?
05:53 PM Lcvette: for resetting the fields is this ok?
05:54 PM Lcvette: (DEBUG, EVAL[vcp.getWidget{"x_probed_width"}.setValue{0}])
05:54 PM Lcvette: ?
05:54 PM Lcvette: hazzy
05:54 PM Lcvette: ?
05:54 PM Lcvette: ^^^
05:55 PM hazzy-m: sure!
05:55 PM hazzy-m: all of that is OK
05:55 PM hazzy-m: its just a standard DEBUG statement, that then gets evaluated instead of displayed in a notificaton
06:01 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/iIuZVkyDaUIGGeKcFKnjdoij >
06:01 PM Lcvette: so all of that wasn't necessary
06:01 PM Lcvette: lol
06:01 PM Lcvette: could just have all debug lines here with the setvalue{0}
06:01 PM Lcvette: hazzy
06:01 PM Lcvette: ?
06:02 PM TurBoss: I think is fine
06:02 PM Lcvette: yes this is fine but the code could be smaller if it isn't needed
06:03 PM TurBoss: ```
06:03 PM TurBoss: (DEBUG, EVAL[vcp.getWidget{"averaged_diam"}.setValue{0.0}])
06:03 PM TurBoss: alsovalid
06:03 PM Lcvette: just0
06:03 PM Lcvette: ?
06:03 PM Lcvette: just 0
06:03 PM TurBoss: yes
06:03 PM Lcvette: ah crap
06:03 PM hazzy-m: yes, you don't need to define the values first
06:03 PM TurBoss: but if it has a format
06:03 PM TurBoss: for determine decimal numbers
06:04 PM TurBoss: should be keept
06:04 PM hazzy-m: `(DEBUG, EVAL[vcp.getWidget{"averaged_diam"}.setStyleSheet{"color: red"}])` for example
06:04 PM Lcvette: horrible example
06:04 PM Lcvette: tells me nothing
06:04 PM Lcvette: lol
06:04 PM hazzy-m: if your using SettingsLineEdits then the formating is done in the setValue method, so you dont need to do it in the gcode
06:05 PM hazzy-m: Lcvette: what I'm trying to get across is that you can put ANY valid python code in the EVAL statement
06:05 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/WlMbrDnzzYZszmJBNhrChIPV >
06:06 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/pBTCrTCapegjuFUWDGyeTylo >
06:06 PM hazzy-m: TurBoss: That would be awesome if you could do that! But there is no way to get the comments from the interpretor
06:07 PM hazzy-m: the DEBUG statments are passed to the python interface to they are easy to get at
06:07 PM Lcvette: hazzy that above is an ok subroutine?
06:07 PM hazzy-m: Lcvette: that looks good
06:07 PM TurBoss: i was just curious
06:07 PM Lcvette: doesn't need anything else to run?
06:07 PM Lcvette: ok
06:07 PM hazzy-m: no
06:08 PM Lcvette: do i need to define how big the number is that is sent if the box is formatted for the format?
06:08 PM Lcvette: ie 4.098765
06:09 PM TurBoss: using "%4.3f" % stuff
06:09 PM Lcvette: yes
06:09 PM TurBoss: if its visivble and messes it should
06:09 PM Lcvette: when hazzy changed the setvalue thing i copied it and used it and forgot to add the formatting
06:10 PM Lcvette: :(
06:10 PM TurBoss: how is your line?
06:10 PM * Lcvette uploaded an image: Screenshot_2020-01-12_19-03-19.png (7KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/gYijBBJtHbiOGQXUlYnbtxBZ >
06:10 PM TurBoss: ```(DEBUG, EVAL[vcp.getWidget{"z_tool_change_position"}.setValue{0}])
06:10 PM Lcvette: was wondering if i could just format the receiving box
06:10 PM TurBoss: (DEBUG, EVAL[vcp.getWidget{"z_tool_change_position"}.setValue{0}])
06:10 PM Lcvette: correct
06:10 PM hazzy-m: just format the widget
06:11 PM Lcvette: that is how ALL of the subroutines have been formatted with out the format code
06:11 PM Lcvette: ok thanks hazzy
06:11 PM Lcvette: that will be MUCH easier
06:11 PM TurBoss: better
06:11 PM hazzy-m: setValue expects a int or float, so youll get errors if you format also in the gcode
06:11 PM Lcvette: how do i format {}
06:11 PM Lcvette: that is the new style
06:12 PM Lcvette: same as old style?
06:12 PM TurBoss: hazzy: can a m999 be used?
06:12 PM Lcvette: {:05.4f}
06:12 PM TurBoss: that accept words?
06:12 PM Lcvette: ?
06:13 PM TurBoss: {%5.4f}
06:13 PM hazzy-m: you can't use new {} style format since I had to use {} as () since you can't have () in comments
06:13 PM TurBoss: use old methond
06:13 PM Lcvette: * {:06.4f}
06:13 PM hazzy-m: what is m999?
06:13 PM TurBoss: like our new eval code
06:13 PM TurBoss: just an idea
06:14 PM hazzy-m: oh, thats an intersring idea
06:14 PM TurBoss: well really the same
06:14 PM hazzy-m: that would be better
06:14 PM TurBoss: and if m99 could be changed to o<eval> stuff
06:15 PM TurBoss: * and if m999 could be changed to o<eval> stuff
06:16 PM TurBoss: err m199 xD
06:17 PM hazzy-m: oh, I like that!
06:17 PM hazzy-m: can a o word take strings?
06:18 PM TurBoss: just reading docs
06:22 PM TurBoss: for what Ive read the rs274 python interpreter can be run from remaps that can be trigered from subs and should... have access to qtpyvcp... not sure aboyt that last
06:25 PM * JT[m] fires up the grill for some hamburgers
06:28 PM * hazzy-m goes to pick up the Germans from the airport
06:31 PM * Lcvette uploaded an image: Screenshot_2020-01-12_19-24-18.png (99KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/xkEXUwEEBiTHZkfJDDsKiABX >
06:31 PM Lcvette: turboss how do i get the line under the o<>
06:31 PM Lcvette: it has it on the let side but not on the right side
06:32 PM Lcvette: i tried spacing but doesn't do the same as whats on the leftt
06:32 PM Lcvette: ~o~
06:32 PM TurBoss: I dont follow
06:32 PM * Lcvette uploaded an image: Screenshot_2020-01-12_19-26-00.png (1KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/hBpqbRNmiwDJWlSTCvJsFrcT >
06:33 PM Lcvette: the line under the o
06:33 PM TurBoss: 2 spaces?
06:33 PM Lcvette: i cannot make it appear in the same spot in the other suibroutine
06:33 PM TurBoss: try 2 spaces there
06:33 PM TurBoss: or 4
06:34 PM * Lcvette uploaded an image: Screenshot_2020-01-12_19-27-30.png (9KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/DGSXFZIAWuWUMRwuKcnyWQGV >
06:34 PM Lcvette: in different spot
06:34 PM Lcvette: ?
06:34 PM TurBoss: maybe the atom is confused
06:35 PM Lcvette: the lcvette certainly is
06:36 PM TurBoss: lol
06:40 PM TurBoss: there should be an option in atom that shows spaces
06:41 PM Lcvette: This is in the same I stance of atom
06:41 PM TurBoss: ok
06:41 PM Lcvette: Instance
06:41 PM Lcvette: Side by side mode
07:26 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/UVesZWMneVCMbZHKgnaviHyV >
07:26 PM Lcvette: many errors
07:27 PM Lcvette: :(
07:27 PM Lcvette: hazzy what type widget is needed for this to work?
07:30 PM hazzy-m: how were you setting the status labels before?
07:33 PM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JvfAM
07:33 PM Not-c468: [02qtpyvcp] 07KurtJacobson 03329a0fe - StatusLabel - Rename setFormatedValue to setValue for consistency
07:33 PM hazzy-m: Lcvette: I just pushed a fix
07:33 PM hazzy-m: i renamed the setFormatedValue method to setValue
07:34 PM hazzy-m: this makes it consistent with the other widgets
07:34 PM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+464/-0/±0] 13https://git.io/JvfAD
07:34 PM Not-c468: [02qtpyvcp] 07traviscibot 03b28e414 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
07:34 PM * hazzy-m goes to have a german beer
07:45 PM Lcvette: ok i will test!
07:46 PM Lcvette: still getting the same errors
07:46 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/GVcxAAWCrgQABLUEfREkmSMw >
07:50 PM Lcvette: Oh.. the errors are coming from things that don't get saved
07:50 PM Lcvette: Aybe it's better they are setText?
07:50 PM Lcvette: They are status labels
07:51 PM Lcvette: Maybe they need to be vcpstatuslabels?
07:51 PM Lcvette: hazzy ^^^
08:02 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/JrYkllNPuhBghZnWwJYOjOAv >
08:03 PM Lcvette: turboss do you know why its erroring?
08:03 PM Lcvette: says StatusLabel has no attribute _exp
08:04 PM TurBoss: nop
08:04 PM Lcvette: :(
08:04 PM TurBoss: :/
08:07 PM Lcvette: i think maybe it is an issue in the formatting
08:08 PM * Lcvette uploaded an image: Screenshot_2020-01-12_21-01-20.png (36KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QriVWHTEYdFaWJnoAqKuvmxF >
08:08 PM Lcvette: it won't accept the old style of formatting
08:14 PM Lcvette: maybe the format needs to be set in the debug expression
08:20 PM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/±38] 13https://git.io/Jvfxp
08:20 PM Not-c468: [02probe_basic] 07Lcvette 036569109 - updated ui file and subs for new debug messages
08:20 PM Lcvette: turboss or hazzy i pushed the latest with the errors, please have a look
08:20 PM Lcvette: see if you can sort out why the errors
08:21 PM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/Jvfpe
08:21 PM Not-c468: [02probe_basic] 07traviscibot 036a57f13 - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
08:35 PM hazzy-m: Hmmm
08:35 PM hazzy-m: I’ll check in a bit
08:38 PM Lcvette: Thanks hazzy
08:38 PM Lcvette: Tried everything I could think of and I can find it on my end
09:06 PM hazzy-m: Lcvette: your using the wrong format type
09:06 PM hazzy-m: need to use the new style
09:07 PM hazzy-m: probably should change all the widgsets to use one or the other for consistency
09:11 PM Lcvette: I tried all types
09:11 PM Lcvette: None worked all errored out
09:11 PM Lcvette: hazzy: ^^^
09:11 PM Lcvette: {%6.4f}
09:12 PM Lcvette: {:0.4f}
09:12 PM Lcvette: {:6.4f}
09:12 PM Lcvette: Even tried removing all formatting
09:12 PM Lcvette: Nothing worked
09:15 PM Tom_L: try quotes
09:16 PM Tom_L: print "{:10.4f}".format(x)
09:16 PM Tom_L: your last one looks right, maybe it's something else
09:18 PM Lcvette: I formatted all boxes all ways and the errors were still there on every one
09:18 PM Lcvette: I'm not sure what else to try
09:21 PM Tom_L: Old
09:21 PM Tom_L: '%f' % (3.141592653589793,)
09:21 PM Tom_L: New
09:21 PM Tom_L: '{:f}'.format(3.141592653589793)
09:22 PM Tom_L: Old
09:22 PM Tom_L: '%06.2f' % (3.141592653589793,)
09:22 PM Tom_L: New
09:22 PM Tom_L: '{:06.2f}'.format(3.141592653589793)
09:22 PM Lcvette: Yeah I've got that webpage
09:22 PM Lcvette: Tried all
09:22 PM Tom_L: Output
09:22 PM Tom_L: 003.14
09:22 PM Lcvette: No luck said same errors
09:22 PM Tom_L: quotes?
09:22 PM Tom_L: ''
09:23 PM Tom_L: no clue.
09:25 PM Lcvette: No quotes it will tell at you if you get the formatting wrong
09:28 PM Lcvette: Hazzy does it need quotes?
09:28 PM hazzy-m: shouldnt
09:28 PM Lcvette: Then yeah it's not the widget properties format setting
09:29 PM hazzy-m: it works for me with {:06.2f}
09:29 PM Lcvette: I tried all boxes with {:6.4f}
09:29 PM Lcvette: Needs a 0?
09:29 PM hazzy-m: in the status label
09:30 PM hazzy-m: no, that just pads with zeros
09:30 PM hazzy-m: just verified that it works without
09:31 PM Lcvette: Try your s with {:6.4f}
09:34 PM Lcvette: i just did mine and still getting errors
09:34 PM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/Jvfje
09:34 PM Not-c468: [02qtpyvcp] 07KurtJacobson 039f401bf - BUG: StatusLable - Fix undefined variable bug
09:34 PM hazzy-m: for some reason mine worked
09:35 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/TtBADPtoZEXLVUlGshfDhYsz >
09:35 PM hazzy-m: not sure why, but your exception text gave me a hint as to the error
09:35 PM hazzy-m: there was an undefined variable, fixed now
09:35 PM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+464/-0/±0] 13https://git.io/Jvfjv
09:35 PM * Lcvette uploaded an image: Screenshot_2020-01-12_22-28-46.png (63KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/dWrmnmYTZWWNLeCrVVryHfBJ >
09:35 PM Not-c468: [02qtpyvcp] 07traviscibot 03eebff7c - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
09:35 PM hazzy-m: pull QtPyVCP and try again
09:36 PM Lcvette: oh ok pulling and testing
09:36 PM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/Jvfjf
09:36 PM Not-c468: [02probe_basic] 07Lcvette 039381b37 - changed formatting of statuslabels to new style
09:37 PM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvfjJ
09:38 PM Not-c468: [02probe_basic] 07traviscibot 03a052bf8 - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
09:39 PM Lcvette: \o/
09:39 PM Lcvette: hurray!!
09:42 PM Lcvette: for some reason though, the calibration offset returns the number as 0.01
09:42 PM Lcvette: if i click in it, it changes format to 6 decimal places
09:42 PM Lcvette: but they are all zeros after the 1 like so 0.010000
09:44 PM * Lcvette uploaded an image: Screenshot_2020-01-12_22-37-28.png (12KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/heHuemOynNYFEkkMZUoanUQG >
09:44 PM Lcvette: i have its format as seen above
09:44 PM Lcvette: is that wrong?
09:44 PM Lcvette: to have 0.000000
09:44 PM Lcvette: ?
09:45 PM Lcvette: hazzy
09:45 PM Lcvette: ?
09:46 PM hazzy-m: That's right
09:46 PM Lcvette: can you see whats going on there?
09:46 PM hazzy-m: Strange, I'll check in the morning
09:46 PM Lcvette: its important for it to return accurately since its used in the probe cal
09:46 PM Lcvette: ok
09:46 PM Lcvette: thanks!
09:52 PM Lcvette: found it
09:55 PM Lcvette: the routine i was running had the old set text format style with the formatting in it
09:55 PM Lcvette: i changed to the new setvalue debug line and all is good!
09:55 PM Lcvette: \o/
09:56 PM Lcvette: hazzy, can you make a new release for qtpyvcp so i can update the installer to have the correct stuff to work with the revised subs
09:56 PM Lcvette: :D
09:56 PM Lcvette: in the monring!
10:08 PM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+1/-0/±107] 13https://git.io/Jvfj6
10:08 PM Not-c468: [02probe_basic] 07Lcvette 03db06884 - updated all subroutine folders with new message subs fixed ui formatting
10:09 PM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/Jvfj1
10:09 PM Not-c468: [02probe_basic] 07traviscibot 03dbb8f5c - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
10:09 PM Lcvette: turboss when you are on dev can you make a new release for probe basic for the installer, i asked hazzy to make a new release for qtpyvcp as well
10:09 PM Lcvette: then i think we can update the installer web[ag woth the fixed version!!
10:10 PM Lcvette: hurray!!