#hazzy Logs

Feb 22 2020

#hazzy Calendar

07:36 AM dremeier[m]: g morning
07:37 AM dremeier[m]: you were very hardworking last night 👍️
07:38 AM * dremeier[m] uploaded an image: image.png (137KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/WUSZuSvTCdbDtcQtFEDtGUZK >
07:38 AM dremeier[m]: how can i change the color of the selected Tool?
07:39 AM * dremeier[m] uploaded an image: image.png (390KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/PBxdfGRAuykmExfMxrjUnEGT >
07:40 AM dremeier[m]: curren-tool-color or currenttoolcolor does not work
07:40 AM dremeier[m]: * current-tool-color or currenttoolcolor does not work
07:59 AM Lcvette: Properties editor
08:09 AM * Lcvette uploaded an image: Screenshot_2020-02-22_09-02-02.png (24KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ANDQDfgaPmPNEEHjVwsHjOFM >
08:13 AM Lcvette: dremeier: ^^^
08:18 AM Lcvette: hazzy did you see what i did above?
08:18 AM Lcvette: morning
08:18 AM Lcvette: * Morning
08:18 AM Lcvette: * Hazzy did you see what i was able to get above?
08:24 AM * dremeier[m] uploaded an image: image.png (192KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/NEwMyurGJwWXaMjQzIoFfCvd >
08:24 AM dremeier[m]: thank you Lcvette
08:24 AM Lcvette: yup
09:19 AM hazzy-m: morning
09:19 AM hazzy-m: Lcvette: nice!
09:19 AM hazzy-m: that might work
09:19 AM Lcvette: morning
09:19 AM Lcvette: o/
09:20 AM Lcvette: but there is an issue i found
09:20 AM Lcvette: on the diameter, it doesn't always have 4 decimal places
09:20 AM Lcvette: it truncates trailing zeros
09:20 AM Lcvette: is 0.2500 is written as 0.25
09:21 AM Lcvette: in this case, the ; symbol becomes part of the selection, unless you know a way to end the regex for that line at the ;
09:21 AM Lcvette: ?
09:21 AM Lcvette: hazzy ^^^
09:22 AM * Lcvette uploaded an image: image.png (41KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/lTxdVGeBSXtRdqjpDiigdwkN >
09:22 AM * Lcvette uploaded an image: image.png (12KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/SpcceUMMdpllNEsKQCDGbvFt >
09:23 AM Lcvette: but this is as close as i could get to pulling the pertinent data out
09:23 AM Lcvette: i went throug all of the listed tokens trying various things
09:23 AM Lcvette: im sure there is a better way to do it, but im not sure how?
09:24 AM Lcvette: would be nice if there was a symbol command to capture the following float
09:24 AM Lcvette: (T\float)
09:24 AM hazzy-m: yes!
09:24 AM Lcvette: lcvette is beginning to see the matrix
09:24 AM hazzy-m: ([A-Z]+\float+) would be perfect
09:25 AM hazzy-m: if it existed
09:25 AM Lcvette: you8 would think that would be there as i can see so many situation it would be pertinent
09:34 AM * Lcvette uploaded an image: image.png (30KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/SCzuBWLlYdJSIZkIEyGYhBOH >
09:35 AM Lcvette: i was also stating to get somewhere with this but again not being able to cal of the whole number i couldn't resolve
09:38 AM * dremeier[m] uploaded an image: image.png (11KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/mYSbJrRnCBevwrXwItdQevob >
09:38 AM dremeier[m]: that works
09:38 AM Lcvette: hazzy ^^^
09:38 AM Lcvette: :o
09:38 AM Lcvette: dremeier may have solved it
09:39 AM dremeier[m]: https://regex101.com/r/GF8XGs/2/
09:39 AM dremeier[m]: regardless of how any digits are there 👍️
09:42 AM * Lcvette uploaded an image: image.png (35KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/wIBZAqiwJOhQuOtbwTaXDeWx >
09:42 AM hazzy-m: https://regex101.com/r/CZBmid/1
09:42 AM hazzy-m: HYRRAY!!!!
09:43 AM hazzy-m: ```
09:43 AM hazzy-m: re.findall(r"([A-Z]+[0-9.+-]+)", raw)
09:43 AM hazzy-m: ['T1', 'P1', 'X0.0', 'Y0.0', 'D0.125']
09:44 AM * Lcvette uploaded an image: image.png (38KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/WPBpHnGUVZacFzoxZidiPvCN >
09:44 AM Lcvette: you did it?
09:44 AM dremeier[m]: perfect guys !!!!
09:44 AM Lcvette: hurray!!!!
09:45 AM Lcvette: that was a fun exercize
09:45 AM Lcvette: * that was a fun exercise
09:47 AM hazzy-m: yeah it was!
09:47 AM hazzy-m: and we learned something too
09:47 AM hazzy-m: now to implement it lol
09:47 AM Lcvette: thats the easy or hard part?
09:48 AM hazzy-m: should be easy
09:48 AM Lcvette: hazzy does that mean it will also recor negative numbers?
09:48 AM hazzy-m: yes
09:48 AM Lcvette: it does i tested
09:49 AM Lcvette: :D
09:49 AM Lcvette: \o/
09:49 AM Lcvette: hurray
09:49 AM hazzy-m: it should have before too
09:51 AM * Lcvette uploaded an image: Screenshot_2020-02-22_10-43-54.png (15KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/tJFbrDIJonwLSSWJoZXyaHyu >
09:51 AM Lcvette: will it go somewhere in here hazzy?
09:51 AM hazzy-m: no
09:51 AM hazzy-m: in the load tool table method
09:54 AM Lcvette: hazzy while you arte in there, is there a way to make the curent tools row change background color
09:55 AM Lcvette: there is a setting in the property editor to change the text color currently but i would like to have the currently loaded tools background color be changed
09:55 AM Lcvette: stands out nicer
09:59 AM dremeier[m]: ^^yes would be nice
10:04 AM dremeier[m]: the tool which was loaded before shutdown is gone after start lcnc
10:43 AM hazzy-m: dremeier: it should reload automatically after you home the machine
10:44 AM hazzy-m: Ok, the tool table is not good to values like this X+999.999999, and will not error out for larger values
10:44 AM hazzy-m: is now good*
10:48 AM Lcvette: Hurrray!,
10:52 AM Lcvette: Can you tell me the format to make the vcpsettingscgeckboxes work?
10:57 AM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±2] 13https://git.io/Jv0ne
10:57 AM Not-c468: [02qtpyvcp] 07KurtJacobson 03e930f5b - BUG: ToolTable - Fix error loading tool table with non space separated values
10:58 AM Lcvette: \o/
10:58 AM Lcvette: Hurray
10:58 AM Lcvette: I will test!
10:59 AM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+464/-0/±0] 13https://git.io/Jv0nU
10:59 AM Not-c468: [02qtpyvcp] 07traviscibot 0383feaf4 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
11:00 AM hazzy-m: thanks
11:04 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/dBeUvRmfKJqNhtidquZqjWDF >
11:04 AM Lcvette: hazzy ^^^
11:04 AM Lcvette: but tool table error is gone
11:24 AM dremeier[m]: <hazzy-m "dremeier: it should reload autom"> it should but it does not, in which file i can have a look?
11:26 AM hazzy-m: are you using latest master?
11:26 AM hazzy-m: it does reload here, I just tested
11:34 AM dremeier[m]: yes latest master qtpyvcp but pb I can´t merge because i changed to mutch.
11:35 AM dremeier[m]: it is dev
11:38 AM hazzy-m: ok, that should be working then
11:38 AM hazzy-m: what does qtpyvcp -v say?
11:38 AM * hazzy-m uploaded an image: image.png (56KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/xrJmguzdlMrpOVWTpMpMGGEj >
11:39 AM hazzy-m: is that more better?
11:41 AM * dremeier[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/drmMgdpdSWLzBelMVsDWdyAW >
11:41 AM * hazzy-m uploaded a video: Peek 2020-02-22 12-34.mp4 (74KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/yuObBRSFLVDRlbZkhNkkKhyd >
11:42 AM dremeier[m]: because qtpyvcp -v gave back an error, I installed again with pip install -e . ^^
11:43 AM hazzy-m: that's strange
11:43 AM hazzy-m: try probe_basic -v
11:44 AM dremeier[m]: that is running in a fresh vbox
11:44 AM dremeier[m]: the same error
11:44 AM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/Jv0cL
11:44 AM Not-c468: [02qtpyvcp] 07KurtJacobson 0375b2c31 - ENH: ToolTable - Add support for changing bg color of current tool
11:45 AM * dremeier[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/DtJFUdMIpJVSqKyTWAIavGzl >
11:45 AM hazzy-m: try pip uninstall qtpyvcp
11:45 AM hazzy-m: and then install again
11:46 AM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+464/-0/±0] 13https://git.io/Jv0cY
11:46 AM Not-c468: [02qtpyvcp] 07traviscibot 03df63ca8 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
11:46 AM hazzy-m: if you already have it installed you can run `pip install -e , --no-deps` and that will prevent it from trying to reinstall the dependencies which can cause problems
11:46 AM dremeier[m]: the same error
11:47 AM hazzy-m: that should be the latest
11:48 AM * dremeier[m] uploaded an image: image.png (350KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BhDQMQREUTJqMuQWdRYNUNOV >
11:48 AM dremeier[m]: deinstall than install the same
11:50 AM Lcvette: Keep running pip uninstall
11:51 AM Lcvette: It will delete all the older versions as well
11:51 AM Lcvette: Run it until you get a red errormessage
11:52 AM * dremeier[m] uploaded an image: image.png (557KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/adAnqYvesaFMolVCwlxCTXTn >
11:53 AM Lcvette: pip uninstall qtpyvcp
11:53 AM * dremeier[m] uploaded an image: image.png (1710KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/yFlaHPDabBiHRhcSJvRUAPpl >
11:54 AM dremeier[m]: realy strange ^^
11:55 AM * dremeier[m] uploaded an image: image.png (62KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/EXWPARDYWLboLlboiHlwHSnM >
11:55 AM dremeier[m]: oh my goodness
11:56 AM dremeier[m]: typo ^^
11:56 AM dremeier[m]: 😲
11:57 AM Lcvette: What typo?
11:59 AM TurBoss: pip install --upgrade -e .
11:59 AM TurBoss: hello
11:59 AM dremeier[m]: hola
12:00 PM dremeier[m]: qtpycvp -v <- typo, wrong
12:00 PM dremeier[m]: qtpyvcp <- no typo
12:00 PM TurBoss: CVP
12:01 PM dremeier[m]: 😓
12:01 PM Lcvette: Lol
12:02 PM TurBoss: the CVP Crew
12:03 PM TurBoss: sup lcvette? made the motors spin?
12:04 PM dremeier[m]: ControlVirtualPeople 🤣🤣
12:05 PM TurBoss: 😋
12:05 PM Lcvette: Lol
12:06 PM TurBoss: just found riotx for android
12:06 PM Lcvette: Turboss is here \o/
12:06 PM Lcvette: :o
12:07 PM Lcvette: Did you see hazzy gixed the tool error
12:07 PM Lcvette: A CD i learned some pyfu
12:07 PM Lcvette: And
12:08 PM TurBoss1: woooo
12:08 PM TurBoss1: yeah
12:08 PM TurBoss1: but i need memory whats the tool error?
12:08 PM Lcvette: But then he went before he could fix the axis display
12:08 PM Lcvette: You changed your name color
12:08 PM Lcvette: What's riotx?
12:09 PM TurBoss1: its a matrix client with riot experimental features
12:11 PM Lcvette: I'm on it now!
12:11 PM Lcvette: I'm cutting edge...
12:11 PM TurBoss1: lol
12:12 PM hazzy-m: lol
12:12 PM hazzy-m: Lcvette: does pocket 0 ever exist on a tool changer?
12:13 PM TurBoss1: hey hazzy whats up?
12:13 PM Lcvette: Not that I'm aware of
12:13 PM Lcvette: I don't think linuxcnc likes pocket 0
12:13 PM TurBoss1: whats the issue?
12:13 PM hazzy-m: TurBoss: hola! Que passa?
12:13 PM Lcvette: I remember trying to make the spindle pocket 0
12:13 PM hazzy-m: I'm thinking on a simple machine with manual tool change there is no need to write the pockets at all
12:14 PM hazzy-m: In that case LCNC defaults to setting P to -1
12:14 PM TurBoss1: what was that the tooltable error with 6 numbers?
12:14 PM Lcvette: Regex
12:14 PM hazzy-m: TurBoss: it could not convert D123.123123Z.2134234
12:14 PM hazzy-m: to float lol
12:14 PM Lcvette: Fu'd it
12:15 PM TurBoss1: oh ok i remember
12:15 PM TurBoss1: yeah great
12:15 PM hazzy-m: We made is so a space is not required between values
12:15 PM Lcvette: You missed a fun coding session
12:15 PM TurBoss1: 😢
12:15 PM Lcvette: We missed you
12:16 PM Lcvette: Would have been a party if turboss was there
12:16 PM hazzy-m: Lcvette: I'm thinking when you add a new tool to the table the pocket should default to -1, since its not in the ATC yet
12:16 PM TurBoss1: that makes sense
12:16 PM dremeier[m]: also I could do something🤣
12:16 PM Lcvette: Dunno
12:16 PM Lcvette: Think pockets are ignored
12:16 PM hazzy-m: right now it defaults to the tool number, which can't be right
12:17 PM hazzy-m: with your ATC reutine were are the pokets that each tool is in stored ?
12:17 PM TurBoss1: in params
12:17 PM Lcvette: Tyne pickets are defined with variables
12:18 PM Lcvette: * The pockets are defined with variables
12:18 PM Lcvette: 5190-5201
12:18 PM Lcvette: In var file
12:18 PM Lcvette: That's what the atc uses
12:19 PM Lcvette: I think it ignores the table pocket assignment
12:20 PM Lcvette: Maybe useful to add tool table column display checkboxes to settings page
12:20 PM Lcvette: Can remove pocket and x and y column for mill i yhimk
12:21 PM Lcvette: Make more room for tool description
12:25 PM hazzy-m: It would be nice if the ATC rewrote the tool table so you could see at a glance which pocket each tool was in....
12:25 PM Lcvette: That's what the atc psge is for
12:26 PM Lcvette: * That's what the atc page is for
12:41 PM Lcvette: hazzy: if you wanted to maybe you could pull data from the var file but i thought that was not updated until shutdown?
12:46 PM Lcvette: I think the broken offset and axis selection would be a higher priority fix though
01:16 PM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/Jv0Wy
01:16 PM Not-c468: [02qtpyvcp] 07KurtJacobson 035b9dfe2 - ToolTable: New tool pocket should default to -1
01:17 PM Not-c468: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+464/-0/±0] 13https://git.io/Jv0WH
01:17 PM Not-c468: [02qtpyvcp] 07traviscibot 032b60981 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
01:22 PM hazzy-m: Q: Why do programmers prefer dark mode?
01:22 PM hazzy-m: A: Because light attracts bugs.
01:25 PM dremeier[m]: 👍️🤣
01:32 PM Lcvette: lol
03:04 PM Lcvette: hazzy the l;inuxcnc docs say that the pocket should be 1-99999
03:05 PM hazzy-m: I know
03:05 PM hazzy-m: but its a lie
03:05 PM Lcvette: :o
03:06 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/AEwTbfAyTPGXQqcBJrOKCcnb >
03:06 PM Lcvette: :o
03:06 PM Lcvette: im getting errors
03:07 PM Lcvette: not all arguements converted during string formatting in tool_table.py
03:08 PM hazzy-m: that error is in the logging modules
03:08 PM hazzy-m: hmmm
03:09 PM * Lcvette uploaded an image: Screenshot_2020-02-22_16-01-48.png (58KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/hfNvZrtGzmvdPjtAMZCjuLBK >
03:09 PM Lcvette: line is blank
03:09 PM hazzy-m: yeah, does not make any sense
03:10 PM hazzy-m: how can I reproduce that error?
03:11 PM Lcvette: i just load probe basic and estop, power, ref all and its there
03:11 PM hazzy-m: which config?
03:11 PM Lcvette: happens on either
03:11 PM Lcvette: atc or probe_basic
03:12 PM Lcvette: happens after hitting the ref all button
03:12 PM Lcvette: curing homing
03:12 PM Lcvette: * during homing
03:21 PM hazzy-m: I can't duplicate
03:24 PM * TurBoss has issues with its gpu on linux :/
03:24 PM * hazzy-m too :(
03:24 PM Lcvette: happens with a 6 decimal tool in the file
03:25 PM hazzy-m: I had to change to s cheap GPU, my good one caused problems
03:25 PM Lcvette: goes away with 4 digit tool table entries
03:26 PM Lcvette: now its not doing it anymore
03:27 PM Lcvette: /o\
03:28 PM Lcvette: now its only doing it on the at branch
03:28 PM hazzy-m: still can't reproduce
03:28 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/cJfWKAInIEnpujCkMQiKwBAk >
03:29 PM TurBoss: damn i can't go dev
03:29 PM TurBoss: xD
03:34 PM Lcvette: damnnit turboss
03:35 PM Lcvette: the new pc is gotta go
03:35 PM Lcvette: get the old one iout
03:35 PM Lcvette: :D
03:35 PM Lcvette: hazzy im now consistently seeing the rror on the atc sim
03:35 PM Lcvette: but not on the probe basic one
03:36 PM Lcvette: im checked out on latest master on both qtpyvcp and probe basic
03:38 PM Lcvette: * the new pc has gotta go
03:38 PM Lcvette: * get the old one out of the closet
05:19 PM Lcvette: Hazzy still not able to create the error?
05:24 PM hazzy-m: no
05:31 PM Lcvette: Wonder why
05:31 PM Lcvette: And you tried the vmc index inch ini?
05:39 PM Lcvette: Dremeier can you test the latest branch top see if you can produce that error?
05:40 PM Lcvette: Or turboss
05:50 PM TurBoss: cant reproduce
05:50 PM TurBoss: with 6 digits
05:54 PM hazzy-m: neither can I
05:55 PM TurBoss: hazzy: I'm trying to figure the rule expresions syntax
05:56 PM * TurBoss uploaded an image: image.png (34KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/XRXjMkvPEYIzAgFfpvHFzcUa >
05:59 PM Lcvette: Dunno why in getting that error
05:59 PM Lcvette: Hazzy do you know the syntax?
06:00 PM Lcvette: * Dunno why I'm getting that error
06:01 PM hazzy-m: 1 if ch[0] else 0
06:02 PM hazzy-m: what are you trying to do??
06:02 PM hazzy-m: it might change the rule lol
06:03 PM Lcvette: Trying to get the vcpstackedwidget to display the correct axis count based on the ini settings
06:05 PM Lcvette: Hazzy ^^^
06:06 PM TurBoss: that worked
06:06 PM TurBoss: but need a way to do elifs
06:08 PM TurBoss: ```
06:08 PM TurBoss: 0 if ch[0] == 3 elif 1 if ch[0] == 4 int() elif 2 if ch[0] == 5 0 else
06:08 PM TurBoss: ops
06:09 PM TurBoss: * ```
06:09 PM TurBoss: 0 if ch[0] == 3 1 elif ch[0] == 4 2 elif ch[0] == 5 0 else
06:09 PM TurBoss: ```
06:12 PM Lcvette: Yeah it worked?
06:13 PM TurBoss: no
06:13 PM Lcvette: Oh still need the elifs
06:13 PM Lcvette: Hazzy do you know?
06:34 PM dremeier[m]: sorry, I guess I broke my dev
06:35 PM * dremeier[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/QURySbxgOpgccTnwxOmeICGi >
06:35 PM dremeier[m]: will do from scratch