#hazzy Logs
Jun 25 2020
#hazzy Calendar
12:37 AM Lcvette: Joco: i swear we're haff it working at one point
12:37 AM Lcvette: It was on a list of items in the to do that were sent through and checked off
12:38 AM Lcvette: * Joco: i swear we had it working at one point
12:38 AM Lcvette: * It was on a list of items in the to do that we went through and checked off
12:38 AM Joco[m]: pre my time then. :)
12:39 AM Lcvette: Yeah like a year ago
12:40 AM Joco[m]: hmmm - hang on ....
12:40 AM Joco[m]: how are you calling the run from functionality?
12:41 AM Joco[m]: cose this implies its available: https://github.com/kcjengr/qtpyvcp/blob/ee534e778759bb2caef99515ea7ce2b337dbac3d/qtpyvcp/actions/program_actions.py#L87
12:42 AM Joco[m]: however this part of actions says no: https://github.com/kcjengr/qtpyvcp/blob/ee534e778759bb2caef99515ea7ce2b337dbac3d/qtpyvcp/actions/program_actions.py#L155
12:43 AM Joco[m]: action button syntax should be: program.run:line
12:47 AM Lcvette: Maybe it's something got updated and runfmhere got forgotten?
12:48 AM Lcvette: program.run-from-line
12:48 AM Lcvette: that is in designer for the button
12:48 AM Joco[m]: yup - wrong
12:49 AM Joco[m]: well that is why you are getting the error
12:49 AM Joco[m]: the action button syntax needs a line reference
12:49 AM Joco[m]: is this button expecting to pick the start line from the editor? Or something?
12:50 AM Lcvette: i don't know how hazzy had it setup
12:50 AM Lcvette: i assumed it was from the editor, ie the line with the arrow you highlighted
12:50 AM Lcvette: im testing now
12:50 AM Joco[m]: k- cose no code I can see in editor to do that. Not hard to do I think.
12:51 AM Joco[m]: assum action buttons if needing a variable can reference an input widget?
12:52 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/OSfsJfgotXowhflznGUaMUBU >
01:03 AM Joco[m]: you tweaked a btn on PB?
01:10 AM Joco[m]: what was in your action button?
01:25 AM Joco[m]: just on dinner duty at the moment
02:33 AM Joco[m]: think I have found the issue. from what I can see action buttons are not coping with the #<widgetname> syntax used with mdi buttons
02:42 AM Joco[m]: also I would be very careful about using it with remap or subroutines. Strange stuff happens in the plot. Not sure if its okay for what is happening in the programe
02:44 AM Joco[m]: I can get the action to work by giving it a constant number as the run from value. Tested it and that works. BUT it re runs from the beginning of the file just skipping all the move gcodes. It does seem to fire or get confused with my remap of M6 and things go a bit screwy from there on in the plot.
02:45 AM Joco[m]: vtk plot
02:57 AM Joco[m]: Lcvette: its not handling #<widgetname> syntax
05:07 AM JT-Cave: morning
05:12 AM Joco[m]: morning JT
05:15 AM pink_vampire: morning
05:25 AM Joco[m]: hi yah.
06:01 AM hazzy-m: morning
07:24 AM TurBoss: morning
09:21 AM Lcvette: morning
09:21 AM Lcvette: joco, good find
09:22 AM Lcvette: turboss where ya been i had rasberry pi questions fo the rpi4 guru
09:51 AM TurBoss: to move probe_basic there?
09:53 AM TurBoss: su
09:53 AM TurBoss: opps
09:53 AM TurBoss: that was close
09:54 AM Lcvette: /o\
09:54 AM TurBoss: helklo
09:54 AM Lcvette: had a friend who has rpi4 and was trying t run pobe basic on rpi4
09:54 AM TurBoss: * hello
09:54 AM Lcvette: o/
09:54 AM Lcvette: lcvette don't know anything about pis
09:54 AM Lcvette: * lcvette don't know anything about pi's
09:54 AM TurBoss: it can not run VTK
09:55 AM Lcvette: so rpi is useless to lcvette if it cannot runn vtk
09:55 AM TurBoss: due GL limitations
09:56 AM TurBoss: bash
09:56 AM TurBoss: ops
09:56 AM TurBoss: again
09:56 AM TurBoss: for now yes
09:56 AM TurBoss: 3 problems
09:56 AM TurBoss: vtk from pip is not abailable
09:57 AM TurBoss: its posible to compile it from sources with QT
09:57 AM TurBoss: but once boot probebasic
09:57 AM TurBoss: trows opengl version error
09:57 AM Lcvette: ok
09:57 AM TurBoss: we need 3.30
09:57 AM TurBoss: but pi only has 2.0
09:57 AM TurBoss: thats for 3d drawing
09:57 AM Lcvette: gl3.3
09:57 AM Lcvette: ?
09:58 AM TurBoss: yes
09:58 AM Lcvette: ok
09:58 AM Lcvette: do you know about the run from line thing?
09:58 AM TurBoss: the status?
09:58 AM TurBoss: nop
10:00 AM Lcvette: https://github.com/LinuxCNC/linuxcnc/issues/246
10:00 AM Lcvette: seems its a known problem but lcevtte doesn't know if they fixed it yet
10:01 AM TurBoss: sttill open issue
10:01 AM TurBoss: you can ask there
10:01 AM TurBoss: add a comment
10:02 AM TurBoss: the guy may know is JT
10:09 AM Lcvette: ok i posted a reply there!
10:09 AM Lcvette: JT-Cave: you on?
10:09 AM Lcvette: JT-SHop: you on
10:09 AM Lcvette: ?
10:09 AM Lcvette: do you know about run from line?
10:52 AM Lcvette: TurBoss: are you with dev?
10:53 AM TurBoss: no
10:55 AM Lcvette: ok
11:36 AM JT-Cave: just got back from gassing up the Corvette and shipping some packages
11:36 AM Lcvette: JT-Cave: nice!!
11:37 AM JT-Cave: yea got to the end of my dirt road just to see the road grader going by leaving a 12" tall berm in the middle of the road... had to sit and wait for him to come back
11:47 AM Lcvette: /o\
11:47 AM Lcvette: uggh
12:45 PM Lcvette: JT-Cave: do you know if the run from line thing is working in linuxcnc?
12:45 PM Lcvette: i am getting lots of mixed threads discussing it
01:26 PM JT-Shop: not sure if it is fixed yet in master, should be the same in 2.7
01:27 PM Lcvette: ok, that is a really good bit of functionality
01:27 PM Lcvette: i miss it dearly
01:27 PM Lcvette: i saw hazzy was responding on it
01:36 PM JT-Shop: can't say that I've ever used RFL
01:38 PM Lcvette: it is super useful if you need to stop mid program to change a tool out, rework some of the cam file, open up holes or threads etc... without having to go back and redo seperate cam programs for those operations
01:38 PM Lcvette: more helpful on longer programs for this
01:38 PM * JT-Shop now knows why there were squirrels in the bird feeder two days in a row
02:43 PM Lcvette: you got squirel problem in bird feeder?
02:43 PM Lcvette: lcvette has a squirel buster feeder
02:43 PM Lcvette: squirels gave up on it
02:44 PM Lcvette: but i feed them in little piles under the bird feeder because my kitties like to chatter at them
02:45 PM JT[m]: Scope was loose lol
02:46 PM JT[m]: Got a new scope that focuses down to 5 yards
03:26 PM Joco[m]: <Lcvette "seems its a known problem but lc"> Bug report makes a good read. Explains some odd behaviour i had been seeing during macro execution in the editor. And what is happening re run-from.
03:27 PM Lcvette: so maybe i should just remove the runfmline button
03:27 PM Lcvette: seems they gotta get it better sorted out
03:28 PM Joco[m]: Yup. From what I read its not ready for prime time
03:29 PM Lcvette: i wonder if they could just make it interactive
03:29 PM Joco[m]: On the face of it, it feels like they need a flag or state that ignores all but a specific set of codes and when you get to the start line that state flicks off.
03:30 PM Lcvette: so instead of trying to read an cue everything before the line, have a user input dialog that requests tool number, starting feedrate, spindle speed and have it generate its own small start code before the run from line begins
03:30 PM Joco[m]: I can see the need to run from start to pick up all the correct environment settings.
03:30 PM Lcvette: that should eliminate any of the issues they were seeing with the quebster i would think
03:31 PM Joco[m]: That would be another approach.
03:31 PM Lcvette: it really just needs the tool#, starting feedrate, spindle speed and direction, work offset
03:31 PM Joco[m]: Units as well?
03:31 PM Lcvette: true
03:31 PM Lcvette: basically run the program start code line
03:32 PM Lcvette: all the beginning gcodes
03:32 PM Joco[m]: Yup. Is an assumption shit is changing later on of course.
03:32 PM Joco[m]: Isnt
03:33 PM Lcvette: it should not unless its operation specific
03:33 PM Lcvette: maybe since the remaps are what break it have it pickup everything and ignore M6 lines
03:33 PM Joco[m]: Im just thinking of as many “it breaks our thinking” angles as I can
03:34 PM Lcvette: then just ask for the tool number and run an M61Q#tool_number
03:34 PM Lcvette: hahahaha
03:35 PM * Joco[m] goes lookup m61
03:35 PM Lcvette: load tool in spindle
03:35 PM Lcvette: M61 Q2 G43
03:36 PM Joco[m]: sets tool with no tool chnage triggered
03:36 PM Lcvette: just sets tool in spindle to T2 and G43 sets tool length offset
03:36 PM Lcvette: correct
03:36 PM Joco[m]: So the run from line mode could treat all M6 as M61
03:37 PM Joco[m]: Until gets to line
03:38 PM Lcvette: hmmm i wonder if you set your post to add \ for block delete at all M6 code lines and used block delete in conjunction with run from here to eliminate all the remap errors
03:38 PM Lcvette: then just have that dialog for loading tool in spindle, and the other things
03:38 PM Lcvette: that might work?
03:39 PM Joco[m]: Cludgy. But would probably work
03:40 PM Joco[m]: Would be interesting to look at the PR that fixed the issue in the python glie
03:40 PM Joco[m]: Before or broke again
03:44 PM Lcvette: After further thought the block delete thing wouldn't work because it would turn off all future tool changes lol
03:44 PM Joco[m]: Lcvette: thinking about this i guess we should really be looking at what the big boys do. Hass etc. how do they handle this use case.
03:44 PM Lcvette: Not sure
04:02 PM Joco[m]: for my money understanding how established commercial/industrial grade systems would help inform how this could be/should be tackled. We can then think up possible "work arounds" that feel right.
04:03 PM Joco[m]: brb - reboot time
04:05 PM Lcvette: k
04:06 PM Joco[m]: back with shiny new kernel
04:21 PM Joco[m]: and its FRIDAY
04:46 PM Lcvette: Hurray!!
04:59 PM Lcvette: turboss are you on dev?
05:00 PM TurBoss: nope
05:00 PM TurBoss: just got visit
05:00 PM Lcvette: \o/
05:00 PM Lcvette: hurray visitors!
05:04 PM * JT[m] uploaded an image: VectorImage_2020-06-25_045415.jpg (3756KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/xdLZNuwYGGgWqcFCGcEpckSk >
05:04 PM Lcvette: whats that JT?
05:08 PM JT[m]: A part off of an 1800's spoke lathe
05:10 PM JT[m]: This part clamps the blank
05:11 PM JT[m]: I making adapter for a pneumatic cylinder
05:17 PM Lcvette: nice
05:18 PM JT[m]: Fun job
08:26 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JfjZV
08:26 PM Not-944e: [02qtpyvcp] 07KurtJacobson 03b6a8edf - VCP: Update filemanger example
08:28 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+519/-0/±0] 13https://git.io/JfjZ6
08:28 PM Not-944e: [02qtpyvcp] 07traviscibot 03035ec5d - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
09:19 PM Lcvette: @hazzy
09:19 PM Lcvette: do you know anything about the run from line thing?
09:20 PM Lcvette: i saw you were discussing it on the issues in github
09:32 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±2] 13https://git.io/Jfjcy
09:32 PM Not-944e: [02qtpyvcp] 07KurtJacobson 0328cdbe4 - DOC: Update examples README
09:33 PM hazzy-m: Lcvette: no, i've never used it
09:33 PM Lcvette: i vagueky remember we had it working
09:33 PM Lcvette: * i vaguely remember we had it working
09:33 PM Lcvette: but that may have been before we were using the m6 remap
09:33 PM hazzy-m: yes, it works, but you have to be careful
09:34 PM hazzy-m: not sure
09:34 PM hazzy-m: I have n ot tseted it in PB
09:34 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+519/-0/±0] 13https://git.io/JfjcH
09:34 PM Not-944e: [02qtpyvcp] 07traviscibot 031a16b48 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
09:37 PM Lcvette: in probe basic it gives errors
09:37 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/eVcIGbfJCRsNCXfNZkotBaXc >
09:37 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/NpcjsrlXpjZslzkPaPFbXqLJ >
10:13 PM Joco[m]: and if if you use the other form of the action with a #<widget name> variable syntax it really errors