#hazzy Logs
Feb 21 2020
#hazzy Calendar
04:53 AM dremeier[m]: g morning
04:54 AM dremeier[m]: ^^ you see that is why i highlight the workoffset, because it it sooo important š¤£
04:55 AM dremeier[m]: <dremeier[m] "image.png"> like this ^^
05:00 AM TurBoss: morning
05:15 AM jthornton: morning
05:20 AM dremeier[m]: for manual toolchange it would be nice to have a dialog says "Please insert Tool Nr. 10" "confirm" btn and the the clamp goes open.
05:20 AM dremeier[m]: so is it possible to call a qtpyvcp dialog from a subroutine?
05:44 AM dremeier[m]: TurBoss: do you have an idea?^^
05:45 AM TurBoss: does the ```(msg, test message) ``` work?
05:45 AM dremeier[m]: it shows the msg in the notification box
05:50 AM hazzy-m: Morning
05:51 AM dremeier[m]: g morning chief :-)
05:52 AM hazzy-m: TurBoss: I can fix the tool table format of it's a problem
05:52 AM hazzy-m: dremeier: hey!
05:52 AM TurBoss: do it please
05:56 AM TurBoss: I'm still trying to figure the correct syntax for the stacked widget rule
05:56 AM TurBoss: š
05:57 AM TurBoss: dremeier: there are some dialog widgets
05:57 AM TurBoss: https://github.com/kcjengr/qtpyvcp/tree/master/qtpyvcp/widgets/dialogs
05:57 AM TurBoss: maybe a way to invoke them
06:01 AM dremeier[m]: ok, but how to call them from a ngc subroutine?
06:17 AM TurBoss: i dont know
08:32 AM Lcvette: morning
08:34 AM Lcvette: TurBoss: are you succeding?
08:34 AM Lcvette: * TurBoss: are you succeeding?
08:35 AM Lcvette: hazzy: that would be great as im sure there are some folkswho will want to use the touch off tool and i suppose currently it breaks the tool table
08:36 AM hazzy-m: Seems strange that is does
08:36 AM hazzy-m: But I'll fix it tonight
08:36 AM Lcvette: \o/
08:37 AM Lcvette: never effected me becauis ei measure tools with analog setter and only ever input 4 digits
09:57 AM Lcvette: my servo gears are delayed due to weather
09:57 AM Lcvette: :(
10:02 AM Lcvette: TurBoss: i was thinking about the vcpstackedwidget, i can make vcpcheckboxes to select the axis on the settings page thatswitch between them, maybe that is an easier solution?
10:14 AM Lcvette: is there a way in python to change the offset table property editor settings by tying in to the check box that is selected?
10:15 AM Lcvette: i would need to change the columns to display setting xyzr, xyzar, xyzabr for 3/4/5 axis check box selection
10:15 AM Lcvette: and i would need to change the column widths so the formatting adjusts properly
10:28 AM Lcvette: hazzy: for the VCPSettingsCheckBox, how do i write that in the probe_basic.yml file for persistent settings?
10:36 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/XVbcPOzOAyCuAjdoEnBNncAX >
10:37 AM Lcvette: is this correct for checkboxes?
10:39 AM Lcvette: and is this the correct format for checkbox in the probe_basic.py file?
10:39 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/pjQAWIocZgENhuHwRsPbkYXp >
10:42 AM Lcvette: i would use buttons because i know how to make the buttons do this, but the i don't see a persistent button VCPSettingsPushButton
10:42 AM Lcvette: maybe a good thing to have a persistent buttons
10:42 AM TurBoss: yo
10:43 AM Lcvette: \o/
10:43 AM Lcvette: turboss is here
10:43 AM Lcvette: i was trying to make the axis display persisten based off an in gui setting
10:43 AM TurBoss: oh
10:44 AM Lcvette: i know you were struggling with the rules method
10:44 AM Lcvette: and we will need a way to change the format of the offset table as well
10:54 AM Lcvette: what you think?
11:01 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/XrrCZOsNvDHhTxuojwZUDzpX >
11:01 AM Lcvette: do you know the syntax for the checkbox?
11:01 AM Lcvette: turboss ^^^
11:02 AM Lcvette: this is how the buttons work below
11:02 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/jkyWOoNwhbSUuCxJyVzoCXnX >
11:09 AM Lcvette: turboss, do you know where this comes from?
11:10 AM Lcvette: QAbstractButton
11:10 AM Lcvette: QAbstractCheckbox
11:10 AM Lcvette: ?
11:10 AM TurBoss: is from qt docs
11:10 AM Lcvette: need to change
11:10 AM Lcvette: from qtpy.Qtwidgets import QAbstractCheckbox
11:10 AM TurBoss: https://doc.qt.io/qt-5/qabstractbutton.html
11:10 AM Lcvette: i added that to the page top but it says no module found
11:13 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ZFItrHgNsYXBEFHzqqtvyFMK >
11:16 AM Lcvette: ok sayd qcheckbox should work under qabstractbuttopn
11:17 AM TurBoss: try QCheckBox
11:19 AM * Lcvette uploaded an image: image.png (33KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/xZNqVMtWqJXXlvDDNXMwNbbb >
11:19 AM Lcvette: says checkbox inherited by
11:19 AM Lcvette: turboss ^^^
11:44 AM dremeier[m]: sorry for the breakin: please can you explain what these for: ?
11:44 AM * dremeier[m] uploaded an image: image.png (94KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/PKHAsDDzkhtxgdXbRJdHggbj >
11:45 AM Lcvette: they are status only
11:45 AM Lcvette: not human intervention needed there
11:45 AM dremeier[m]: ah, so a soubroutin will write a status in?
11:46 AM Lcvette: the subroutines pull in those integrers for various operatings and buttons throughout the gui write to those status labels
11:46 AM Lcvette: so for probe pos/wco mode, it relates to the slection button group on the probe page
11:47 AM * Lcvette uploaded an image: Screenshot_2020-02-21_12-39-53.png (21KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/bqTaHqePpaRxUwvmcZZtGKGa >
11:47 AM Lcvette: they ar eimportant for the subroutine to function properly and must not be removed unless you want to rewrite all of the subroutine
11:47 AM Lcvette: lol
11:48 AM dremeier[m]: ok thx, thatĀ“s fine for now, even I donĀ“t know what is WCO and POSĀ“n
11:48 AM Lcvette: one probes to set the work coordinate offsets to xyz 0.000
11:49 AM dremeier[m]: IĀ“m just about to add some rouls to the tool_touch_off.ngc to work with Laser.
11:49 AM Lcvette: the other probes and gives the position in the current coordinate system
11:50 AM Lcvette: or to locate a part or feature
11:50 AM dremeier[m]: ok, thx
12:01 PM dremeier[m]: one more question, in the Tool Table IĀ“m missing a colum for the measured diameter. Is that because linuxcnc has no one or is that a qtpyvcp behavior?
12:02 PM Lcvette: D
12:02 PM Lcvette: is the diameter
12:02 PM Lcvette: DIAMETER
12:03 PM dremeier[m]: in DIAMETER will pushed in the measuered diameter?
12:04 PM dremeier[m]: And where I put in the regular Tool diameter, in REMARK?
12:04 PM Lcvette: there is only one diameter that matters
12:05 PM Lcvette: the one used by the interp for calculating the trajectory
12:05 PM Lcvette: so there is only one column for actual tool diameter
12:06 PM Lcvette: http://linuxcnc.org/docs/2.8/html/gcode/tool-compensation.html
12:08 PM dremeier[m]: wow, that is very uncomfortable. In ROYAL-CNC we had ~20 parameters for one TOOL , ok that was to much but in Linuxcnc is to less š
12:09 PM dremeier[m]: but thank you, I can live with
12:10 PM Lcvette: cam has all the tool data
12:10 PM Lcvette: ie fusion has a very large standardized tool input
12:10 PM Lcvette: but for running the machine only 3 things are really needed
12:11 PM Lcvette: the length, diameter and tool number
12:11 PM Lcvette: im honestly uncertain how tool wear figures in with linuxcnc
12:11 PM Lcvette: maybe the x and y offset?
12:12 PM hazzy-m: No, diameter
12:13 PM Lcvette: looks like pathpilot has wear offsets and tool tip radius
12:14 PM * Lcvette uploaded an image: image.png (328KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/jIkGBHyuEfrUUzAAFVvxproO >
12:14 PM Lcvette: or i guess that is for lathe it looks like
12:43 PM dremeier[m]: tried a lot but cantĀ“t finde the syntax as well for a checkbox
12:43 PM Lcvette: its in hazzy's brain
12:43 PM Lcvette: lol
12:43 PM Lcvette: he made the vcp items
12:44 PM dremeier[m]: So we need hazzys brain on the Server š¤£
12:45 PM * Lcvette uploaded an image: image.png (200KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/dnJHNjbIfzeBaeQcwLKjAziR >
12:45 PM Lcvette: need to plug into hazzy
12:47 PM dremeier[m]: š¤£š¤£
12:48 PM Lcvette: hazzy will have nightmares now of use standing over him with a drill and ethernet cable
12:48 PM Lcvette: lol
12:48 PM Lcvette: * hazzy will have nightmares now of us standing over him with a drill and ethernet cable
12:50 PM TurBoss: lol
12:50 PM Lcvette: :D
12:50 PM TurBoss: šŗ
12:50 PM Lcvette: your next turboss
12:50 PM Lcvette: lol
12:51 PM Lcvette: join the matrix.. its fun!
12:51 PM Lcvette: :D
12:51 PM Lcvette: lol
12:51 PM TurBoss: you will fear my nightmares!
12:51 PM * TurBoss is on the matrix
12:51 PM Lcvette: do you have any ideas on the checkbox persistent formatting in the yml file?
12:52 PM TurBoss: what do you have?
12:52 PM TurBoss: xD
12:52 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/MeaQTUkMzWRkkGjJwSBOqyxi >
12:53 PM Lcvette: its a checkbox soooo its true of false right?
12:54 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/eyaztUpzpKbqNBxFKQvKjiZn >
12:56 PM Lcvette: /o \
12:56 PM Lcvette: can't make it work still
12:56 PM Lcvette: i'll push
12:56 PM Lcvette: can you look when you have a moment
12:58 PM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/Ā±4] 13https://git.io/JvR9c
12:58 PM Not-c468: [02probe_basic] 07Lcvette 03b48c200 - try to make axis display persistent, need halp
12:58 PM Lcvette: pushed
12:59 PM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/Ā±0] 13https://git.io/JvR9l
01:00 PM Not-c468: [02probe_basic] 07traviscibot 03799dbaa - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
01:05 PM TurBoss: not sure today
01:10 PM Lcvette: Ok
01:57 PM dremeier[m]: how do you call a "tool-blowoff"? I mean to blow with press.air the tool-touch-off-plate.
02:17 PM Tom_L: set up a special M code for it
02:19 PM dremeier[m]: sorry lol, I mean how do you say?
02:27 PM Lcvette: not sure
02:27 PM Lcvette: you would need to setup a hal pin i would think
02:27 PM Lcvette: you can use m68 analog outputs
02:27 PM dremeier[m]: no no
02:27 PM Lcvette: thats what controls the air solenoids on my atc
02:28 PM dremeier[m]: that I donĀ“t mean
02:28 PM Tom_L: i think he's asking the proper terminology for it
02:28 PM dremeier[m]: :-)
02:28 PM Tom_L: and what you said was close enough
02:28 PM Lcvette: air blast
02:28 PM dremeier[m]: ^^ Tom_L you are right
02:29 PM Lcvette: chip clear air blast
02:29 PM dremeier[m]: ok thank you, sorry for confusing
02:29 PM Lcvette: no worries
02:29 PM Lcvette: :D
02:29 PM Lcvette: call it the air cannon!
02:30 PM Lcvette: :D
02:30 PM Lcvette: lol
02:30 PM dremeier[m]: š
02:30 PM dremeier[m]: lol
02:31 PM dremeier[m]: "clear air blast" is fine
02:34 PM * dremeier[m] uploaded an image: image.png (293KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/CDoClTLMaimQEKHigIOxlNxL >
02:35 PM dremeier[m]: ^^that was the only reason IĀ“m asking, so you will understand if I show you some code š
04:18 PM Lcvette: gotcha
04:19 PM Lcvette: whats a 7i90?
04:23 PM Tom_L: parallel port interface
04:23 PM Tom_L: it's an older card
04:24 PM Tom_L: err no, it's the replacement for an older card
04:24 PM Tom_L: i forget the number
04:24 PM Tom_L: but it's parallel interface and has 72 io
04:24 PM Lcvette: oh wow
04:24 PM Tom_L: the older one only had 48?
04:24 PM Tom_L: i'm using it on my mill
04:24 PM Lcvette: seems like the 7i76e is the go to card now
04:24 PM Tom_L: and it's only $59
04:25 PM Lcvette: can mesa and linuxcnc use absolute encoders yet?
04:26 PM Tom_L: he's come up with some newer smaller cards with drivers on the card
04:26 PM Lcvette: drivers?
04:26 PM Tom_L: resolvers?
04:26 PM Lcvette: absolute encoders
04:26 PM Lcvette: no need to home
04:26 PM Tom_L: i'm not up on all the new ones you'd have to ask peter or jt
04:26 PM Lcvette: they are reading absiolute position regardless of cycling power
04:27 PM Tom_L: mostly the interface has changed but i know of that all in one card he has
04:27 PM Lcvette: so at start up they know eexactly where they are
04:27 PM Tom_L: just not what all it does
04:27 PM Tom_L: i'm not sure
04:27 PM Lcvette: gotcha
04:27 PM Lcvette: pcw_home: can linuxcnc and mesa cards work with absolute encoders now days?
04:28 PM Tom_L: https://forum.linuxcnc.org/27-driver-boards/37129-mesa-card-and-absolute-encoders
04:35 PM Tom_L: http://store.mesanet.com/index.php?route=product/search&search=7i43
04:35 PM Tom_L: that's the one the 7i90 replaced
04:35 PM Tom_L: alot more io for less
04:37 PM Tom_L: took a sec for me to remember...
04:52 PM dremeier[m]: it is 7i90hd with 72 I/O
04:53 PM dremeier[m]: I designed a 72 I/0 addon with Industrie standart
04:53 PM Tom_L: nice
04:54 PM Tom_L: i used a 7i47s on one plug
04:58 PM * dremeier[m] uploaded an image: my_MESA-Stack.jpg (2093KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/lbZpUWKRRmorfEeHGqbMVJqv >
04:58 PM dremeier[m]: for mtion I usea a 7i47s too
05:00 PM dremeier[m]: 7i87 for Analog in like pressure and temp.
05:01 PM dremeier[m]: and a 7i44 with 8x sserial, because the 7i87 and 7i90hd is driven by sserial and all Servo-drives are driven by sserial
05:03 PM dremeier[m]: the 72I/0 on my addon card have 40 inputs, sourceing or sinking like you want, and 24 out sourcing and 8 out sinking with 6A each.
05:05 PM Lcvette: is that better then using just a 7i76e?
05:09 PM D-Flo[m]: Sorry to interrupt again guys but this is driving me a little up the wall... same issue but occurring in G54
05:10 PM * D-Flo[m] uploaded a video: video0.mov (7892KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/YYCpjmmOHCrECLhmzNKHBogq >
05:10 PM Lcvette: do you understand using offsets?
05:10 PM D-Flo[m]: Watch the tool offset a couple seconds after I press tool offset. It switches from 55.000 which is tool 3 to 85.43222. Even though the program calls tool 3 and tool 3 is loaded
05:11 PM D-Flo[m]: After I press cycle start
05:11 PM D-Flo[m]: I mean anything is possible. I could be confused. But why is that value changing
05:11 PM Lcvette: post your gcode file
05:12 PM D-Flo[m]: Is a picture ok?
05:12 PM * D-Flo[m] uploaded an image: image0.jpg (3258KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/UWzcpFWNPxJxnSzjVmqNdbDz >
05:12 PM D-Flo[m]: Sorry computer is not connected to the internet
05:13 PM Lcvette: first thing i see is you have tool3 using the offset for tool 1
05:13 PM Lcvette: any reason why you did that?
05:14 PM Lcvette: h1 calls tool ones offset
05:15 PM D-Flo[m]: No idea the file was generated by fusion 360 but that would explain my error!
05:15 PM Lcvette: G43 line is usuall accompanied by a T# and H3 not a z number
05:16 PM Lcvette: * G43 line is usuall accompanied by a T# and H#
05:16 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ThSqZmXgePzLoSeFyzFAuafd >
05:16 PM Lcvette: that a fusion post as well but calls the correct tool
05:16 PM D-Flo[m]: Thatās probably why it switches so late in the program. Wouldnāt calling T3 M6 switch to the T3 offset?
05:17 PM Lcvette: i think you are not setting the offset in fusuion correctly
05:17 PM Lcvette: in the tool table there are 3 boxes for post process, generally all will have the same number in them
05:18 PM * Lcvette uploaded an image: image.png (52KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/EcAVhCeLDEmhbMTHguinOTeS >
05:18 PM D-Flo[m]: Yah probably... man that was driving me up a wall. What is the Z15 doing in G43 Z15z H1
05:18 PM Lcvette: im guessing you only changed the tool number and left the offset number as 1
05:19 PM Lcvette: just how fusions post is, i just saw the same output on mine
05:19 PM D-Flo[m]: Yes you are correct!
05:19 PM Lcvette: so it is normal and works
05:19 PM Lcvette: im the hero
05:19 PM Lcvette: always look to the gcode first
05:19 PM Lcvette: it is what runs the show
05:20 PM D-Flo[m]: š
05:20 PM Lcvette: \o/
05:20 PM Lcvette: Hurray!
05:20 PM Lcvette: :D
05:21 PM D-Flo[m]: Life is good in the world now... I was working on that for like 3 hours this morning before work. I hate being a bother but I was at the end of my rope!
05:22 PM D-Flo[m]: One last question: what is the purpose of the Z15 in G43 Z15. H1
05:23 PM Lcvette: its the dirst z move it looks like
05:25 PM Lcvette: honestly i don't know
05:29 PM Lcvette: but im assuming its the first z move, it is still on modal G0 from the xy moves and rapids to im guessing the retract or clearance height.. check your cam for that operation and see if the difference between that move positon and the following z position is the same as your retract or clearance height
05:29 PM Lcvette: its 15mm so it seems like a pretty round number
05:29 PM Lcvette: would make sense its one of those two planes the cam sends the tool too before beginning a cutting move
05:29 PM Lcvette: where it next is dropping down a little firther
05:30 PM Lcvette: in line 85 it moves again to z15 so yeah im pretty sure thats a move to your clearance or retract plane
05:32 PM Lcvette: go through your fusion tool table and make sure all those three boxes read the same as the tool number box
05:32 PM Lcvette: should be good to go after that
05:33 PM D-Flo[m]: Just checked fusion yah thatās the clearance plan. But that is a weird way for that move to be written buried in the G43
05:34 PM Lcvette: not illegal
05:34 PM Lcvette: it reads the whole line before moving and G43 H# are modal and more heavily weighted in the comutation so are interpereted before the z move
05:34 PM Lcvette: * it reads the whole line before moving and G43 H# are modal and more heavily weighted in the computation so are interpereted before the z move
05:38 PM * Lcvette uploaded an image: image.png (195KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ZNlJxAPVQmrVoPlqswwdjBAY >
05:54 PM D-Flo[m]: Everythingās safe slowly coming together... I started off in the additive manufacturing world. No work offsets so that had been a rough learning curve
05:57 PM Lcvette: D-Flo: thats great, whittling down the issues is a good thing
05:57 PM Lcvette: you learned things today!
05:57 PM Lcvette: hurray!
05:58 PM Lcvette: Hazzy o/
05:58 PM Lcvette: you came to fix things!
05:58 PM Lcvette: :D
06:17 PM hazzy-m: yes!
06:17 PM hazzy-m: or brake lol
06:17 PM hazzy-m: so what is the problem with the tool table?
06:18 PM Lcvette: ok
06:19 PM Lcvette: so when using the tool touch off, it send a 0.000000 length number
06:20 PM Lcvette: in the tool table file that puts the last digit up against the D0.0000 number and the interpereter fails to recognize or understand it because it sees: Z0.000000D0.00000
06:20 PM Lcvette: as one long mal formatted strong
06:20 PM Lcvette: * as one long mal formatted string
06:20 PM Lcvette: did i explain it ok?
06:20 PM Lcvette: or integer
06:21 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/QRCdHKjcDKaePLccXmySlECY >
06:21 PM Lcvette: look at T3 in the above table clip
06:21 PM Lcvette: Hazzy ^^^
06:22 PM Lcvette: so somehow we need to either find a way to truncate the entry from the touch off subroutine, or reformat the linuxcnc table to accept 6 decimal places without causing a formatting issue
06:24 PM * Lcvette uploaded an image: Screenshot_2020-02-21_19-16-55.png (95KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LZfKxTLyzksMRIhTeLcjTUMB >
06:24 PM Lcvette: ```
06:24 PM Lcvette: [qtpyvcp.plugins.tool_table][ERROR] Error converting value to float: 2.406106D0.25 (tool_table.py:301)
06:24 PM Lcvette: this is the error you get
06:25 PM Lcvette: hazzy: still here?
06:54 PM dremeier[m]: hazzy is falling out of his chairš¤£
06:55 PM hazzy-m: More thru than you think
06:56 PM Lcvette: you understand it?
06:56 PM Lcvette: \o/
06:56 PM hazzy-m: Lcvette: that's an excellent description, even the correct technical terminology :)
06:57 PM Lcvette: hurray!!
06:57 PM * hazzy-m 's plate is clean, tine to go to dev
06:57 PM Lcvette: yay!
06:58 PM hazzy-m: Oops, one more bite
07:09 PM hazzy-m: Lcvette: how does the touch off sub set the tool table?
07:09 PM hazzy-m: trying to duplicate
07:10 PM Lcvette: it just sets the parameter
07:10 PM Lcvette: ```
07:10 PM Lcvette: G10 L1 P #5400 Z [#<new_tool_length_offset>] (5400 = tool number)
07:11 PM Lcvette: hazzy: ^^^
07:11 PM Lcvette: tool_touch_off.ngc is the file
07:13 PM hazzy-m: thx
07:13 PM hazzy-m: I'm able to duplicate now
07:13 PM hazzy-m: first step towards fixing :D
07:13 PM Lcvette: hurray
07:13 PM hazzy-m: 90% now lol
07:16 PM Lcvette: hurray!
07:17 PM Lcvette: good, if that is an easy fix i would love to figure out the axis display settings so users can use the offset table and have only the number of actual axis they are using
07:18 PM Lcvette: i got the check box settings working on the settings page for selecting but i cannot make them persistent and the offset table also needs to be adjusted
07:18 PM Lcvette: to display the correct number of axis and have its formatting change to accomodate the new column count
07:25 PM Lcvette: A stacked widget won't work for the offset table because it needs to have the additional access actually removed otherwise it gives an error
08:03 PM hazzy-m: Lcvette: https://www.youtube.com/watch?v=y5LpJ14-_CI
08:04 PM Lcvette: k
08:05 PM Lcvette: whoa
08:05 PM hazzy-m: https://youtu.be/h6c_suyqJqE
08:05 PM Lcvette: peeps dig the probe basic!
08:05 PM Lcvette: :D
08:05 PM Lcvette: \o/
08:05 PM hazzy-m: look at his pallet changer!
08:06 PM Lcvette: just did
08:06 PM Lcvette: thats awesome!
08:06 PM Lcvette: how come he isn't in here?
08:06 PM hazzy-m: he must be a loan wolf :)
08:13 PM Lcvette: tyhat is fantastic
08:13 PM Lcvette: just went through all his vids
08:13 PM hazzy-m: https://www.flickr.com/photos/27484410@N03/
08:13 PM Lcvette: great to see people using and adapting it for their machines
08:13 PM hazzy-m: really nice work
08:14 PM hazzy-m: it really is!
08:14 PM hazzy-m: makes all the blood tears toil and sweat worth it
08:15 PM Lcvette: did you find anyhting with the tool table?
08:15 PM hazzy-m: aha!
08:15 PM hazzy-m: he is anfƤnger on the forum
08:16 PM Lcvette: yeah
08:16 PM Lcvette: never seen him in here
08:18 PM hazzy-m: wait, I think he is the one that reported the problem with the tool table lol
08:18 PM Lcvette: d-flo?
08:19 PM hazzy-m: I think so
08:19 PM Lcvette: no he has a small precison matthews machine
08:19 PM Lcvette: he posted pics yesterday
08:19 PM hazzy-m: no, he has another machine
08:19 PM hazzy-m: maybe it's nug45
08:19 PM Lcvette: thats mike croston
08:19 PM hazzy-m: I've not been in here enough :(
08:20 PM hazzy-m: yeah thats right
08:20 PM Lcvette: mike uses both probe basic and pathpilot but no not him either
08:20 PM hazzy-m: so maybe he's not in here
08:20 PM Lcvette: not that i have seen
08:21 PM hazzy-m: this is his thread: https://forum.linuxcnc.org/qtpyvcp/38408-probe-basic-doesn-t-write-all-tools
08:21 PM * hazzy-m needs to learn to sprechen the Deutsch
08:22 PM hazzy-m: everybody at works speaks it, and most people here lol
08:22 PM Lcvette: ah hell they went into the deutsche
08:22 PM hazzy-m: I can't get away from it!
08:23 PM Lcvette: they said the english version of linuxcnc is bad
08:24 PM Lcvette: said umlauts whatever that means
08:24 PM Lcvette: lol
08:24 PM Lcvette: dammit hazzy quit bein an umlaute
08:24 PM hazzy-m: somebody started speaking with me in an elevator the other day and I almost fell over because he was a stranger but spoke English
08:25 PM hazzy-m: hahaha
08:25 PM Lcvette: lol
08:27 PM hazzy-m: I think he originally had used umlaute in his english post xD
08:28 PM * hazzy-m is getting detracted from the problem at hand
08:29 PM Lcvette: i sent him an invitation to the chat
08:30 PM hazzy-m: sweet
08:31 PM Lcvette: so what did you find so far
08:31 PM Lcvette: maybe i can help
08:31 PM hazzy-m: we should not assume spaces between values
08:32 PM hazzy-m: this should be valid D12.231Z0.231Y123123Z0.0001
08:32 PM Lcvette: I looked in the RS274 manual to see if there was a code to truncate so maybe i could truncate the value before writing it
08:32 PM Lcvette: oh ok
08:32 PM Lcvette: how can we tell it
08:32 PM Lcvette: define the value break points
08:32 PM Lcvette: (unsure of the lingo)
08:33 PM hazzy-m: no, the problem is not in LCNC at all
08:33 PM hazzy-m: its a bug in QtPyVCP
08:33 PM Lcvette: ah
08:33 PM hazzy-m: https://regex101.com/r/x1vWcd/1
08:34 PM hazzy-m: this works
08:34 PM hazzy-m: but I don't know how to use it in python
08:34 PM Lcvette: so we need to tell qtpyvcp to understand values and read the letter as the value end
08:34 PM hazzy-m: see the purple lines are where it should split it
08:34 PM hazzy-m: yes
08:34 PM Lcvette: ok i can research on google
08:34 PM Lcvette: * ok i can research on googles
08:35 PM Lcvette: whats the temrinology?
08:36 PM hazzy-m: regex split on match
08:37 PM Lcvette: lineList = [line. rstrip('\n') for line in open(fileName)]
08:39 PM Lcvette: https://www.freecodecamp.org/news/my-first-python-project-converting-a-disorganized-text-file-into-a-neatly-structured-csv-file-21f4c6af502d/
08:39 PM * Lcvette uploaded an image: image.png (32KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KnYaEfRieBBSDBQTMOUGQGiH >
08:40 PM Lcvette: hazzy ^^^
08:40 PM * Lcvette uploaded an image: image.png (35KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/HrKancrRbqrBhaGDaYxQtRey >
08:41 PM hazzy-m: ```
08:41 PM hazzy-m: re.findall(r"^(?=[A-Z])" ,"D12.231Z0.231Y123123Z0.0001")
08:41 PM hazzy-m: ['']
08:41 PM hazzy-m: :(
08:42 PM Lcvette: the link i sent has a dude doing lots of python things with regex
08:43 PM Lcvette: https://www.freecodecamp.org/news/my-first-python-project-converting-a-disorganized-text-file-into-a-neatly-structured-csv-file-21f4c6af502d/
08:43 PM Lcvette: ^^^ maybe this has something you need?
08:46 PM hazzy-m: ```
08:46 PM hazzy-m: re.split(r"[A-Z]" ,"D12.231Z0.231Y123123Z0.0001")
08:46 PM hazzy-m: ['', '12.231', '0.231', '123123', '0.0001']
08:46 PM Lcvette: \o/
08:46 PM hazzy-m: that kinda works, but I also need the delimiter returned
08:47 PM dremeier[m]: "umlaute" are Ƥ ƶ Ć¼. "AnfƤnger is a bad idea as nick in a english forum", the other guy said š
08:47 PM Lcvette: why?
08:47 PM hazzy-m: dremeier: oh, that makes sense! Thank you for explaining that
08:47 PM Lcvette: he is umlaute?
08:48 PM hazzy-m: lol
08:48 PM dremeier[m]: because in AnfƤger are "umlaut" like the Ƥ
08:48 PM Lcvette: /o\
08:48 PM Lcvette: umlautes everywhere
08:48 PM dremeier[m]: lol
08:49 PM Lcvette: dots above letters
08:49 PM dremeier[m]: yeap
08:49 PM Lcvette: i gooles it
08:49 PM Lcvette: * i googles it
08:49 PM hazzy-m: Lcvette: you should try typing your password on a german keyboard, it's almost impossible lol
08:49 PM dremeier[m]: hope you can finde a solution
08:50 PM hazzy-m: dremeier: do you know regex?
08:50 PM dremeier[m]: for the tooltable unfortuantely I donĀ“t understand what you are doing š¤£
08:50 PM dremeier[m]: regex, sorry nope
08:51 PM hazzy-m: All I need to do is split a string like "D12.231Z0.231Y123123Z0.0001" on the letters, so I get something like this ["D12.231", "X0.231", "Y123123", "Z0.0001"]
08:51 PM Lcvette: gƶƶgle it
08:51 PM Lcvette: :D
08:51 PM hazzy-m: should be easy lol
08:51 PM hazzy-m: but I'm stumped
08:51 PM Lcvette: dremeier ^^^
08:51 PM Lcvette: lol
08:51 PM hazzy-m: xD
08:51 PM dremeier[m]: lol. yes already in google :-)
08:52 PM Lcvette: i made a special umlaute google!
08:53 PM dremeier[m]: If you will translate google to "umlaut" it is "gĆ¼gel"
08:53 PM dremeier[m]: :-)
08:53 PM Lcvette: https://stackoverflow.com/questions/6186938/python-how-to-use-regexp-on-file-line-by-line-in-python
08:53 PM Lcvette: š² oooh im calling it gugel from now on
08:54 PM Lcvette: hazzy link above ^^^
08:54 PM Lcvette: lots of regex line list suggestions
08:54 PM dremeier[m]: it is like highighting in gedit
08:55 PM dremeier[m]: * it is like highlighting in gedit
08:55 PM hazzy-m: dremeier: exactly!
08:55 PM hazzy-m: same thing
08:56 PM Lcvette: https://pybit.es/mastering-regex.html
08:57 PM Lcvette: hazzy: this link is fantastic
08:57 PM Lcvette: im even beginning to understand it the way he is walking through how to use regex and when not too and tips and tricks
08:58 PM Lcvette: maybe you need to use raw strong hazzy
08:58 PM Lcvette: (r")
09:00 PM dremeier[m]: it is 4 o'clock am, iĀ“ve go to sleep, cu
09:00 PM Lcvette: https://regex101.com/#python
09:01 PM hazzy-m: dremeier: gn8
09:01 PM * hazzy-m is reading
09:01 PM Lcvette: nevermind you did use raw strong
09:02 PM Lcvette: night Dremeier
09:04 PM * Lcvette uploaded an image: image.png (17KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ePHbyQYZfHqzxRiCjuJZhgbq >
09:05 PM Lcvette: says it works in python
09:05 PM Lcvette: di have python checked
09:07 PM Lcvette: also good with some excccellent examples and with the code and their usage description
09:07 PM Lcvette: https://www.geeksforgeeks.org/extracting-email-addresses-using-regular-expressions-python/
09:07 PM * Lcvette uploaded an image: image.png (65KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/UbYCYFiAzXrkDWegOUTxObDD >
09:08 PM Lcvette: hazzy ^^^
09:10 PM hazzy-m: it says it works, but I don't know how to use it lol
09:11 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/hBcHyjmWfJyQeSKUiPCFgpid >
09:12 PM Lcvette: hazzy i did it
09:12 PM Lcvette: ^^^
09:12 PM Lcvette: :D
09:12 PM Lcvette: no can't back that up
09:12 PM Lcvette: says in 2.7 need to use ur""
09:12 PM Lcvette: and u"" top prefix the test script
09:13 PM Lcvette: lcvette is just throwing things at the wall
09:15 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/RyQMLpEfUBlNSZuwWlGYsciw >
09:19 PM Lcvette: ```
09:19 PM Lcvette: (?=[TPXYZD])
09:21 PM hazzy-m: man, this is soooo cose
09:21 PM hazzy-m: re.split(r"([A-Z])", "D124234Y21.1234")
09:21 PM hazzy-m: ['', 'D', '124234', 'Y', '21.1234']
09:21 PM hazzy-m: just need to keep the D with thenumber
09:21 PM Lcvette: ```
09:21 PM Lcvette: (?=[T#P#X#Y#Z#D#])
09:21 PM Lcvette: ?
09:22 PM hazzy-m: all columns might not be there
09:22 PM hazzy-m: gtg
09:22 PM hazzy-m: bbl
09:22 PM Lcvette: k
09:31 PM Lcvette: hazzy how do i test the code?
09:31 PM Lcvette: ```
09:31 PM Lcvette: (?=[/A-Z\B/g])
09:36 PM Lcvette: hazzy: i think there is something here
09:37 PM * Lcvette uploaded an image: image.png (6KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/AqWOCpKKlkfQsFHJHGslbLsC >
09:37 PM Lcvette: captures between two things
09:37 PM Lcvette: but im not sure how to format to capture between the same things
09:38 PM Lcvette: ie between A-Z and A-Z to cobine the Z0.00000
09:39 PM Lcvette: (?=[/A-Z\B/A-Z])
09:39 PM Lcvette: but i don't know how to make it spit out code
09:44 PM * Lcvette uploaded an image: image.png (16KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/GekczqWbzobjNUEuTrzlwUtj >
09:44 PM Lcvette: i don't know if that is showing everything between the capitalized letters or not though
09:44 PM Lcvette: but it appears to be a valid expression and in the above one with regex is cool it seems to work
09:44 PM Lcvette: lcvette is out of his depth
09:44 PM Lcvette: lol
09:45 PM Lcvette: how can i see what it outputs?
09:45 PM Lcvette: like what you showed me above?
09:45 PM hazzy-m: that's what I'm confused by
09:46 PM hazzy-m: seems like it should work
09:46 PM hazzy-m: based on the pink lines at least
09:46 PM Lcvette: the \B/ is between
09:46 PM Lcvette: capture between
09:47 PM Lcvette: qhich should keep your letters anbd following integers i would think
09:47 PM Lcvette: can you see how it outputs?
09:47 PM Lcvette: or tell me where i go to test it so i can keep trying
09:50 PM Lcvette: And we need to end each line at the ;
09:50 PM Lcvette: So that needs to be in there somehow?
09:50 PM Lcvette: D1.2500 ;
09:51 PM Lcvette: Hazzy ^^^^
09:53 PM hazzy-m: I already split off the comment in the code
09:53 PM hazzy-m: so we just have the values toworru about
09:54 PM Lcvette: did you try my thing?
09:55 PM hazzy-m: yes, but it still does not work :(
09:55 PM hazzy-m: it gave me the same thing
09:55 PM Lcvette: re.split(r"([/A-Z\B/A-Z])"
09:56 PM Lcvette: hazzy ^^^
09:56 PM Lcvette: can you test it?
09:57 PM Lcvette: or tell me where to test it?
09:57 PM Lcvette: how to?
09:57 PM Lcvette: * ```
09:57 PM Lcvette: re.split(r"([/A-Z\B/A-Z])"
10:10 PM hazzy-m: https://regex101.com/r/GRZhjy/1
10:11 PM Lcvette: /o\
10:11 PM Lcvette: lol
10:13 PM * Lcvette uploaded an image: image.png (16KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/AZtYLvbUXLiQIbPyIGFBgnOS >
10:13 PM Lcvette: yes? ^^^
10:13 PM Lcvette: hazzy
10:13 PM Lcvette: \o/
10:13 PM Lcvette: success or no?
10:14 PM hazzy-m: whoa!
10:14 PM Lcvette: did i just learn fu?
10:14 PM hazzy-m: can you paste?
10:14 PM Lcvette: i see green code.. im in the matrix
10:14 PM Lcvette: ```
10:14 PM Lcvette: ([A(...)-Z])
10:15 PM * hazzy-m uploaded an image: image.png (11KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/oAfAVHemEvLopboNBrTYztFl >
10:16 PM hazzy-m: only works if there are spaces :(
10:16 PM Lcvette: /o\
10:18 PM * Lcvette uploaded an image: image.png (15KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/UTNsfhKfMidGGFnpNuwWskZh >
10:18 PM Lcvette: :D
10:18 PM Lcvette: i can get the spaces
10:22 PM Lcvette: ```
10:22 PM Lcvette: ([A(...)\b-Z])
10:22 PM * Lcvette uploaded an image: image.png (15KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/xZVLVaoJjLzyoDjUdgOTCiTf >
10:22 PM Lcvette: hazzy: ^^^
10:23 PM Lcvette: what should it look like if it is correct?
10:26 PM * Lcvette uploaded an image: image.png (15KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/pDkUAgHuLIXWPSUMWmkjKMmj >
10:30 PM * Lcvette uploaded an image: image.png (11KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/EhwdRZFxCpULNoCYFSgUTyPX >
10:30 PM Lcvette: :o
10:31 PM * Lcvette uploaded an image: image.png (11KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/DQWwYmVyKczdBBevxcPPZSUX >
10:31 PM Lcvette: hazzy hazzy hazzy ^^^^^
10:31 PM Lcvette: :o
10:32 PM * Lcvette uploaded an image: image.png (11KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/cjUcJLkRrBvjibcLJaFHAPFz >
10:32 PM Lcvette: this has to be good for something
10:33 PM hazzy-m: but your using white space again
10:34 PM hazzy-m: try with D12.231Z0.231Y123123Z0.0001
10:34 PM * hazzy-m needs to sleep
10:34 PM Lcvette: i see now
10:34 PM hazzy-m: we have to get this figured out
10:34 PM hazzy-m: its driving me crazy lol
10:34 PM hazzy-m: it cant beet his hard
10:39 PM * Lcvette uploaded an image: image.png (15KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/GLuheNoewOotLJkkKRLudTSI >
10:44 PM * Lcvette uploaded an image: image.png (16KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/OKuEzuDsJJEmrGkdjYDGhviu >
10:44 PM Lcvette: this would work if it always had the same format wouldn't it?
10:44 PM Lcvette: which it should
10:45 PM Lcvette: this way it would ignore the last two digits after any capitalized called letter in the list
10:45 PM Lcvette: but it would not be universal
10:45 PM Lcvette: but as long as any possible capital letters were listed it shuold work