#hazzy Logs

May 10 2020

#hazzy Calendar

05:40 AM JT-Cave: morning
08:22 AM Lcvette: Morning
08:28 AM JT-Cave: picked some strawberries this morning
08:29 AM Lcvette: nice!!
08:29 AM Lcvette: i love some fresh strawberries
08:29 AM Lcvette: we have lweis farms straberries and blueberries
08:31 AM JT-Cave: the deck planters have had the same plants for ~15 years
08:31 AM JT-Cave: always produce small strawberries
08:33 AM Lcvette: nice
08:33 AM Lcvette: sweet?
08:42 AM JT-Cave: yes small but very sweet, chickens usually get them but today I'm being selfish and they only got one
08:42 AM Lcvette: hahahahahah
08:43 AM Lcvette: how are those baby chicks doing
09:04 AM Lcvette: man im trying to make the pan button checkable but nothing i do in the qss or properties editor is woprking
09:04 AM Lcvette: im losing my mind
09:06 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/LWGKmuvdaASphGAgjwLVPhgH >
09:06 AM Lcvette: this is the qss section for the vtk buttons
09:06 AM hazzy-m: how? You need to do that in designer
09:06 AM Lcvette: anyone see anything that would prevent this from being checked?
09:07 AM Lcvette: i set it checkable in designer
09:07 AM Lcvette: in properties
09:07 AM hazzy-m: wow, those are a lot of very specific selectors :O
09:07 AM Lcvette: i tried setting it checked bvecayuse that suually shows the checked state
09:08 AM hazzy-m: ok, then that should work
09:08 AM Lcvette: yes
09:08 AM Lcvette: but its not
09:14 AM Lcvette: i can't remember why that qss was there
09:14 AM Lcvette: i just removed it and it seems to work now
09:17 AM Lcvette: hazzy: i seem to have reslolved that
09:17 AM Lcvette: lol
09:17 AM Lcvette: im still unable to find the startup error in the terminal
09:17 AM Lcvette: have a moment?
09:23 AM hazzy-m: what is the error again?
09:24 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ybEOtDoHjnCJwDbefuZMIfrU >
09:26 AM Lcvette: Hazzy ^^^
09:26 AM Lcvette: Hazzy ^^^
09:28 AM hazzy-m: you have a bad rule somewhere
09:29 AM hazzy-m: try debug logging and see if it tells you where it is
09:29 AM Lcvette: How do o do that?
09:31 AM Lcvette: hazzy: ^^^
09:31 AM Lcvette: is there a setting for debug logging?
09:33 AM hazzy-m: yes
09:34 AM hazzy-m: `--log-level debug` on the command line
09:34 AM hazzy-m: or `[DISPLAY] LOG_LEVEL = debug` in the INI
09:40 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/nHnarpMmvyxdgvOfuDWHhpij >
09:54 AM hazzy-m: Lcvette: what branch are you on?
09:56 AM Lcvette: loatest lathe branch, top of probe basic
09:56 AM Lcvette: lathe_vcp
09:59 AM Lcvette: hazzy: ^^^
10:37 AM Lcvette: i went through looking for that error and im having trouble finding it
10:39 AM Lcvette: hazzy: the ones i already fixed had a red error in the place where float, tuple etc is normally green
10:39 AM Lcvette: will this error also be red?
10:44 AM Lcvette: hazzy: is there a combination of things i need to look for to find the bad actor here?
10:45 AM Lcvette: if it isn't a red "error"?
10:59 AM Lcvette: File "<string>", line 1, in <lambda>
10:59 AM Lcvette: am i looking for something that says <lambda>
10:59 AM Lcvette: ?
11:02 AM hazzy-m: yes. you should be looking for a red channel error
11:02 AM hazzy-m: but it won't have a lambda, that's the code that throwing the error
11:02 AM * hazzy-m uploaded an image: image.png (24KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/CGFxcmLLHTVYFmMgZWjZUWPH >
11:03 AM Lcvette: :o
11:03 AM Lcvette: fancy
11:03 AM * hazzy-m is was playing last night
11:04 AM Lcvette: indeed
11:05 AM Lcvette: i have looked through every button and none have an error
11:06 AM Lcvette: unless im missing something
11:06 AM hazzy-m: Lcvette: how do a launch?
11:06 AM hazzy-m: * Lcvette: how do I launch?
11:06 AM Lcvette: launch?
11:06 AM Lcvette: designer?
11:06 AM Lcvette: i have to launch regular pb designer
11:09 AM hazzy-m: PB lathe crashes my PC :o
11:09 AM hazzy-m: Restarting
11:09 AM Lcvette: then i :o
11:10 AM Lcvette: i do regular editvcp probe basic thing
11:11 AM Lcvette: then i have to open ptobe basic lathe ui from inside the designer
11:11 AM Lcvette: i made a seperate launcher for probe basic lathe but it does not work for some reason
11:11 AM Lcvette: would love it if it did
11:15 AM hazzy-m: Lcvette: think its this rule:
11:15 AM hazzy-m: {u'channels': [{u'url': u'tooltable:current_tool?comment', u'trigger': True}], u'property': u'Text', u'expression': u'ch[0]', u'name': u'Tool Comment'}
11:20 AM Lcvette: yes, i opened it and when i try to save it gives that error
11:20 AM hazzy-m: looks like StatusLabel tool_length_7 is the culpret
11:20 AM Lcvette: but there is no red flag in it
11:20 AM hazzy-m: sweet
11:20 AM hazzy-m: at least we found it
11:21 AM * Lcvette uploaded an image: Screenshot_2020-05-10_12-20-34.png (27KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/YMwqFalvjhADhUTeKozYhVoQ >
11:21 AM * Lcvette uploaded an image: Screenshot_2020-05-10_12-20-59.png (9KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/GDltnkaAMmNYHHaNGLbpeCkm >
11:21 AM Lcvette: hazzy:
11:22 AM Lcvette: ^^^
11:22 AM Lcvette: how to fix?
11:24 AM Not-944e: [02probe_basic] 07Lcvette pushed 031 commit to 03lathe_vcp [+0/-0/±3] 13https://git.io/JfWoP
11:24 AM Not-944e: [02probe_basic] 07Lcvette 0397124a3 - ui fixes
11:24 AM Lcvette: nbeed to restart my linux box, mouse is ating up
11:24 AM hazzy-m: Lcvette: I think it should be Remark instead of Comment
11:24 AM Lcvette: ok
11:25 AM Lcvette: i will see if thaty fixes
11:25 AM Lcvette: sek while reboot
11:29 AM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JfWoF
11:29 AM Not-944e: [02qtpyvcp] 07KurtJacobson 034ab3997 - remove debug print
11:31 AM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+489/-0/±0] 13https://git.io/JfWoh
11:31 AM Not-944e: [02qtpyvcp] 07traviscibot 03d4d5e69 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
11:36 AM Lcvette: \o/
11:36 AM Lcvette: fixed!
11:36 AM Lcvette: hurray!!!!
11:37 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/kYKVxuDQeaZQWCrsyveVKjDZ >
11:37 AM Lcvette: this is what i get at startup
11:37 AM Lcvette: looks different then regular probe basic, but no errors
11:51 AM hazzy-m: thats normal
11:52 AM Lcvette: yeah i added the log level to probe basic and set to WARN and it is now like probe basic lathe
11:52 AM Lcvette: \o/
11:52 AM Lcvette: now im trying to fix all the tool change stuff in lathe
11:52 AM Lcvette: /o\
11:54 AM * Lcvette uploaded an image: Screenshot_2020-05-10_12-53-07.png (27KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/tQQuICEeCQgdziOAeXdYLuwj >
11:54 AM Lcvette: is lathe different then mill when it comes to the current tool thing?
11:54 AM Lcvette: ie tool in spindle doesn't seem to be working for lathe
11:55 AM Lcvette: is there a diferent thing needed for active lathe tool?
11:55 AM Lcvette: hazzy: ^^^
12:06 PM hazzy-m: I have no idea, but I’d think it would be the same
12:06 PM Lcvette: not seeiming to work
12:10 PM Lcvette: so the above rules window would report the current loaded tool from a T#
12:11 PM Lcvette: * so the above rules window would report the current loaded tool from a T# command
12:11 PM Lcvette: it does with an m6 command
12:11 PM Lcvette: in probe basic mill
12:11 PM Lcvette: but in lathe it is not seeming to want to do it
12:11 PM Lcvette: do i need to use M6 in lathe?
12:13 PM Lcvette: also, the tool table is not saving the front,back angles or tool tip
12:24 PM Lcvette: i cannot seem to edit the lathe tool table to accepot the additional parameters
12:24 PM Lcvette: is this the first lathe gui being finished with qtpyvcp?
12:24 PM Lcvette: maybe there is an issue there that needs a different tool table format for lathe than mill>?
12:37 PM Lcvette: hazzy: ^^^
12:37 PM Lcvette: the lathe.tbl file is rewritten and any changes to it are gone
02:27 PM hazzy-m: Lcvette: you need to specify what columns to write in the YAML file
02:28 PM Lcvette: Ok
02:28 PM Lcvette: Will have a look
02:58 PM hazzy-m: Lcvette: you ran run PP simulator if you want to see how the tool table works for a lathe
02:58 PM hazzy-m: https://hub.pathpilot.com/
02:58 PM Lcvette: What's that.
03:04 PM hazzy-m: PP simulator lol
03:09 PM JamesW[m]: they have an online simulator? That would be pretty cool.
03:11 PM Lcvette: Nice
03:12 PM Lcvette: I will have to try on my computer
03:20 PM hazzy-m: JamesW: yest, its a virtual machine that runs linuxcnc and PP, pretty sweet
03:20 PM hazzy-m: * JamesW: yes, its a virtual machine that runs linuxcnc and PP, pretty sweet
04:00 PM TurBoss: <hazzy-m "image.png"> Wow very nice
04:06 PM * TurBoss uploaded a video: lathe.webm (386KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/fZPSkTlvTSsxZNozbGxFJKff >
04:12 PM JamesW[m]: TurBoss: That's a bit swish
04:13 PM TurBoss: :)
04:14 PM hazzy-m: TurBoss: thanks
04:14 PM hazzy-m: trying to make a small VCP for my mill
04:14 PM TurBoss: great
04:14 PM JamesW[m]: small display?
04:14 PM hazzy-m: it took me a few hours to make those axis icons lol
04:15 PM hazzy-m: By Lcvette's standards, its 1024x768
04:15 PM JamesW[m]: ok. smaller than what I have been building for: 1280x1024
04:16 PM JamesW[m]: on that size display really need to use a lot of stacking.
04:16 PM Lcvette: TurBoss: you did it!
04:16 PM JamesW[m]: I already have a redesign of my display in mind. lol - nothing is ever finished.
04:23 PM Lcvette: Turboss, i thought i had made some lines with arrows showing the dimension line representation
04:23 PM Lcvette: Do you remember?
04:23 PM TurBoss: yes
04:23 PM TurBoss: you did
04:23 PM TurBoss: they are not drawn yet
04:23 PM TurBoss: this was made long ago
04:23 PM Lcvette: Ah
04:24 PM Lcvette: Gotcha
04:27 PM * hazzy-m uploaded an image: ima_0f66fba.jpeg (122KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/zVPWmTxBBYaVGJUxqcORfVIy >
04:27 PM hazzy-m: DRO text doesn’t display on the machine, cant figure it out
04:34 PM Lcvette: rule
04:34 PM JamesW[m]: is that a new DRO widget? Or just a layout of the standard DRO widget
04:34 PM Lcvette: ?
04:34 PM Lcvette: copy from probe basic
04:37 PM JamesW[m]: probe basic lathe? Or a recent version? Not seeing it on my copy
04:37 PM * Lcvette uploaded an image: Screenshot_2020-05-10_17-36-57.png (28KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/TZOMxubuxCjIBUWzaogRQBCp >
04:37 PM Lcvette: hazzy ^^^
04:37 PM Lcvette: thats whats in my work offset dro
04:43 PM Lcvette: hazzy: hazzy ^^^
04:43 PM Lcvette: also i looked in the yaml file and i don't see anything in there to do with the tool table?
05:12 PM Lcvette: JamesW: that image is from hazzy's gui creation
05:13 PM JamesW[m]: ah - ok
05:13 PM JamesW[m]: was looking at probe-basic and wondering what the hell I was missing. :)
05:15 PM Lcvette: TurBoss are you here?
05:16 PM TurBoss: yes
05:26 PM Lcvette: Do you know how to make the lathe tool table work for lathe?
05:26 PM TurBoss: no
05:27 PM Lcvette: It overwrites the lathe.tbl file
05:27 PM Lcvette: It won't save the front angle, back angle, tip data
05:28 PM Lcvette: I don't know where that data is defined
05:28 PM Lcvette: For the lathe.tbl file
05:29 PM Lcvette: What defines the heart's for the lathe.tbl file?
05:30 PM Lcvette: * What defines the headers for the lathe.tbl file?
05:48 PM Lcvette: Lcvette is stumped
05:49 PM Lcvette: /o\
05:52 PM Lcvette: Hazzy said yaml file but i don't see any reference to the tool table file in there
05:53 PM TurBoss: i don't know.
05:53 PM TurBoss: * i don't know
05:55 PM Lcvette: So i suppose qtpyvvp is currently only for mills
05:56 PM Lcvette: Without the tool inputs fit lathe can't use
05:58 PM Lcvette: * Without the tool inputs for lathe can't use it
05:58 PM Lcvette: /o\
05:58 PM Lcvette: Hazzy halp!
06:00 PM JamesW[m]: been looking at the code. Just to be clear in my mind, linuxcnc has a single tool table format it uses? i.e. same way of storing tools for mill or for lathe. Some columns used for lathe only, some for mill only and I would guess some for both. Yes?
06:01 PM JamesW[m]: available columns being: ```Available items:
06:01 PM JamesW[m]: * T -- tool number
06:01 PM JamesW[m]: ...(truncated)
06:06 PM JamesW[m]: and tracing things back the file name used is set in the EMCIO section of the ini file.
06:06 PM JamesW[m]: ``` def getToolTableFile(self, default='tool.tbl'):
06:06 PM JamesW[m]: return self.getFilePath('EMCIO', 'TOOL_TABLE', self.CONFIG_DIR, default)'''
06:08 PM Lcvette: Correct
06:09 PM JamesW[m]: Lcvette: in your tool table widget do you have the correct columns defined? Cose from a quick look at the code if those columns are there they should be getting saved.
06:09 PM Lcvette: I nnn The widget yes
06:09 PM Lcvette: They are setup in properties
06:09 PM JamesW[m]: yup - all setup in designer
06:09 PM Lcvette: You can enter everything
06:10 PM Lcvette: When you save and reload the new column revert to zero
06:10 PM Lcvette: If i try and edit the lathe.tbl file to add the new columns
06:11 PM Lcvette: When i start probe basic, the table is overwritten
06:11 PM Lcvette: The new columns are removed
06:11 PM JamesW[m]: have you tried deleting the file so the system is forced to create a new onw?
06:11 PM Lcvette: Will try that now
06:11 PM Lcvette: Sek
06:14 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/VQZPBCooftSNszaQJAzUZQeK >
06:14 PM Lcvette: it creates the new table but the required lathe columns are not in it
06:14 PM Lcvette: still mill configuration
06:15 PM JamesW[m]: yeah - so on surface loooks like a bug in the layout format.
06:15 PM Lcvette: ~o~
06:15 PM Lcvette: lcvette don't know
06:16 PM Lcvette: /o\
06:16 PM JamesW[m]: cose that shutdown was linuxcnc complaining?
06:16 PM Lcvette: but think its an important fix
06:16 PM Lcvette: i shut it down
06:16 PM Lcvette: it complained on startup because the specified file was not found
06:16 PM Lcvette: but it created a new file
06:16 PM JamesW[m]: ah
06:16 PM Lcvette: i had deleted it
06:17 PM Lcvette: from the specified path
06:17 PM Lcvette: in the folder
06:18 PM Lcvette: this is gonna need hazzy i think
06:19 PM Lcvette: maybe something needs to be added in the tool_table.py file
06:20 PM * Lcvette uploaded an image: Screenshot_2020-05-10_19-19-31.png (23KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/TAsdISDNbhyTpMpolqGadjCz >
06:20 PM * Lcvette uploaded an image: Screenshot_2020-05-10_19-20-02.png (29KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/hVYfqOxkvBcUCcWHJgguDygD >
06:20 PM Lcvette: or plugins file maybe
06:21 PM Lcvette: lcvette don't know enough python to see it
06:23 PM JamesW[m]: the meat is in the plugins
06:23 PM JamesW[m]: plugins/tool_table.py
06:23 PM JamesW[m]: that's what I'm looking at right now.
06:23 PM JamesW[m]: also looking at the linuxcnc doc's to see what the offical spec on the tool table format is
06:24 PM Lcvette: im no help in there
06:24 PM Lcvette: i would break more then i solved
06:24 PM JamesW[m]: but have a work meeting in 5mins so wont be about for ~ hr
06:24 PM Lcvette: lol
06:24 PM Lcvette: whenever
06:24 PM Lcvette: just an item on the to do list to make it useable
06:24 PM Lcvette: maybe hazzy pops in and see it
06:25 PM Lcvette: i thought for sure turboss would know the issue
06:25 PM Lcvette: he made the tool table widget
06:25 PM Lcvette: lol
06:25 PM TurBoss: I'm taking a look
06:25 PM Lcvette: \o/
06:26 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/LrmNHEeVTrIykEwbGCFMiCga >
06:26 PM JamesW[m]: wonder if this might be a bad start. Having only a subset of the valid columns on init might not be good.
06:26 PM JamesW[m]: ``` def __init__(self, columns='TPXYZDR', file_header_template=None,```
06:27 PM TurBoss: lets try
06:27 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/botdvZrIYxNGhZUuVZfMBbex >
06:27 PM TurBoss: this are all the valid ones?
06:27 PM JamesW[m]: hmmm need to pick this apart some more. These are the defaults when nothing else is provided.
06:28 PM * Lcvette posted a file: tool_table_issue.mkv (1405KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BVIZxvbNDhvrqXwBNSxQUBih >
06:28 PM * JamesW[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/WKtDExzVErqLUrrOcJNaYZAM >
06:28 PM JamesW[m]: opps - yes -
06:28 PM Lcvette: turboss there is a video link to the issue
06:29 PM TurBoss: ok
06:29 PM Lcvette: i did a screen recorder of it
06:30 PM TurBoss: others work?
06:31 PM TurBoss: like offset and co
06:31 PM TurBoss: * like offset?
06:31 PM JamesW[m]: work meeting.
06:31 PM TurBoss: have fun
06:31 PM TurBoss: :P
06:34 PM Lcvette: Yes
06:35 PM Lcvette: Just the newly added columns don't work
06:35 PM Lcvette: Its not adding them to the lathe.tbl file
06:35 PM TurBoss: ok
06:35 PM TurBoss: checking
06:35 PM Lcvette: I tried adding the headers to the file manually but it overwrites and deletes them on reload or restart
06:51 PM TurBoss: Lcvette: !!
06:52 PM Lcvette: Yes
06:52 PM TurBoss: can you try master on my fork?
06:52 PM TurBoss: turboss/master
06:52 PM TurBoss: i forgot to create a branch
06:52 PM Lcvette: Yes give me 15min, just sitting to dinner
06:52 PM TurBoss: ok profit
07:24 PM Lcvette: Ok checking
07:24 PM TurBoss: cool
07:25 PM Not-944e: [02probe_basic] 07Lcvette pushed 031 commit to 03lathe_vcp [+0/-0/±6] 13https://git.io/JfWNI
07:25 PM Not-944e: [02probe_basic] 07Lcvette 03b73487c - ui fixes
07:25 PM Lcvette: where is your branch?
07:26 PM TurBoss: is called master
07:26 PM TurBoss: on my repo
07:26 PM Lcvette: oh i see on qt
07:27 PM Lcvette: \o/
07:27 PM Lcvette: works!
07:27 PM TurBoss: great!
07:27 PM Lcvette: hurray!
07:27 PM Lcvette: what was it?
07:28 PM TurBoss: missing letters on init as JamesW said
07:28 PM Not-944e: [02qtpyvcp] 07TurBoss pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JfWNY
07:28 PM Not-944e: [02qtpyvcp] 07TurBoss 036b6307a - handle all tooltable columns
07:30 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+489/-0/±0] 13https://git.io/JfWNs
07:30 PM Not-944e: [02qtpyvcp] 07traviscibot 032e91ee5 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
07:30 PM Lcvette: \o/
07:30 PM Lcvette: one more lathe bug slayed! whoo hoo!
07:30 PM Lcvette: :D
07:30 PM Lcvette: thanks turboss!
07:30 PM TurBoss: \ø/
07:30 PM TurBoss: to you
07:31 PM TurBoss: rene_dev has a guy working on 3d proter maybe we can't get rid of the vtk one
07:31 PM TurBoss: soon
07:31 PM Lcvette: proter?
07:31 PM Lcvette: plotter
07:31 PM TurBoss: harry plotter
07:31 PM TurBoss: :P
07:32 PM Lcvette: on the tool table, its showing in the mill prbe basic too now
07:32 PM Lcvette: /o\
07:32 PM TurBoss: oh
07:32 PM Lcvette: is there a way for it to only show the ones needed for each gui?
07:32 PM TurBoss: it should
07:33 PM TurBoss: with editvcp
07:33 PM Lcvette: in designer mill only has tpxyzdr
07:34 PM Lcvette: but is showing front angle back angle and tip
07:34 PM TurBoss: ok
07:34 PM * Lcvette uploaded an image: Screenshot_2020-05-10_20-33-50.png (83KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/wBQolpaSQTPNlAfOJUfbqkNN >
07:35 PM * Lcvette uploaded an image: Screenshot_2020-05-10_20-34-23.png (11KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/wwKUQBkvdmnJzYuWziCexeeQ >
07:35 PM Lcvette: in designer it shows correctly
07:39 PM * TurBoss uploaded an image: Captura de pantalla de 2020-05-11 02-38-19.png (32KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/iYGPpDkCFtKLIEkQdtPkwhJK >
07:39 PM Lcvette: you fixed
07:39 PM Lcvette: \o/
07:39 PM * TurBoss uploaded an image: Captura de pantalla de 2020-05-11 02-38-55.png (17KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/cthIFidnFtPOveVLkSLLJUZv >
07:39 PM TurBoss: no
07:41 PM Not-944e: [02qtpyvcp] 07TurBoss pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JfWNE
07:41 PM Not-944e: [02qtpyvcp] 07TurBoss 03922aaa4 - handle more columns
07:42 PM Lcvette: not sure why mine is broken
07:42 PM Lcvette: looks like its working there
07:42 PM TurBoss: checking
07:43 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+489/-0/±0] 13https://git.io/JfWNg
07:43 PM Not-944e: [02qtpyvcp] 07traviscibot 03290f08e - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
07:43 PM * TurBoss uploaded an image: Captura de pantalla de 2020-05-11 02-42-47.png (116KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/eMrvXqEsBNAUkImpVTMUDuoY >
07:45 PM Lcvette: can't make mine work
07:48 PM hazzy-m: sorry. was away for a bit with the family
07:48 PM Lcvette: o/
07:48 PM TurBoss: o/
07:48 PM hazzy-m: Lcvette: the ToolTable is supposed to work with lathe format at well. and it was tested and did work, at least at one time
07:49 PM TurBoss: so i did mess?
07:49 PM hazzy-m: but you do need to specify the write columns in the plugin
07:49 PM Lcvette: Turboss fixed large but now probe basic mill shows the large columns too..lol
07:49 PM TurBoss: i can confirm that wasn't saving
07:50 PM hazzy-m: I realized some people might miss having to specify the columns in the INI, so I actually have a branch that remembers what columns where in the tool table when read, and restores the same ones
07:50 PM hazzy-m: * I realized some people might miss having to specify the columns in the YAML, so I actually have a branch that remembers what columns where in the tool table when read, and restores the same ones
07:51 PM TurBoss: on the ini? ist requieres?
07:51 PM TurBoss: * on the ini? ist requiered
07:51 PM hazzy-m: YAML, sorry
07:51 PM hazzy-m: there may have been another bug ...
07:51 PM Lcvette: Well that's confusing there's nothing in the yaml
07:52 PM hazzy-m: Lcvette: it defaults to mill format since thats more common, you have to add the lath columns
07:52 PM Lcvette: Is there a way to make it so it's only specified from within designer?
07:52 PM TurBoss: https://github.com/kcjengr/qtpyvcp/compare/6b6307a84608...922aaa4df7e4
07:52 PM TurBoss: ^^
07:52 PM hazzy-m: JamesWsaw where the default columns where defined in the init
07:53 PM Lcvette: In the tool table properties editor
07:53 PM hazzy-m: Lcvette: no, because some people might want to read a bunch of columns from the file, but only display a few, just specifying in the table would limit the flexibility significantly
07:54 PM Lcvette: If you can't edit them in the UI why would they need to be in the table file
07:54 PM JamesW[m]: well that meeting went a lot longer than I thought. 1.5hrs later
07:54 PM Lcvette: I don't see the logic there
07:55 PM hazzy-m: Lcvette: a lot of other things can read/write to the tool table, the table widget it not the only display method
07:55 PM JamesW[m]: hazzy: yes we need separation of loading/saving v's display
07:55 PM TurBoss: so with the changes I made if no columns defined in the yml all are read/write
07:56 PM hazzy-m: I actually had the ability to support something like Brenda's VCP layout in mind when I designed it, she no "conventional" table at all
07:56 PM hazzy-m: TurBoss: that's probably least confusing
07:56 PM hazzy-m: thanks
07:56 PM TurBoss: it works ŦM
07:56 PM hazzy-m: sweet!
07:57 PM TurBoss: great
07:57 PM Lcvette: You fixed?
07:57 PM TurBoss: do you have columns i your yaml Lcvette
07:57 PM TurBoss: ???
07:58 PM Lcvette: No I don't even know what that would look like
07:58 PM hazzy-m: JamesW: yes, that's the goal. Separating data from display is more work initially, but much more flexible down the road
07:58 PM TurBoss: ok
07:58 PM hazzy-m: also means somebody could make a SQL ToolTable and use the same displays
07:59 PM TurBoss: hey guys did youloging to freenode from the matrix?=
07:59 PM TurBoss: Lcvette: what unable to talk yesterday
07:59 PM TurBoss: https://freenode.net/kb/answer/registration
07:59 PM hazzy-m: TurBoss: it keeps kicking me out, I have to log in about once a week
07:59 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/prVdTgYkZnjkzDfcCSgmpDDc >
07:59 PM TurBoss: did you talked to @appservice-irc:matrix.org ?
08:00 PM Lcvette: whats the format in the yaml look like?
08:00 PM TurBoss: send him !storepass yourpassw
08:01 PM JamesW[m]: hazzy: do you have or can point to any instructions on how to hook a python debugger up to the python code we run under linuxcnc or qtpyvcp? Would be really helpful to be able to set break points, step through code and define watches.
08:02 PM TurBoss: it could be a nice feature
08:02 PM hazzy-m: JamesW: I had the PyCharm debugger set up one, but it was a bit of a pain
08:02 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/GQOOIqCBaZAjLwnRaqOkGvAW >
08:03 PM TurBoss: like this hazzy ??
08:03 PM hazzy-m: TurBoss: thanks!
08:03 PM TurBoss: where do i put the columns
08:03 PM TurBoss: ?
08:04 PM TurBoss: <hazzy-m "TurBoss: thanks! "> for the appservice stuff?
08:04 PM * hazzy-m sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/bqHMkrplKXAeArPlFgLVjQen >
08:04 PM hazzy-m: should work
08:04 PM TurBoss: okay!
08:05 PM Lcvette: just put anywhere in yaml?
08:05 PM TurBoss: in the data_plugins section
08:06 PM Lcvette: like so?
08:06 PM Lcvette: ```
08:06 PM Lcvette: data_plugins:
08:06 PM Lcvette: ...(truncated)
08:06 PM TurBoss: yes but the coluns you like
08:07 PM TurBoss: * yes but the columns you like
08:07 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/YBmiepfCIXPMsHWDbHWbMmqR >
08:07 PM hazzy-m: yep
08:07 PM TurBoss: yup
08:07 PM hazzy-m: gtg bbl
08:07 PM TurBoss: latter
08:08 PM Lcvette: o/
08:09 PM Lcvette: do we need to display pocket anymore in the tool table?
08:09 PM Lcvette: for atc?
08:09 PM TurBoss: if you like
08:09 PM Lcvette: does it track in the table?
08:09 PM TurBoss: but one is for read writre
08:09 PM Lcvette: i forget
08:09 PM TurBoss: and the editvcpstuff is only for show
08:10 PM TurBoss: not yet
08:10 PM TurBoss: iis on a branch
08:12 PM TurBoss: gona play some robots
08:13 PM Not-944e: [02probe_basic] 07Lcvette pushed 031 commit to 03lathe_vcp [+0/-0/±7] 13https://git.io/JfWAt
08:13 PM Not-944e: [02probe_basic] 07Lcvette 036ff0ee7 - added tool table yaml columns
08:14 PM Lcvette: ok
08:14 PM Lcvette: win the battle robot royal
08:14 PM Lcvette: \o/ victory!
08:14 PM Lcvette: :D
08:15 PM * TurBoss uploaded an image: Captura de pantalla de 2020-05-11 03-14-17.png (1241KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/EoIxgRQWuSqZopLGQhgYrBSp >
08:15 PM Lcvette: pew pew pew
08:16 PM JamesW[m]: lol
08:27 PM TurBoss: robo lost
08:36 PM Lcvette: /o\
08:36 PM Lcvette: bad robot
08:36 PM Lcvette: lol
08:36 PM * hazzy-m is back
08:37 PM Lcvette: o/
08:37 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±2] 13https://git.io/JfWAP
08:37 PM Not-944e: [02qtpyvcp] 07KurtJacobson 0311f30da - ENH: Add command line option to print system info
08:38 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+489/-0/±0] 13https://git.io/JfWAM
08:38 PM Not-944e: [02qtpyvcp] 07traviscibot 03fb1c324 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
08:42 PM Lcvette: hazzy you said the plotter could be animated?
08:42 PM Lcvette: :o
08:51 PM hazzy-m: plotter?
08:51 PM hazzy-m: oh yes
08:51 PM hazzy-m: it should not be too difficult
08:51 PM hazzy-m: for TurBoss to do
08:52 PM hazzy-m: xD
08:55 PM JamesW[m]: cool. Think I might have the mdiline entry doing the history with latest at the top
08:56 PM hazzy-m: JamesW: sweet!
08:57 PM hazzy-m: did you see the new history list provided by status is in revers chronological order? Newest at the beginning, oldest at the end?
08:57 PM hazzy-m: * did you see the new history list provided by status is in revers chronological order? Newest at the beginning, oldest at the end
08:57 PM JamesW[m]: pretty simple really. You just give the completer a list. So if you manage the updates to that list like a queue it seems to display as you want
08:58 PM JamesW[m]: hazzy: for files?
09:00 PM hazzy-m: for the MDI history
09:01 PM JamesW[m]: now I just need to make the max length confurable. Hard coded as 10 at the moment.
09:12 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JfWxX
09:12 PM Not-944e: [02qtpyvcp] 07KurtJacobson 0395608a8 - Don't use lscpu since options vary on older systems
09:13 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+489/-0/±0] 13https://git.io/JfWx1
09:14 PM Not-944e: [02qtpyvcp] 07traviscibot 03ec474f3 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
09:51 PM Lcvette: Hahaha
09:51 PM Lcvette: Turboss \o/
09:51 PM Lcvette: Did you get new robots?
09:51 PM TurBoss: o/
09:51 PM TurBoss: no
09:51 PM Lcvette: Booo
09:51 PM TurBoss: wana play?
09:52 PM Lcvette: No
09:52 PM TurBoss: bo
09:52 PM Lcvette: I'm not good at video games
09:52 PM Lcvette: Pacman
09:52 PM Lcvette: Tetris
09:52 PM TurBoss: :P
09:52 PM Lcvette: Space invaders
09:52 PM Lcvette: Pewpewpew
09:56 PM TurBoss: Lcvette: what you doing how is lathe goin?
09:57 PM Lcvette: Lathe is coming along!
09:57 PM Lcvette: Needs the vtk
09:57 PM Lcvette: :o
09:58 PM Lcvette: I've fixed most things I've found and now you guys helped fix the table\o/
09:58 PM Lcvette: So it's close to testing i think
09:58 PM TurBoss: so we need a way to initialize the tool orientation
09:59 PM Lcvette: Yeah
09:59 PM JamesW[m]: question: If I want to use the @Property() what am I supposed to be importing or other prep I might need to do?
09:59 PM Lcvette: ?
10:00 PM Lcvette: What's that?
10:01 PM TurBoss: JamesW:
10:01 PM TurBoss: ```
10:01 PM TurBoss: from qtpy.QtCore import Property
10:01 PM JamesW[m]: cheers - cracked it jjst as you posted this
10:06 PM JamesW[m]: cool - think I worked out hoe to set the mdiedit history length via a custom property in Designer :-)
10:09 PM JamesW[m]: I can see the property in Designer, change it and reference from code. :)
10:23 PM TurBoss: great!
10:37 PM hazzy-m: excellent!
10:37 PM Lcvette: What you thinking on the plotter? Have any ideas?
10:38 PM * hazzy-m uploaded a video: Peek 2020-05-10 23-37.mp4 (126KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/WdkbKoRHkhxxkPexkkxHZuOy >
10:39 PM Lcvette: Hooray you fixed Tyne dros
10:39 PM hazzy-m: a little easier than setting properties
10:39 PM hazzy-m: EppicJR: hello
10:40 PM JamesW[m]: hazzy: no fair! I only just worked out how to get Designer recognise a property! Now you doing clever popup edit dialogs
10:41 PM hazzy-m: JamesW: its just a custom interface for the properties!
10:43 PM JamesW[m]: lurk in #linuxcnc as well
10:44 PM Lcvette: hazzy: is that available in designer now?
10:45 PM hazzy-m: EppicJR: that sounds fun! Are you building from scratch?
10:45 PM TurBoss: Hello
10:45 PM hazzy-m: Lcvette: no, its going to be private, only I get to enjoy it
10:46 PM Lcvette: :o
10:46 PM * TurBoss uploaded an image: Captura de pantalla de 2020-05-11 05-45-23.png (194KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/sElxwryLlRxkIZEXQVmuBMqA >
10:46 PM hazzy-m: https://github.com/KurtJacobson/blue-control/tree/dro_widget/blue_control/widgets
10:46 PM Lcvette: /o\
10:46 PM hazzy-m: for now its there, but I'll move it to QtPyVCP once its working
10:46 PM TurBoss: my computer is busy
10:46 PM TurBoss: lol
10:46 PM hazzy-m: I wanted to test external widgets with custom editors
10:46 PM Lcvette: Nice
10:46 PM EppicJR[m]: I have been scarred by both mach3 and wxPython, and i am building a 5-axis horizontal mill so i figured this is probably the right place to lurk
10:46 PM EppicJR[m]: that is what i am currently on my way to do
10:47 PM EppicJR[m]: yes, out of whatever is cheap on ebay
10:49 PM hazzy-m: JamesW: if your curious how to make custom editors, look here:
10:49 PM hazzy-m: Where QtDesigner is told about the custom editor: https://github.com/KurtJacobson/blue-control/blob/dro_widget/blue_control/widgets/__init__.py#L18
10:49 PM hazzy-m: Where the editor is implemented: https://github.com/KurtJacobson/blue-control/blob/dro_widget/blue_control/widgets/qtdesigner/dro_editor.py
10:49 PM hazzy-m: EppicJR: Nice! Looking forward to your build progress updates :)
10:50 PM JamesW[m]: cheers. In a work conf call at the moment. Will look in a wee while.
10:50 PM Lcvette: EppicJR: sounds sweet
10:50 PM hazzy-m: have fun lol
10:50 PM hazzy-m: ok, very much past my bed time here, and early work day tomorrow...
10:50 PM hazzy-m: gn8
10:51 PM Lcvette: Night hazzy
10:51 PM TurBoss: n8
10:52 PM EppicJR[m]: thx, where is the place to be lurking for linuxCNC
10:52 PM TurBoss: irc
10:52 PM TurBoss: from discord is not posible to access there
11:26 PM TurBoss: Lcvette: you arrund
11:36 PM TurBoss: I'm gona add a property to VTK plotter to toggle betwen lathe and mill
11:37 PM TurBoss: this way 2 plotter can coexist with diferent modes
11:37 PM JamesW[m]: sounds a plan