#hazzy Logs
Oct 15 2019
#hazzy Calendar
05:06 AM Tom_L: morning
05:13 AM jthornton: morning
05:13 AM Wandoo1980|Sebas: Morning đ
06:09 AM hazzy-m: morning
06:24 AM jthornton: another fun day?
06:26 AM hazzy-m: jthornton: yep
06:27 AM hazzy-m: First I have to get back to earth though, on the 25th floor
06:27 AM jthornton: yikes
07:45 AM * JT[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/YbTHzrsCxorNxREvIicQDHFD >
07:48 AM JT[m]: instructions for probe basic must not be well tested, they fail to run and it's confusing to have the configuration name xyza when the repo is probe basic
09:47 AM Lcvette: 6 installs without a hitch
10:05 AM Lcvette: are we back online?
10:12 AM roguish[m]: good morning from the left coast.
10:14 AM Lcvette: roguish: morning rougish
10:15 AM Lcvette: jthornton: you used this installation?
10:15 AM Lcvette: https://kcjengr.github.io/probe_basic/dev_install.html
10:22 AM Lcvette: looks like riot is on the fritz a bit today
10:42 AM Lcvette: JT that's a good point on the ini name, maybe they need to be changed to probe_basic_xyzab.ini
10:43 AM Lcvette: The banking is from the old qtpyvcp. Sim where it was meant to be a universal Sim in for any gui launched
10:43 AM Lcvette: But for a probe basic install it didn't make much sense anymore
10:44 AM Lcvette: I wonder if that offset_table import error is of recent doing when turbos was trouble shooting
10:44 AM Lcvette: I'm going to try a fresh pull to see if I can replicate
11:18 AM roguish[m]: Lcvette: what do you mean "6 installs ....." ?
11:38 AM Lcvette: 6 different people have succesfully installed it using the docs now with now error messages
11:38 AM Lcvette: roguish: ^^
11:39 AM Lcvette: im wondering which docs JT used for the install, i am thinking he used the old ones from the qtpyvcp installation page maybe
11:39 AM Lcvette: if so that would be the cause of the error
11:39 AM Lcvette: or possibly having things installed already
11:39 AM Lcvette: i dunno
11:39 AM Lcvette: turboss and hazzy are more adept at those error messages thatn I
11:42 AM JT-Shop: used your docs but could not find the travis page
11:44 AM Lcvette: treavis page
11:44 AM Lcvette: ?
11:51 AM jthornton: I thought you had RTD docs
11:52 AM Lcvette: RTD
11:52 AM Lcvette: ?
11:53 AM jthornton: https://github.com/kcjengr/probe_basic/tree/master/docs
11:54 AM Lcvette: https://github.com/kcjengr/probe_basic
11:54 AM Lcvette: i linbked to the other page for installation
11:54 AM Lcvette: was tiresome updating two locations that took different formatting
11:55 AM Lcvette: jthornton: ^^^
11:55 AM jthornton: you only need one with a link to it on the main repo page
11:56 AM jthornton: btw your link See the documentation is confusing as it does not go to your documents
11:56 AM Lcvette: i linked to the probe basic page in the repo page
11:56 AM Wandoo1980|Sebas: it has become late ..... đ
should I still make a git pull before testing?đ
11:56 AM jthornton: lunch minute is up
11:57 AM Lcvette: yeah i will add some words to explain that the documentation is for qtpyvcp
11:57 AM Lcvette: i think the version you have is updated
11:57 AM Lcvette: but the latest does have pop up notifications!
11:57 AM Lcvette: so yeah i would pull the latest
11:57 AM Lcvette: Wandoo1980 | Sebastian | End-CNC: ^^^
11:58 AM Wandoo1980|Sebas: Ahhh okay đ
12:01 PM Wandoo1980|Sebas: I had seen that there were problems with the G54 and G55 and so on. did you find out what it was? this is not a problem for me, I rarely use G55 or others. I'm just asking for interest.
12:03 PM * Lcvette uploaded an image: Screenshot_2019-10-15_12-56-54.png (16KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/eAyAqbnhYwzAFSBMHIzAOpvL >
12:03 PM Lcvette: jthornton ^^
12:03 PM Lcvette: Wandoo1980 | Sebastian | End-CNC: yes it is an issue using M2 or M3 at the end f a program
12:04 PM Lcvette: it is automatically changing to G54 at program end but not updating the gui
12:04 PM Lcvette: i can fix but the status is changing to G54 the moment cycle start is hit rather then when M2 is executed
12:05 PM Lcvette: so it is very odd showing illuminated G54 while it is cutting in G55 in the dro's
12:05 PM Lcvette: need hazzy to find a solution or maybe lnuxcnc is bugged there
12:24 PM Wandoo1980|Sebas: No problem at all for me đ but nice to know
12:26 PM Lcvette: good deal
12:36 PM Lcvette: my goodness, i can't even figure out how to run a sim program in axis
12:37 PM Lcvette: how do i get the program to load into the desired work offset?
01:36 PM Lcvette: Turboss were you able to fix your part program?
01:42 PM TurBoss: I have to test
01:50 PM Lcvette: are you here or away
01:51 PM TurBoss: I'll be
01:51 PM TurBoss: in a 1h
01:53 PM Lcvette: k
02:19 PM Tom_L: add the work offset in the preamble of the program
02:22 PM Lcvette: Tom_L: did you see the vids i posted?
02:26 PM Tom_L: no i just walked in the door
02:26 PM Tom_L: and now i'm afk a while
02:43 PM Lcvette: wow, i absolutel cannot get axis to run a program
02:43 PM Lcvette: in G55
02:43 PM Lcvette: cant get the backplot to show the work at the G55
02:44 PM Lcvette: need someone to tell me what im missing
02:44 PM * Wandoo1980|Sebas uploaded an image: IMG_20191015_213738.jpg (2416KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/hsmgztunBnkJetepmpdRVWfb >
02:44 PM Lcvette: im in G55, i have jogged to the location i want G55 to be
02:44 PM Wandoo1980|Sebas: Greetings from Bremen Germany đ
02:45 PM Lcvette: working good?
02:45 PM Wandoo1980|Sebas: Probe works fine, touchscreen installed đ
02:45 PM Wandoo1980|Sebas: Yes
02:45 PM Lcvette: \o/
02:45 PM Lcvette: safeties good now?
02:47 PM Lcvette: do you want all those backplot colored numbers and back grid?
02:48 PM Lcvette: you need to add this to your ini file if you don't already have it
02:48 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/oGNhjYMxcClxVNEtCVSXsvpk >
02:49 PM Lcvette: then the buttons in the plot tab on the right can turn them on and off as you desire
02:49 PM Wandoo1980|Sebas: Did test the ridge and valley and push the probe during x move
02:49 PM Wandoo1980|Sebas: The machine stops instant
02:50 PM Lcvette: \o/
02:50 PM Lcvette: hurray!
02:50 PM Wandoo1980|Sebas: Perfekt đ
02:50 PM Lcvette: safe probing!
02:50 PM Wandoo1980|Sebas: Perfect đ
02:51 PM Wandoo1980|Sebas: Great work!!!! đĨ°
02:52 PM Wandoo1980|Sebas: And with the new screen is the probe basic feeling perfect đ
02:53 PM Lcvette: \o/
02:53 PM Lcvette: hurray!
02:54 PM * Lcvette uploaded an image: Screenshot_2019-10-15_15-47-45.png (4KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/vKEzsQlFWqSQGxJbAmttjMWS >
02:54 PM Lcvette: Wandoo1980 | Sebastian | End-CNC: ^^^ that slider controls the probing traverse speed now
02:54 PM Lcvette: it is directly tied into it
02:55 PM Lcvette: so if you want to slow the probing routine down that slider will slow the traverse
02:55 PM Wandoo1980|Sebas: Okay
02:55 PM Wandoo1980|Sebas: I have added the code to my ini
02:57 PM Wandoo1980|Sebas: I think i have to play around a little bit with it to customize it đ
02:58 PM Wandoo1980|Sebas: Yes, i have testet with only 800mm a minute đ
02:58 PM Lcvette: <Wandoo1980|Sebas "I have added the code to my ini"> Yes just change false to true if you want it at start up
02:58 PM Lcvette: Lol
02:58 PM Wandoo1980|Sebas: đ
02:59 PM Lcvette: Do you have spindle load output on that fancy spindle?
02:59 PM Wandoo1980|Sebas: Yes, but i didn't figure it out yet đ
03:00 PM Lcvette: Maybe turboss can help
03:00 PM Wandoo1980|Sebas: I can read it over rs485 and modbus i think
03:01 PM Wandoo1980|Sebas: The servo is from CTB servo drives
03:01 PM Lcvette: Nice!
03:01 PM Wandoo1980|Sebas: I will show you some pictures
03:01 PM Lcvette: We can help connect it to the spindle load meter
03:02 PM Lcvette: Then you will be really fancy
03:02 PM Lcvette: Lol
03:03 PM * Wandoo1980|Sebas uploaded an image: IMG_20191015_215603.jpg (2559KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/sNeVIufgFonIaqyPRMqvNsAQ >
03:03 PM * Wandoo1980|Sebas uploaded an image: IMG_20191015_215627.jpg (2385KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/tSekcqjbSvPARKMAQtKTQVaR >
03:03 PM * Wandoo1980|Sebas uploaded an image: IMG_20191015_215543.jpg (2969KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/oFIVJbhWAkjIqRPAeFBlrRZS >
03:03 PM * Wandoo1980|Sebas uploaded an image: IMG_20191015_215616.jpg (2578KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/KENtBWYHfJSomngCkFKMVQGx >
03:03 PM * Wandoo1980|Sebas uploaded an image: IMG_20191015_215539.jpg (2475KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/XCHGoEgAifieiUahVuDIOSTQ >
03:04 PM Wandoo1980|Sebas: Oh yes đ that sounds great đ
03:04 PM Lcvette: Looks great!
03:08 PM Wandoo1980|Sebas: Thx :)
03:09 PM Wandoo1980|Sebas: Rigid tapping and M19 spindle orientation works also great
03:10 PM Wandoo1980|Sebas: In this winter the hardware is done đ
03:18 PM TurBoss: Wandoo1980 | Sebastian | End-CNC: nice setup
03:18 PM TurBoss: Lcvette: whats up
03:19 PM TurBoss: Wandoo1980 | Sebastian | End-CNC: whats the green thing next to the vfd the baking resistor?
03:20 PM Wandoo1980|Sebas: Yes
03:20 PM Wandoo1980|Sebas: Thx TurBoss đ
03:21 PM TurBoss: whoa thas pretty big
03:21 PM Wandoo1980|Sebas: The Spindle goes up to 8000 rpm in less than 2 Seconds and also down to 0 đ
03:22 PM Wandoo1980|Sebas: do that ten times and the cucumber is nice and hot
03:22 PM Wandoo1980|Sebas: đ
03:23 PM TurBoss: amazing
03:23 PM Wandoo1980|Sebas: But i think i need more power on the spindle đ
2.2kw and 3.7kw for 30 minutes is not enough đ
03:23 PM Lcvette: yo
03:23 PM Lcvette: sorry had a customer come by
03:24 PM TurBoss: no problem
03:24 PM Lcvette: i have the 5.5kw
03:24 PM Wandoo1980|Sebas: np đ
03:24 PM * TurBoss still working on windows
03:24 PM Lcvette: windows?
03:24 PM Lcvette: :o
03:24 PM TurBoss: ehhehehe me is 0,5kw
03:24 PM TurBoss: lol
03:25 PM TurBoss: stupid shuner with their propietary collets
03:25 PM TurBoss: Lcvette: yes doin cad/cam
03:25 PM Wandoo1980|Sebas: i have room for max 4kw i think
03:26 PM Lcvette: belt drive?
03:26 PM * TurBoss uploaded an image: 20180712_013225.jpg (3564KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/DZZAztxJhxLLhNkWcxCzcQoU >
03:26 PM TurBoss: :P
03:26 PM Wandoo1980|Sebas: the height in my basement is a problem
03:26 PM TurBoss: oh lol
03:26 PM Wandoo1980|Sebas: yes, it is belt driven
03:27 PM Wandoo1980|Sebas: sweet đ
03:27 PM * Lcvette uploaded an image: IMG_20171012_183543074_HDR.jpg (139KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/tgGwWophBjQztQvpYGqKMOvz >
03:27 PM TurBoss: mew
03:27 PM Wandoo1980|Sebas: uhhhhhhh đ
03:27 PM Lcvette: Nema34 stepper motor on top for scale
03:28 PM Lcvette: red top is spindle motor
03:28 PM Wandoo1980|Sebas: spindle motor porn
03:28 PM TurBoss: hohohoh
03:29 PM Wandoo1980|Sebas: TurBoss where you from?
03:29 PM TurBoss: spain
03:29 PM Lcvette: only 6k rom though
03:29 PM Lcvette: :(
03:30 PM Lcvette: you guys are neighbors
03:30 PM Wandoo1980|Sebas: hmmm, that's in the EU.... in the future i think i can do a little bit for you đ
03:30 PM TurBoss: oh cool!
03:30 PM TurBoss: very wellcome!
03:31 PM Wandoo1980|Sebas: The shipping cost is not so much expensive to spain^^
03:32 PM roguish[m]: Wandoo1980 | Sebastian | End-CNC: what machine is that you have ???
03:33 PM Lcvette: you guys familiar with axis gui?
03:33 PM TurBoss: yes
03:33 PM Wandoo1980|Sebas: I have to see what I can do, maybe I'll have a spindle soon TurBoss But I have to test it first
03:34 PM Wandoo1980|Sebas: 1kw from mafell
03:34 PM TurBoss: ohhhh
03:34 PM Lcvette: i have powered on, homed, then jogged away from home and set g55 to zero, but i cannot load a program and run it because it stays in the g54 zero location
03:35 PM Lcvette: is broken or am i doing something wrong for axis?
03:35 PM Wandoo1980|Sebas: @roguish it's a complete diy machine
03:35 PM TurBoss: duno how to change active offset on Axis :(
03:35 PM Lcvette: thats what i want to test
03:36 PM Lcvette: need to see if our gui is broken or if axis is the same
03:36 PM Lcvette: how can anyone use axis
03:36 PM TurBoss: can't resboot until path calc is done
03:36 PM TurBoss: still 60%
03:37 PM Lcvette: :o
03:37 PM Wandoo1980|Sebas: https://drive.google.com/open?id=1An9vIVYCHvxp6OWztUUvSP_Y9L3v1Cmn
03:37 PM Wandoo1980|Sebas: thats the machine đ it's open source
03:38 PM Wandoo1980|Sebas: but beware, it takes some time to open the .step đ
03:38 PM Wandoo1980|Sebas: the machine is not perfect but works
03:43 PM TurBoss: I like the X axis covers
03:43 PM * TurBoss uploaded an image: image.png (67KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/bbwuHMKqYtESNWQlnCifEwwW >
03:45 PM Wandoo1980|Sebas: Thx, it's cheap and simple to build
03:45 PM Lcvette: axis does the same thing
03:45 PM Lcvette: i think linuxcnc needs to be fixed
03:46 PM TurBoss: Lcvette: yes?
03:46 PM * Lcvette uploaded an image: Screenshot_2019-10-15_16-39-34.png (75KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/zUCQCXKpuWXJLDQNQGZTsTkx >
03:46 PM Wandoo1980|Sebas: a little bit 3d printing and some milled parts and it is done đ
03:46 PM Lcvette: yes
03:46 PM Lcvette: at cycle start button press linuxcnc status goes to G54
03:46 PM Lcvette: even thought he program is in G55
03:46 PM Guido[m]: And in all fairness: the milled parts could have been printed as well, could they not? ;)?
03:47 PM Lcvette: only doies this with an M2 at the end or M30 i would guess
03:47 PM Wandoo1980|Sebas: But the other covers are not done yet đ
03:47 PM Wandoo1980|Sebas: for sure ^^ Guido
03:47 PM Lcvette: so apparsantly when you hit scycle start, the interpereter runs through to check or preread the file and gets to M2 and acts on it rather then waiting for it to execute in its proper place
03:48 PM Wandoo1980|Sebas: @Lcvette i have asked a friend, he use axis
03:48 PM Lcvette: sorry need new batteries in the keyboard
03:48 PM roguish[m]: Wandoo1980 | Sebastian | End-CNC: did you do the spidle mount casting?
03:48 PM Lcvette: i figured it out
03:48 PM Wandoo1980|Sebas: but he didn't use G55 đ¤Ļ
03:49 PM Wandoo1980|Sebas: @roguish yes it is cast iron
03:49 PM Lcvette: my guess is mayb not many people do so it isn't an issue, but the status should NOT be G54 while the machine is milling on a file that has a G55 preamble
03:49 PM roguish[m]: nice.
03:49 PM roguish[m]: Lcvette: I use all the G5x's
03:49 PM roguish[m]: g54, g55, g56, ect....
03:50 PM roguish[m]: that's how I manage different tools.
03:50 PM Wandoo1980|Sebas: I think you're right!
03:51 PM Lcvette: roguish have you ever noticed that the status while mahcining reverts to G54?
03:51 PM Lcvette: or do you use % signs at the front and end of your program?
03:52 PM Lcvette: what a nightmare
03:52 PM TurBoss: âšī¸
03:53 PM Lcvette: TurBoss: i need to speak with linuxcnc devs
03:53 PM TurBoss: for the bug hunt
03:53 PM Lcvette: where do i do that?
03:53 PM TurBoss: !
03:53 PM Wandoo1980|Sebas: @Lcvette what cam do you use for your code?
03:53 PM TurBoss: #freenode_#linuxcnc-devel:matrix.org
03:53 PM Lcvette: Wandoo1980 | Sebastian | End-CNC: fusion
03:54 PM Wandoo1980|Sebas: dam it đ than i have the same problem đ
03:54 PM Lcvette: if you are aware of the problem you can change the post processor to remove M2 or M3 and add in your own custom program ending
03:55 PM Wandoo1980|Sebas: i think autodesk have to change the pp for linuxcnc ^^ linuxcnc have no faults! đ
03:55 PM Lcvette: but it is going to be an issue if you dont and want to use other ofsets
03:55 PM Lcvette: * if you are aware of the problem you can change the post processor to remove M2 or M30 and add in your own custom program ending
03:58 PM Lcvette: TurBoss: do i have to register for the devel room?
03:58 PM TurBoss: yes on irc
03:59 PM Lcvette: im already registered on regular linuxcnc
03:59 PM Lcvette: need new registration for devel?
03:59 PM TurBoss: no
03:59 PM Lcvette: i see you in devel
03:59 PM Lcvette: can you see my message?
03:59 PM Lcvette: the room is blank
04:03 PM Lcvette: no history
04:03 PM TurBoss: yes
04:03 PM TurBoss: i see
04:11 PM Lcvette: liunuxcnc-devel is a lonely place
04:12 PM TurBoss: it isn't
04:21 PM TurBoss: Lcvette: thanks for taking the time to figure the issue!
04:23 PM Lcvette: Yup yup
04:23 PM Tom_L: Lcvette, i've run 2 offsets in a program just fine in axis
04:26 PM Lcvette: thats fine and dandy but the whole time you did it the active gcode status list was showing G54
04:26 PM Lcvette: i tested in axis, same thing as in probe basic
04:27 PM Lcvette: so it is not a gui thing it is a linuxcnc thing
04:29 PM Lcvette: that in itself should not be happening
04:29 PM Lcvette: thats what the status list is for is to show "current" gcode status
04:30 PM Lcvette: being g5x is modal, it should not show two different g5x's
04:30 PM Lcvette: only the current active g5x which is not a g54 if the program is running in a different g5x offset
04:30 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/SpeedHandle.txt
04:31 PM Tom_L: first tool is G55 2nd tool is G54
04:31 PM Lcvette: you are using % and M30
04:31 PM Tom_L: i always do
04:31 PM Lcvette: remove the % signs and run it
04:32 PM Tom_L: you're supposed to use %
04:32 PM Lcvette: not according to the docs if you are using M2 or M30
04:32 PM Tom_L: so i wrote my post to run on linuxcnc with no mods
04:32 PM Lcvette: % negates the issue
04:33 PM Tom_L: i always have used % on every control i've ever programmed for
04:33 PM Tom_L: except one bastard conversational control
04:33 PM Lcvette: http://linuxcnc.org/docs/html/gcode/m-code.html#mcode:m2-m30
04:34 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/KdKlOEOHMZFVgNUvGHlnLdqb >
04:36 PM Tom_L: it's not an either or, it's an if you don't use M2 M30
04:36 PM Tom_L: they can be there either way
04:36 PM Tom_L: the last % probably won't execute if the M2 M30 are there
04:37 PM Tom_L: did you get anywhere last night with your widget expression?
04:38 PM Lcvette: yes, it works but linuxcnc not being in synch makes it unusable
04:38 PM Lcvette: thats the issue
04:39 PM Lcvette: not sure what you sem to think it is
04:39 PM Tom_L: there's not another status variable that can be queried?
04:39 PM * Lcvette uploaded an image: Screenshot_2019-10-15_17-32-22.png (97KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/exkBmcsenbQGKHLLHnDftjOH >
04:39 PM Lcvette: sure but as long as the interpereter is saying it is G54 when it isn't its useless
04:39 PM Lcvette: even axis displays it wrong
04:40 PM Lcvette: see the image
04:40 PM Lcvette: 'this is while running a program in G55 and G55 is the active ofset.. machine status is shown as G54
04:40 PM Lcvette: exact same thing in axis
04:40 PM * Lcvette uploaded an image: Screenshot_2019-10-15_16-39-34.png (75KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ZRerHpmlZgPXkfqmObcIHBPl >
04:40 PM Lcvette: see above, running in G55 work offset and active gcode status box shows G54
04:41 PM Lcvette: its WRONG
04:41 PM Tom_L: there is likely not a solution then if Jeff Epler coudln't do it
04:42 PM Tom_L: chris is still active in linuxcnc. ask him
04:42 PM Tom_L: although not as active as he was
04:42 PM Lcvette: so with the command being internal to m2 and m2 being non remapable, there is no mdi command and no actual gcode command being sent it is all being done in the interpereter
04:42 PM Lcvette: sot he only channel that i have found so far to tap is the status channel
04:43 PM Tom_L: i'd run it by chris and see what he says
04:43 PM Tom_L: he was a co'author of axis and a major contributor to linuxcnc
04:43 PM Lcvette: that being said how can i then give the gui the command it needs at the proper time to make the change from the actual work offset to the m2 commanded g54
04:44 PM Tom_L: jeff is inactive currently
04:44 PM Lcvette: andypugh mentioned que busters may stop it from happening so maybe the solution is to add a que buster to the post processor just before m2
04:44 PM Lcvette: so it does not react to the m2 until the very end
04:45 PM Lcvette: but that is quite hacky
04:45 PM Tom_L: linuxcnc is quite hacky
04:45 PM Tom_L: it's a volunteer effort
04:46 PM Tom_L: it was handed over by nist to us to use and modify
04:47 PM Tom_L: it's got bandaids and tourniquets all over it
04:48 PM Tom_L: but it still has a pulse so i'm not giving up just yet
04:58 PM Tom_L[m]: he's reading the same g5x_offset you are
05:09 PM Tom_L: is riot pooched today?
05:20 PM Tom_L: is riot pooched today?
05:20 PM lcvette2: turboss
05:20 PM lcvette2: i think so
05:20 PM lcvette2: i had to switch to irc
05:21 PM Tom_L: i sent something that never went
05:21 PM lcvette2: i got this:
05:21 PM lcvette2: ```he's reading the same g5x_offset you are for i in range(9): if s.axis_mask & (1<<i): tool_offset += " %s%.8f" % ("XYZABCUVW"[i], s.tool_offset[i]) initcodes.append(tool_offset) for i, m in enumerate(s.mcodes): # index 0 is "sequence number", just like s.gcodes[0].
05:21 PM lcvette2: Trying # to set this number as a modal code caused issue #271. # index 1 is the stopping code, which holds M2 after reading # ahead to the end of a program. Trying to set this number # as a modal code makes the next preview disappear. # (see Interp::write_m_codes)
05:21 PM lcvette2: if i in (0,1): continue if m == -1: continue initcodes.append("M%d" % m)
05:21 PM Tom_L: ok
05:21 PM lcvette2: where isn the link to this
05:21 PM Tom_L: mostly for the notes he put there
05:22 PM Tom_L: it's in master
05:22 PM Tom_L: also i was looking at interp a little
05:25 PM lcvette2: whats interp say?
05:27 PM Tom_dev: https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/rs274ngc/interp_write.cc
05:27 PM Tom_dev: 146
05:27 PM Tom_dev: you don't want to mess with that
05:30 PM Tom_L: you missed cmorley's reply in devel
05:31 PM Lcvette: Is it working again?
05:31 PM Lcvette: Is it working again?
05:31 PM Lcvette: Is it working again?
05:31 PM Tom_L: too unreliable
05:32 PM TurBoss: seems online again
05:33 PM Tom_L: http://tom-itx.no-ip.biz:81/~tom-itx/irc/logs/%23linuxcnc-devel/2019-10-15.html
05:33 PM Tom_L: last entry
05:36 PM Tom_L: there is no immediate fix.
06:34 PM TurBoss: pinh
06:34 PM TurBoss: * ping
06:35 PM Tom_L: ponh
06:35 PM Tom_L: :)
06:35 PM TurBoss: cool
06:35 PM Tom_L: garbage in... garbage out
06:35 PM TurBoss: so this is stable again
06:36 PM TurBoss: :)
06:36 PM Tom_L: like a rock
06:51 PM Lcvette: It's fixed?
06:52 PM Lcvette: TurBoss (@TurBoss:matrix.org): ?
06:52 PM Lcvette: Can anyone read this?
06:52 PM TurBoss: yes
06:52 PM TurBoss: the matrix is back
06:52 PM Tom_L: well of course i can read!
06:52 PM Lcvette: Hurray
06:53 PM Lcvette: This is from CMorley in dev:
06:53 PM Lcvette: If you are talking of the fact status reports the task status rather then the current status, there is no work around. There is a branch to address this problem called state tags. My thought would be to merge it to master and work on it - after 2.8 is released.
06:54 PM Tom_L: it's not a new issue
06:54 PM Lcvette: Soooo
06:55 PM Lcvette: Until then there will be an offset issue
06:55 PM Lcvette: Will need to use no program end to fix
06:57 PM TurBoss: i can try the branch to see if fixes the issue
06:58 PM Tom_L: a work in progress
07:00 PM Lcvette: Yeah sounds like it's still a work in progress
07:00 PM Lcvette: Maybe turboss can hero it?
07:01 PM Tom_L: you need a pretty good understanding of how linuxcnc works
07:02 PM Lcvette: It does stuff and other stuffs
07:02 PM Lcvette: Lol
07:02 PM Tom_L: patch a hole here and that increases pressure so you have a blowout somewhere else
07:03 PM Lcvette: Turboss can do it
07:03 PM Lcvette: The eureka sewer system
07:21 PM Lcvette: Sooo. Turboss
07:21 PM TurBoss: yo
07:21 PM Lcvette: Looks like we need a different solution
07:21 PM Tom_L: damn you just keep piling more work on TurBoss!
07:22 PM Tom_L: i had forgotten about the state tags branch though
07:22 PM Lcvette: I took that off turboss and found the issue he was going mental over
07:23 PM Tom_L: there used to be several updates daily to the codebase, now i see them only once in a while
07:23 PM Lcvette: I can make the buttons change when status changes
07:29 PM Lcvette: But I think there may be an issue that the button change is ignored because it's locked out in automatic mode and the status occurs
07:30 PM Lcvette: When*
07:55 PM * Lcvette posted a file: offset_change_cycle_start.mkv (11030KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/XANARpHAUUFKhWdCdGhoRRDc >
07:55 PM Lcvette: Lcvette: turboss
07:55 PM Lcvette: ^^^
07:55 PM Lcvette: see video
07:55 PM Lcvette: i fixed the offsets at least
07:55 PM Lcvette: can you test?
07:55 PM hazzy-m: Lcvette: thats not why it is being ignored
07:56 PM Lcvette: what?
07:56 PM hazzy-m: I think its because the status struct is not updated
07:56 PM Lcvette: its no longer ignored
07:56 PM Lcvette: it now changes\
07:56 PM Lcvette: i used a rule
07:56 PM Lcvette: in every offset buyttons
07:57 PM hazzy-m: oh, fantastic!
07:57 PM Lcvette: status:gcodes?string
07:57 PM * TurBoss is trying to rebase state tags
07:57 PM * hazzy-m didn;t have a chnace to read the logs
07:57 PM Lcvette: 'G54' in ch[0]
07:57 PM Lcvette: set it to checked
07:57 PM hazzy-m: TurBoss: Hurray!
07:57 PM hazzy-m: I think its pretty much ready to merge
07:57 PM * Lcvette uploaded an image: Screenshot_2019-10-15_20-51-40.png (31KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/bljgkoBYERkGptfWnBxcwtUI >
07:58 PM TurBoss: hazzy: if you dind't know you can start a rebase/merge with kraken and do the merger/diff on pycharm
07:58 PM Lcvette: lcvette muscled it last night with a 30 minute time limit imposed by Tom_L
07:58 PM hazzy-m: TurBoss: I DIDN'T KNOW THAT
07:59 PM Lcvette: hazzy took time away from the project and has become a has been coder no longer in the know
07:59 PM Lcvette: lol
07:59 PM Lcvette: its a rocky come back movie
07:59 PM Lcvette: que eye of the tiger
08:00 PM hazzy-m: sorry lol
08:00 PM TurBoss: don't have to
08:00 PM Lcvette: https://youtu.be/p7CaiWxKYBo
08:03 PM Lcvette: TurBoss: check probe basic is pushed!
08:03 PM TurBoss: busy
08:03 PM Lcvette: Ok
08:04 PM Lcvette: hazzy: did you atch the rocky song?
08:04 PM Lcvette: Watch
08:04 PM hazzy-m: Lcvette: no
08:04 PM * hazzy-m is at a company dinner :(
08:05 PM Tom_L: hope they feed ya good
08:05 PM Lcvette: Open bar!
08:05 PM Lcvette: Whoohoo
08:07 PM Lcvette: đą
08:07 PM Lcvette: Lcvette had an epiphany
08:07 PM hazzy-m: every night open bar!
08:08 PM Lcvette: hazzy: I need your input....
08:08 PM Lcvette: Think I found a way to make the GUI work with M2 and M30
08:08 PM Lcvette: And reflect proper current active offset
08:09 PM TurBoss: but Lcvette has a duel now
08:09 PM TurBoss: will come latter
08:09 PM Lcvette: Can I out a rule in the G54 offset button to be checked if M2 or M30 is read in the gcode?
08:09 PM TurBoss: :P
08:12 PM Tom_L: Lcvette from the tuple of active gcodes?
08:12 PM Lcvette: no
08:12 PM Tom_L: or in that case Mcodes
08:12 PM Lcvette: will need to be from the actual gcode line
08:13 PM Tom_L: that may be asking for trouble
08:13 PM Tom_L: it should come from interp or something internal to linuxcnc
08:13 PM Lcvette: or else it will be the same i think, im testing now
08:13 PM Lcvette: Tom_L: that would have the same effect as changing it by the gcodes status
08:13 PM Lcvette: currently thats a problem tom_l
08:14 PM Lcvette: hazzy can the rules read from gcode lines in a program?
08:15 PM Tom_L: mcodes (returns tuple of 10 integers) - currently active M-codes.
08:15 PM Tom_L: that wouldn't be up to date?
08:15 PM Lcvette: again that won't work tom it has the same issue as gcodes
08:15 PM Tom_L: the tail is wagging the ass
08:16 PM Lcvette: i already resolved it with gcodes but now the gui shows its in G54 while the program is running because the interp state changes at cycle start
08:16 PM Lcvette: if it changed on M2 or M30 it would be no different then a G55 isued in the program which controls the offset state
08:17 PM Lcvette: its just that M2 has it written to do so internall and we need to break it out so it can be read as if it were a G54
08:18 PM Tom_L: so what would the rule look like?
08:18 PM Lcvette: that way it will show the correct program offsets while running and when M2 or M30 is run in the program it also kicks out the G54 to the G54 button thus changing the offset at the correct time and place
08:18 PM Lcvette: thats what im asking hazzy if its possible to accomplish with rules
08:19 PM Tom_L: you would have to wait until the interp saw it
08:20 PM Lcvette: the interp sees when you hit cycle start
08:20 PM Lcvette: that is the current issue
08:20 PM Tom_L: depends how big the program is i think too
08:20 PM Lcvette: the interp looks ahead and unless there is a que buster such as an m6, it changes the active status
08:20 PM Tom_L: if it's huge, the lookahead planner wouldn't see it yet
08:21 PM Lcvette: doesn't matter
08:21 PM Lcvette: M2 or M30 is ALWAYS going to be at the end
08:21 PM Lcvette: and if the rules editor can do it then it will always change to g54 when it runs the last line
08:21 PM Tom_L: what about laser or plasma etc?
08:22 PM Tom_L: i dunno if everybody does it like that
08:22 PM Lcvette: what about it
08:22 PM Lcvette: if you don't use M2 or M30 it doesn't matter there isn't an issue
08:22 PM Tom_L: ok
08:22 PM Lcvette: the M2 and M30 cause that issue
08:23 PM Tom_L: but if i use %gcode% won't it stay at G55 until i change it?
08:23 PM Lcvette: if I run a program with M6 tool changes, the M2/M30 issue does not occur until after the last M6 comman is executed
08:23 PM Lcvette: so at the last tool change that is then when the interp changes the active status of offset
08:24 PM Lcvette: yes
08:24 PM Lcvette: yes but it will do that regardless of this modification as the M2/M30 is not there to command a change to G54
08:24 PM Tom_L: so if you wait for the last line in that case you would change it back to G54 and it would still be on G55?
08:24 PM Lcvette: says that in the docs
08:24 PM Tom_L: the dcase of %gcode%
08:25 PM Lcvette: it wouldnt change back to G54
08:25 PM Tom_L: try it then
08:25 PM Lcvette: there is no M2 or M30 to command the change
08:25 PM Tom_L: but you said wait for the last line to execute and change it...
08:25 PM Tom_L: i'm confused
08:25 PM Lcvette: if you just run %gcode%, it ends on whatever is at the end of the gcode
08:26 PM Lcvette: no
08:26 PM Lcvette: i said M2 or M30 is always the last line
08:26 PM Lcvette: and if the rules make M2 or M30 change it to G54 then all would work fine
08:26 PM Tom_L: try it
08:26 PM Lcvette: its already changing it in the status
08:26 PM Tom_L: test it both ways
08:26 PM Lcvette: we are just trying to make the gui match
08:27 PM Lcvette: i need hazzy
08:27 PM Tom_L: i know what you're up to
08:27 PM Lcvette: that expression would be far more complicated
08:27 PM Tom_L: hazzy-m is out to dinner
08:27 PM Lcvette: i hope so i explained completely..lol
08:27 PM Lcvette: i know
08:27 PM Lcvette: so i must wait for hazzy
08:27 PM Lcvette: i don't even know if rules editor expression can do it
08:28 PM Tom_L: what expression would you use?
08:28 PM Lcvette: i don't know the channel to use
08:28 PM Tom_L: ie where would you get the data to compare?
08:28 PM * TurBoss failed
08:28 PM Lcvette: can't possibly know the expression yet
08:28 PM Tom_L: that's what i'm asking
08:28 PM TurBoss: merge was a disater lol
08:28 PM Lcvette: TurBoss: :o
08:28 PM Tom_L: i didn't see any status that would do it
08:29 PM Tom_L: TurBoss maybe that's why it's been sitting for 4 years
08:29 PM Lcvette: may not even be a status thing
08:29 PM Lcvette: may be a button thing
08:29 PM TurBoss: ya
08:30 PM Lcvette: turboss... i know a way t work around it but need help figuring out how
08:30 PM Lcvette: we need a way to make M2/M30 set G54 button checked
08:30 PM Lcvette: can be done in code?
08:31 PM TurBoss: hmmmm duno
08:31 PM TurBoss: ...
08:35 PM Lcvette: TurBoss: so the current situation is this
08:36 PM Lcvette: the offset buttons change back to G54 at program end currently
08:36 PM Lcvette: but because it occurs suring auto mode i think the vtk does not update
08:36 PM Lcvette: ans that throws off the vtk origin and the offset
08:36 PM TurBoss: ahhhh ok!
08:37 PM Tom_L: TurBoss to the rescue!
08:37 PM TurBoss: :)
08:37 PM Lcvette: so then the origin and backplot are a button clock off
08:40 PM * Tom_L[m] uploaded an image: image.png (7KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/HCpHAdnuibLaMBgDllbFXUiI >
08:40 PM * Lcvette posted a file: offset_change_cycle_start.mkv (10560KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/bEpBnZtlLYwPvpfSnAGYTTsu >
08:40 PM Lcvette: that could work
08:41 PM Lcvette: turboss ^^^
08:41 PM Tom_L[m]: wtf are these .mkv files you keep uploading?
08:41 PM Lcvette: ok i have an idea then
08:41 PM Lcvette: videos
08:41 PM Lcvette: of the issues
08:41 PM Lcvette: screen captures
08:42 PM Lcvette: you download and watch them
08:42 PM Tom_L[m]: status:current_line?string contains M2 or M30
08:42 PM * Tom_L[m] needs a python translator
08:43 PM Lcvette: 'M2' or 'M30' in ch[0]
08:43 PM Lcvette: test it tom
08:43 PM Tom_L: you
08:43 PM Tom_L: you're brave
08:45 PM * Lcvette uploaded an image: Screenshot_2019-10-15_21-38-17.png (30KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/boYfPNaTaqGXUlCaFlNMviar >
08:45 PM * Tom_L[m] uploaded an image: image.png (19KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/cXGLNYAGNFkPoJdaVkawPNLF >
08:45 PM Tom_L: endfile
08:45 PM Tom_L: maybe
08:46 PM Tom_L: could also be M02
08:46 PM Tom_L: test for both if it works
08:47 PM Lcvette: \o/
08:47 PM Lcvette: victory
08:47 PM Lcvette: works
08:47 PM Tom_L[m]: 'M2 in ch[0] or 'M02' in ch[0] or 'M30' in ch[0]
08:48 PM TurBoss: what happened?
08:48 PM Tom_L: the earth inverted
08:48 PM Tom_L: we are now on the bottom
08:48 PM Lcvette: we fu's the phuck out of it
08:48 PM TurBoss: oh may hairs
08:49 PM Lcvette: its upside down day
08:49 PM Lcvette: lcvette is winning at code
08:49 PM Tom_L: TurBoss is that valid the way i typed it?
08:49 PM Lcvette: lol
08:49 PM Tom_L: for a rule
08:49 PM TurBoss: duno rules
08:49 PM Lcvette: turboss, the origin issue is still there
08:49 PM TurBoss: should be a valid python
08:49 PM Lcvette: you are vtk fu master
08:50 PM Tom_L: ok
08:50 PM TurBoss: what did you do?
08:50 PM Tom_L: i think rules are python speak
08:50 PM TurBoss: yes yes
08:50 PM TurBoss: you can try it
08:50 PM TurBoss: :P
08:50 PM Lcvette: 'M2, M02, M30' in ch[0]?
08:50 PM Tom_L: yes
08:51 PM Tom_L: with or between i think
08:51 PM Tom_L: however you format 'or' in python
08:51 PM Lcvette: TurBoss: ?
08:51 PM TurBoss: should be a list
08:52 PM Lcvette: hazzy: need ya real quick
08:52 PM Lcvette: Hazszy how do i format this properly'M2, M02, M30' in ch[0]?
08:52 PM TurBoss: ('m2', 'M2', 'm02', 'M02', 'm30', M30) in ch[0]
08:52 PM TurBoss: could be?Âŋ
08:52 PM Lcvette: * Hazzy how do i format this properly 'M2, M02, M30' in ch[0]?
08:53 PM Tom_L: ok i wasn't sure if you needed 'or' between each one
08:53 PM TurBoss: no
08:53 PM TurBoss: what i said is wrong
08:53 PM Lcvette: expression not valid
08:54 PM TurBoss: ch[0] in ['m2', 'M2', 'm02', 'M02', 'm30', M30]
08:54 PM TurBoss: maybe this?
08:55 PM Lcvette: it accepts this: 'M2, M02, M30' in ch[0]
08:55 PM TurBoss: so it works?
08:55 PM Lcvette: but wonder if its looking for that whole section as a trigger between the two,
08:55 PM Lcvette: it accepts it have not tested
08:56 PM Lcvette: testing now
08:56 PM Tom_L: x = ["apple", "banana"]
08:56 PM Tom_L: print("banana" in x)
08:56 PM Tom_L: https://www.w3schools.com/python/showpython.asp?filename=demo_oper_membership1
08:56 PM Tom_L: ^^ returns true
08:56 PM Tom_L: # returns True because a sequence with the value "banana" is in the list
08:57 PM TurBoss: ch[0] in ['m2', 'M2', 'm02', 'M02', 'm30', 'M30']
08:57 PM TurBoss: like this?
08:57 PM TurBoss: it had a typo
08:57 PM TurBoss: missing ''
08:57 PM Tom_L: ch[0] = ["m2, "M2", "m02", "M02", "m30", "M30"]
08:57 PM Lcvette: mine worked
08:57 PM Lcvette: im the rules editor fu master!
08:58 PM Tom_L: ^^ should be valid acording to the link
08:58 PM Tom_L: ch[0] = ["m2", "M2", "m02", "M02", "m30", "M30"]
08:58 PM Tom_L: typo
08:58 PM TurBoss: brb
08:59 PM Lcvette: lst test, testing m30
08:59 PM Tom_L: if it fails try mine
09:00 PM Lcvette: booooom! they all work!!
09:00 PM Lcvette: 'M2, M02, M30' in ch[0]
09:00 PM Tom_L: ok great
09:00 PM Lcvette: this is the format fir future reference
09:00 PM Lcvette: or at least one that works
09:00 PM Tom_L: add lower case too
09:01 PM Tom_L: yeah yours is correct
09:01 PM Tom_L: the first line of the example was assignment
09:01 PM Tom_L: the print did the actual comparison
09:02 PM Tom_L: which used 'in'
09:02 PM Tom_L: not '='
09:02 PM * Lcvette posted a file: offset_resolution.mkv (8592KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/WmKhowQLjKDMZRpNUurmtfXM >
09:02 PM Lcvette: \o/
09:02 PM Lcvette: witness the awesomeness!
09:03 PM Tom_L: can't view those
09:03 PM Lcvette: now turboss must make the origin change to the G54 position at the end too
09:03 PM Lcvette: Don't be a sissy, download it
09:04 PM TurBoss: vlc
09:04 PM Lcvette: Install sudo apt simplescreenrecorder
09:04 PM Tom_L: i don't have anything installed to view it
09:04 PM Tom_L: vlc should work
09:04 PM TurBoss: ok
09:05 PM Tom_L: i don't put alot of crap on my test pc
09:05 PM Lcvette: Do it
09:05 PM Lcvette: This is important for test and sharing purposes
09:06 PM Lcvette: Sudo apt simplescreenrecorder
09:06 PM Lcvette: Install
09:06 PM Lcvette: Sudo apt install simplescreenrecorder
09:06 PM Lcvette: TurBoss (@TurBoss:matrix.org): are you in vtk?
09:07 PM TurBoss: brb
09:09 PM Lcvette: Lcvette makes an iced Irish coffee
09:11 PM Tom_L: how does simplescreenrecorder view that?
09:15 PM TurBoss: vlc
09:17 PM Tom_L: how do i add that to the repository?
09:18 PM TurBoss: oh
09:18 PM Lcvette: why not just do sudo apt install simplescreenrecorder
09:18 PM TurBoss: apt install vlc doesn't work?
09:18 PM TurBoss: its not a video player
09:18 PM Lcvette: yes
09:18 PM Lcvette: it plays the video for me
09:18 PM TurBoss: it is?
09:18 PM TurBoss: oh
09:19 PM * Lcvette uploaded an image: Screenshot_2019-10-15_22-13-25.png (607KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/FcNvpfeegEUFdDVpzIxZuXxn >
09:19 PM TurBoss: thats not VLC?
09:20 PM Lcvette: yes but is included with simplescreenrecorder
09:20 PM TurBoss: no
09:20 PM Lcvette: so works for playback too
09:20 PM Lcvette: i did not install vlc
09:20 PM TurBoss: its a standalone
09:20 PM Tom_L: ok i got it
09:20 PM Tom_L: vlc works
09:23 PM Lcvette: \o/
09:23 PM Tom_L: so why when the program starts it changes to G54 if you're using a G55 offset?
09:23 PM Tom_L: in the list
09:23 PM Lcvette: ?
09:24 PM Lcvette: doooood
09:24 PM Lcvette: thats the problem
09:24 PM Tom_L: fix it!
09:24 PM Lcvette: thats linuxcnc
09:24 PM Lcvette: does it in axis too
09:24 PM Tom_L: you fixed the m2 thing though?
09:24 PM Lcvette: thats what the task_state is going to fix
09:24 PM Tom_L: then you won't need your m2 hack
09:25 PM Tom_L: state tags is a big chore
09:26 PM Tom_L: no sound on my test pc so i can only visualize what's happening
09:26 PM Lcvette: no sound in the recording
09:26 PM Lcvette: i type emssages in the mdi
09:26 PM Lcvette: before it never changed the gui to G54 at all
09:26 PM Lcvette: then i fixed so it changed when the status chnaged which was better
09:26 PM Lcvette: now it only changes when the M2 is issued
09:26 PM Lcvette: or m30
09:27 PM Lcvette: or M30 or m02 or M02
09:27 PM Tom_L: oh you're saying the button stays correct, not the list
09:27 PM Lcvette: i can't fix linuxcnc
09:27 PM Tom_L: the hell!
09:27 PM Lcvette: but the gui is correct now
09:27 PM Tom_L: sure you can
09:27 PM Tom_L: ok
09:28 PM Lcvette: for now thats enough to keep the offsets from getting botched up like turboss's original problem showed
09:28 PM Lcvette: you fix linuxcnc i will continue on the gui
09:28 PM Lcvette: go you have until 11pm
09:28 PM Lcvette: lol
09:28 PM Tom_L: no problem
09:28 PM Tom_L: which year?
09:28 PM Tom_L: :)
09:29 PM Lcvette: 11pm EST 10/15/2019
09:29 PM Tom_L: not gonna happen
09:30 PM Lcvette: so lets be happy the gui reflects correctly and no longer should get mesed up if multiple offsets are used in a program
09:30 PM Lcvette: now turboss must fix the vtk update
09:30 PM Lcvette: so the origin moves when the G54 is activated
09:30 PM TurBoss: how
09:31 PM Lcvette: dunno i fixed the the gui part
09:31 PM Tom_L: but can you push your local copy or will that futz it all up in probe_basic master?
09:31 PM Lcvette: need to find a way to update the vtk
09:31 PM Lcvette: can we make a trigger in the button for it too?
09:32 PM * TurBoss is about to try the sate_tag merge again
09:32 PM TurBoss: wish me luck
09:32 PM * Tom_L ties a rescue rope around TurBoss
09:33 PM Lcvette: TurBoss: no need
09:33 PM Lcvette: just need a vtk refresh\
09:33 PM Lcvette: maybe we canb trigger it with the G54 button?
09:33 PM Lcvette: maybe we should trigger a refresh with all of the offset buttons?
09:35 PM Lcvette: can we do that?
09:38 PM Lcvette: TurBoss: you need to update your kraken
09:38 PM Tom_L: did you leave the original rules in your offset buttons?
09:38 PM Lcvette: in all the rest yes
09:38 PM Lcvette: only changed G54
09:39 PM Tom_L[m]: the 'G54' in ch[0]
09:39 PM Lcvette: figured that was a good idea
09:39 PM Lcvette: no more
09:39 PM Tom_L[m]: you should add lower case to those too
09:39 PM Lcvette: g55 up though has them
09:39 PM TurBoss: Lcvette: you don't want your changes to README?
09:39 PM Lcvette: yes i do
09:40 PM Lcvette: did i break it?
09:40 PM * TurBoss uploaded an image: image.png (48KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/itpoDxoJHyBpyCgQmvaAJfHq >
09:40 PM TurBoss: thoose
09:40 PM Lcvette: that means nothing to me
09:40 PM Lcvette: yes i want them
09:40 PM TurBoss: ok I'll merge
09:40 PM Lcvette: but i don't know what to do
09:40 PM Lcvette: ok
09:40 PM Tom_L: just a sec
09:41 PM Tom_L: will it matter if you don't have lower case g55 in those button expressions?
09:41 PM Tom_L: to compare both
09:41 PM Lcvette: Tom_L: good idea on the lower case
09:41 PM Lcvette: sek i;; test to se if it cares
09:42 PM TurBoss: https://github.com/TurBoss/probe_basic
09:42 PM Tom_L: TurBoss you might have to push it again
09:42 PM TurBoss: you can use ch[0].upper()
09:42 PM Tom_L: he's checking for lower case comparison on the buttons
09:43 PM Tom_L: tell him
09:43 PM TurBoss: Lcvette Lcvette ^
09:43 PM Tom_L: then you wouldn't need lower case in either one
09:43 PM Lcvette: i dunno what that means
09:43 PM Tom_L: just check for upper
09:43 PM Tom_L: it chanes ch[0] to upper case
09:43 PM Tom_L: before it compares
09:43 PM Tom_L: just do that
09:43 PM Lcvette: means add upper as well as lower?
09:44 PM Tom_L: you don't need lower
09:44 PM Lcvette: 'g55, G55' in ch[0]
09:44 PM Lcvette: works
09:44 PM TurBoss: so
09:44 PM Tom_L: right but you don't need that
09:44 PM Tom_L: just do ch[0].upper
09:44 PM TurBoss: 'G55' in ch[0].upper() should too
09:44 PM Tom_L: ()
09:44 PM TurBoss: :P
09:44 PM Tom_L: THEN ALL YOU NEED TO COMPARE IS UPER CASE :)
09:44 PM Lcvette: so don't need upper() either
09:45 PM Lcvette: just make it 'G55"
09:45 PM Lcvette: then its the what its looking for
09:45 PM Tom_L: oh it works anyway?
09:45 PM Lcvette: the status is all uppercase
09:45 PM Lcvette: yes
09:45 PM Tom_L: ok
09:45 PM Tom_L: somebody thought ahead
09:45 PM Lcvette: i amde the 'G55' in ch[0]
09:46 PM Lcvette: so no need for upper i don't think
09:46 PM Lcvette: so the last push ius good
09:46 PM Lcvette: only 'm2, M2, m02, M02, m30, M30' in ch[0]
09:46 PM Lcvette: and that worked and recognized all variations i tested
09:47 PM Lcvette: so should be good!
09:47 PM Tom_L: but you don't need the lower case ones now
09:47 PM Lcvette: merge mofo merge
09:47 PM Tom_L: it is already
09:47 PM Tom_L: and i'm looking at it
09:47 PM Lcvette: may not be in gcode files though
09:47 PM Lcvette: some are all caps some are lower
09:48 PM Tom_L: mmm ok
09:48 PM Lcvette: that can vary with cam output
09:48 PM Tom_L: i'd use ch[0].upper() on that
09:48 PM Lcvette: no need
09:48 PM Lcvette: both are looked for
09:48 PM Lcvette: thats why both upper and lower are listed
09:49 PM Tom_L: looks prettier though
09:49 PM Lcvette: 'm2, M2, m02, M02, m30, M30' in ch[0]
09:49 PM TurBoss: hmmm
09:49 PM Lcvette: change it in yours
09:49 PM Lcvette: and that would look for inly upper
09:49 PM Lcvette: so what happens if a cam system kicks out lowercase gcode
09:49 PM Lcvette: would miss it
09:50 PM Lcvette: i tested my way and it works and catcheds upper and lower
09:50 PM Lcvette: it stays
09:50 PM Tom_L: not if you convert ch[0] to upper case in the comparison
09:50 PM Lcvette: lets roll on
09:50 PM TurBoss: 'M2', 'M02', 'M30' in ch[0].upper()
09:50 PM Lcvette: test your own
09:50 PM Lcvette: im on now to the next
09:50 PM Tom_L: heh
09:50 PM Tom_L: ^^ much shorter and cleaner
09:50 PM Tom_L: but either works
09:51 PM Lcvette: 'M2', 'M02', 'M30' in ch[0].upper() with catch m2?
09:51 PM Tom_L: yes
09:51 PM TurBoss: it should!
09:51 PM Lcvette: should?
09:51 PM Lcvette: test and let me know
09:51 PM Lcvette: until then whats there works
09:51 PM Lcvette: lol
09:52 PM Lcvette: bring me certainty or bare with whats working
09:55 PM Tom_L: see TurBoss is teaching me python and he doesn't know it
09:55 PM TurBoss: :)
09:55 PM Tom_L: i knew there should be an upper function but not how to use or find it
09:57 PM Tom_L[m]: https://www.w3schools.com/python/ref_string_upper.asp
09:58 PM Tom_L[m]: so you can convert any string
09:58 PM Lcvette: where is hazzy
09:59 PM Lcvette: i know he made the action buttons able to take multiple lines of gcode
09:59 PM hazzy-m: Sleeping
09:59 PM Lcvette: :o
09:59 PM Lcvette: too much open bar
09:59 PM Lcvette: lol
09:59 PM TurBoss: if bed moves too much try to put one foot on floor
10:00 PM Lcvette: hahahahah
10:00 PM TurBoss: this is called leave anchors
10:00 PM TurBoss: :P
10:07 PM Tom_L: gnite
10:07 PM TurBoss: nite
10:08 PM Lcvette: NITE!
10:10 PM Lcvette: TurBoss: Do you remember how to format the mdi buttons for multiple lines of gcode?
10:11 PM TurBoss: nope
10:17 PM TurBoss: \o/
10:20 PM Lcvette: you did it?
10:20 PM Lcvette: it works?
10:20 PM TurBoss: but only brave can test
10:20 PM Lcvette: not me
10:20 PM Lcvette: lol
10:21 PM TurBoss: it needs build linuxcnc from my branch
10:21 PM TurBoss: but the offset offset bug seems gone
10:21 PM TurBoss: can't reproduce
10:22 PM Lcvette: no?
10:22 PM Lcvette: with the latest push i did or older?
10:22 PM TurBoss: hmmm
10:22 PM TurBoss: I'm on lates
10:22 PM TurBoss: but I'm gona test on other ui
10:22 PM Lcvette: then there will be no bug
10:22 PM Lcvette: oh
10:22 PM Lcvette: then maybe there will be a bug
10:23 PM Lcvette: and im now wondering if the fix is good or not as it may change to G54 on m2 in subroutines also
10:23 PM Lcvette: need to verify
10:27 PM TurBoss: nope
10:28 PM Lcvette: ?
10:28 PM Lcvette: no good?
10:29 PM TurBoss: on jauria is busted
10:29 PM Lcvette: whats busted?
10:29 PM Lcvette: oh did you changes the button rules?
10:31 PM TurBoss: i don't have buttons
10:31 PM TurBoss: for that
10:31 PM Lcvette: Hmm
10:33 PM Lcvette: Add buttons?
10:33 PM Tom_L: https://forum.linuxcnc.org/48-gladevcp/29354-multiple-mdi-commands-in-a-vcp-action-mdi-widget
10:34 PM Lcvette: You should have work offset buttons
10:34 PM Tom_L: subroutine
10:35 PM Lcvette: Hazzy coded the mdi buttons to allow for multiline commands
10:36 PM Lcvette: So they execute one after another but I forgot what to put between the lines
10:36 PM Tom_L: it must have the wait between them
10:36 PM Tom_L: oh
10:36 PM Lcvette: Eliminates the need for a subroutine
10:36 PM Tom_L: a ',' or ';' are common delimiters
10:36 PM Tom_L: try one
10:37 PM TurBoss: \n
10:37 PM Tom_L: or that
10:38 PM Tom_L: TurBoss, are state tags workable or need alot of fixing?
10:38 PM Lcvette: bad character \
10:38 PM TurBoss: i managed to run linuxcnc but i havent figured how to read them yet
10:39 PM TurBoss: \\n
10:39 PM TurBoss: ?
10:39 PM TurBoss: no no
11:04 PM Lcvette: Tom_L:
11:05 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/osKioDetGVyMjVSNHjGgRTlu >
11:11 PM Tom_L: so you can set a tool change or home position other than machine 0?
11:11 PM Lcvette: that is for the tool touch position
11:11 PM Lcvette: but im having trouble getting it to work
11:11 PM Tom_L: oh ok
11:12 PM Lcvette: not sure why
11:14 PM Lcvette: hmmm go to zero needs a rule
11:14 PM Lcvette: needs to be z first if it is a positive move in z and z last if it is a negative move in z
11:15 PM Lcvette: not sure how to approach that
11:16 PM Tom_L: do it in the sub
11:16 PM Lcvette: yes i know
11:16 PM Tom_L: if 5181 >0
11:16 PM Lcvette: im not sure how to define it in the sub
11:16 PM Lcvette: yes but im rteferring to go to zero
11:16 PM Lcvette: its going to 0
11:16 PM Lcvette: thats the command
11:17 PM Lcvette: the move being in the positive or negative direction will determine the if else
11:18 PM Lcvette: hmm maybe use current_position
11:18 PM Lcvette: if [#<current_position>] GT 0
11:18 PM Tom_L: http://linuxcnc.org/docs/2.8/html/gcode/o-code.html
11:19 PM Lcvette: and define the current positionyes im well versed in the subroutine syntax was just trying to figure how to get the move defined
11:19 PM Tom_L: oh
11:20 PM Lcvette: i think using current position to compare against 0
11:20 PM Lcvette: need to look up if current position is inmachine coordinates
11:20 PM Lcvette: think it is
11:21 PM Lcvette: so i need to look up current position of curent work offset
11:39 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/MbxEyjCqEZccoyJPwqxWzjal >
11:39 PM Lcvette: this works
11:57 PM TurBoss: night
11:57 PM Lcvette: night!
11:57 PM Lcvette: did you figure it?
11:59 PM Lcvette: testing this:
11:59 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/blroQzQZpghoGZhQpaMTDzMf >
11:59 PM Lcvette: as a got to zero safety