#linuxcnc Logs

May 13 2024

#linuxcnc Calendar

12:14 AM XXCoder: roycroft: know whats funny? sudden clouds here lol
12:28 AM XXCoder: dunno if can see aurora
01:03 AM Deejay: moin
01:05 AM roycroft: no sign of an aurora here, and it is about my bed time
01:05 AM XXCoder: lrmmr look
01:06 AM XXCoder: lemme
01:06 AM roycroft: i see stars, so it's clear enough
01:09 AM XXCoder: clear here also, also no aurora. aw
01:16 AM roycroft: maybe abit later
01:17 AM roycroft: although it's staying rather north tonight - up near the border
01:30 AM XXCoder: yeah felt it was low probility
01:39 AM XXCoder: checked again. no luckj
04:40 AM Tom_L: morning
04:51 AM JT-Cave: morning
04:51 AM turboss_z80: good morning
04:56 AM Tom_L: was messin with the .qss file a bit last night to see what was what
05:42 AM serp1 is now known as serp
05:47 AM JT-Cave: what did you figure out?
06:31 AM Tom_L: JT-Cave, try it: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/example/
06:41 AM JT-Cave: missing sim.hal
06:42 AM JT-Cave: CANNOT FIND FILE FOR:sim.hal
06:54 AM Tom_L: there
06:55 AM Tom_L: didn't know mine needed that
07:14 AM JT-Cave: Could not open hal file 'sim_hardware.hal': No such file or directory
07:14 AM JT-Cave: source sim_hardware.hal
07:15 AM JT-Cave: I hate that they do that
07:15 AM Tom_L: do you have my ui in the flexgui_examples?
07:17 AM Tom_L: copied that one over too
07:17 AM JT-Cave: no I created a new config dir
07:17 AM * JT-Cave heads to wolf creek
07:31 AM Tom_L: just copied from the server to a folder so it should work now
07:32 AM -!- #linuxcnc mode set to +v by ChanServ
08:06 AM Tom_L: JT-Cave, copy the .qss again before you try it
08:22 AM Tom_L: if the spindle is in rev and you use the spinbox or '-' button to move the spindle speed to 0, the direction label switches to fwd but the rev button stays on as it should. then if you increase the spindle speed, 'fwd' direction is displayed but the rev button is still depressed
08:24 AM Tom_L: spindle override slider works as it should
09:27 AM JT-Cave: yup, still need to work on the checked state of fwd and rev
09:48 AM JT-Cave: hmm that's emc screwing up the direction pin goes from -1 to 1 at 0 rpm and never changes again
10:20 AM Tom_L: hmm
10:20 AM Tom_L: did you get the ui to work?
10:36 AM JT-Shop: no, I went for a ride
10:36 AM JT-Shop: then cleaned chicken poop
10:56 AM JT-Shop: https://youtu.be/LUt5ux3QATI?t=1176
10:56 AM JT-Shop: I've not seen a tap follower like that
11:05 AM bjorkintosh: https://www.youtube.com/watch?v=AHUUXfB0qHY
11:05 AM bjorkintosh: that's hot.
11:15 AM JT-Cave: Tom_L, colorful :)
11:18 AM Tom_L: easy to see the states
11:23 AM JT-Cave: need to color the estop and power
11:23 AM Tom_L: i tried to figure out how but the toolbar is different
11:24 AM Tom_L: also tried to color Stop & quit a different color when hoovered but haven't figured it out yet
11:25 AM JT-Cave: yup a tool button doesn't toggle so that would have to be in code
11:25 AM Tom_L: that kinda leaves me in the dust
11:26 AM Tom_L: and i'm not sure what the 'buttons' are called on the toolbar
11:26 AM Tom_L: or what to call them there at least
11:26 AM Tom_L: actionEstop etc
11:26 AM JT-Cave: https://github.com/jethornton/flexgui/blob/0.6.0/flexgui/src/libflexgui/status.py#L43
11:27 AM Tom_L: all that should be in the qss file imo
11:28 AM JT-Cave: https://github.com/jethornton/flexgui/blob/0.6.0/flexgui/src/libflexgui/status.py#L47
11:28 AM JT-Cave: that's where I change the text on estop and power
11:29 AM JT-Cave: the problem with toolbar buttons is they don't have a checked state only hover and pressed
11:29 AM Tom_L: i tried hoover but couldn't figure out what they're called there
11:30 AM JT-Cave: hover is in your qss file
11:30 AM JT-Cave: QToolButton:hover {
11:30 AM JT-Cave: background-color: rgba(0, 192, 0, 40%);
11:30 AM JT-Cave: }
11:30 AM Tom_L: haven't spent that mucht time on it yet
11:30 AM Tom_L: yes but
11:30 AM JT-Cave: but?
11:30 AM Tom_L: there is also QToolButton#singlebutton:hover
11:30 AM Tom_L: or something similar to that
11:31 AM JT-Cave: # is to select by object name
11:31 AM Tom_L: QToolButton:hover applies to them all
11:31 AM Tom_L: yes but what is the name there?
11:31 AM Tom_L: i tried actionXXX
11:32 AM JT-Cave: you want them to be different colors when you hover over them?
11:32 AM Tom_L: i was just messin but i was trying to change Stop and Quit to red instead of green
11:33 AM Tom_L: i can do that with a regular button
11:33 AM Tom_L: when hoovered
11:33 AM Tom_L: more an exercise for me but i haven't figured it out yet
11:34 AM Unterhaus__ is now known as Unterhausen
11:35 AM Unterhausen: I was hoping to use the power supply out of a vintage centroid cnc, but there are no markings on it at all
11:35 AM -!- #linuxcnc mode set to +v by ChanServ
11:35 AM Tom_dev: QPushButton#optional_stop_pb:hover
11:36 AM Tom_dev: is the syntax for a regular single button
11:37 AM Tom_dev: QToolButton#actionStop:hover doesn't work
11:38 AM JT-Cave: https://stackoverflow.com/questions/29987910/how-to-style-a-single-qtoolbutton-using-qss-css
11:42 AM Tom_dev: that code wouldn't go in the qss file though would it?
11:44 AM JT-Cave: no
11:45 AM Tom_dev: i'm trying to avoid messing with the code
11:47 AM Tom_dev: i think i read some objects need a border for the color to work too
11:47 AM Tom_dev: not that it's the problem here
12:02 PM JT-Cave: https://pasteboard.co/m1wI6NSEr6F0.png
12:02 PM JT-Cave: nap time...
12:12 PM JT-Cave: https://paste.debian.net/1316821/
12:12 PM JT-Cave: Tom_L, just gotta use the name I just made for the widgets
12:13 PM JT-Cave: now it's really nap time
02:04 PM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/style.html
02:07 PM Tom_L: cool
02:07 PM Tom_L: you wanted something to do...
02:13 PM Tom_L: nice upgrade, makes it more flex ible
02:14 PM Tom_L: you also mentioned the background color on the 'enabled' toolbar buttons
02:14 PM Tom_L: if that's possible it would make it much easier to code that
02:17 PM lcnc-relay: <skunkworks8841> You guys are awesome!
02:18 PM Tom_L: skunkworks, you had to use some python code to do the individual colors on a toolbar
02:18 PM Tom_L: this really simplified that
02:19 PM Unterhausen: the fan on that centroid control has its own power cable. Plugged it in and it doesn't work
02:19 PM JT-Shop: :enabled is a pseudo-state so you can style it different from disabled
02:20 PM Tom_L: those work like a champ
02:22 PM XXCoder: bjorkintosh: yeah that was fanastic sander thing. think I linked to it a while ago though lol
02:23 PM Tom_L: skunkworks, check it out: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/example/
02:23 PM lcnc-relay: <skunkworks8841> I hope to have time to play with this stuff soon.
02:23 PM lcnc-relay: <skunkworks8841> Too much spring stuff currently
02:23 PM lcnc-relay: <skunkworks8841> (and years of neglect)
02:24 PM XXCoder: hat reminds me. need to trim that tree lol
02:24 PM XXCoder: today is only cloudy day of week
02:24 PM lcnc-relay: <skunkworks8841> The new holland mower is going to be really nice. (once I get a pto and shaft...) It pretty much mows all the places without feeling like your going to roll..
02:25 PM lcnc-relay: <skunkworks8841> I ran it to the top of the hill and mowed around the tower - it didn't care..
02:26 PM XXCoder: im picturing old watchtower lol
02:27 PM lcnc-relay: <skunkworks8841> it isn't up... It was moved up there - the pad was poured and the tower was never tipped up.
02:27 PM lcnc-relay: <skunkworks8841> it is about 50 ft tall. (it was up at the previous house my parents built - it had a windmill on top) but I was 3
02:27 PM Tom_L: JT-Shop, on a toolbar button like Estop would you set checkable for :enabled to work?
02:28 PM XXCoder: something like this
02:28 PM lcnc-relay: <xxcodery> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/aUfkXQoVictYWWBEkwdAajEY/stock-photo-historic-watch-tower-of-castle-ebersburg-hesse-partly-covered-with-ivy-1236603079.png
02:28 PM Tom_L: what i tried left it solid green from the start
02:29 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/lcNrZeBwsMIMcAjFFpMUuilO/PXL_20240513_001306008.jpg
02:29 PM lcnc-relay: <skunkworks8841> needs to be de-brushed..
02:29 PM lcnc-relay: <skunkworks8841> that is the top
02:30 PM lcnc-relay: <skunkworks8841> Kinda like to tip it up the summer with an antanna on it.. Get the local stations better (the house is in the vally)
02:30 PM XXCoder: lol ok
02:31 PM XXCoder: yeah leave yard enough it turns into wild
02:31 PM lcnc-relay: <skunkworks8841> yep
02:32 PM lcnc-relay: <skunkworks8841> you find out how much dad actually did around the farm lol
02:37 PM CaptHindsight: skunkworks8841: are all the big machines that you used to post stories about at the farm?
02:49 PM JT-Shop: Tom_L, checkable and enabled are two different things
02:49 PM Tom_L: i'm finding that out
03:00 PM JT-Shop: I really like having a red hover over the quit button that's so much better than a nag do you really want to quit crap
03:03 PM Tom_L: we associate colors
03:05 PM Tom_L: maybe make pause a shade of yellow/orange something...
03:06 PM Tom_L: opens up more possibilities
03:07 PM JT-Shop: yup the rpba can have shades of the same color
03:08 PM Tom_L: that's what i was trying to show and green seem to stand out
03:20 PM JT-Shop: Tom_L, did you see what I added to the docs?
03:21 PM Tom_L: some of it unless you just added more
03:21 PM JT-Shop: last was style
03:21 PM Tom_L: the stylesheet?
03:21 PM JT-Shop: yup
03:21 PM Tom_L: yeah i have it open
03:22 PM Tom_L: the 50% can also be specified as 0.5
03:23 PM JT-Shop: yup
03:23 PM JT-Shop: I like using the % it's more descriptive
03:25 PM Tom_L: should i put my qss in the examples?
03:26 PM JT-Shop: yup
03:26 PM Tom_L: i'll clean it up a bit when i'm done playing
03:27 PM JT-Shop: ok
03:27 PM Tom_L: i read somewhere that border has to be specified on some or the color won't show
03:28 PM Tom_L: even if it's border none;
03:29 PM JT-Shop: Warning: If you only set a background-color on a QPushButton, the background may not appear unless you set the border property to some value. This is because, by default, the QPushButton draws a native border which completely overlaps the background-color.
03:29 PM JT-Shop: https://doc.qt.io/qt-6/stylesheet-examples.html#customizing-qpushbutton
03:30 PM Tom_L: probably where i saw it
03:37 PM JT-Shop: I need to add that to my docs
03:42 PM Tom_L: when you do individual buttons there's a way to specify more than one on the line but i forgot the syntax
03:42 PM Tom_L: like if you had 2 you wanted the same
03:43 PM JT-Cave: comma maybe
03:43 PM Tom_L: i dunno, it'll show up again eventually
03:45 PM XXCoder: roycroft: just trimmed the tree
03:45 PM XXCoder: dang the electric chainsaw suck lol
03:45 PM XXCoder: you have to carefully hover it into wood
03:45 PM Tom_L: battery?
03:45 PM XXCoder: and model I bought kept losing tightness of chain and tensioner dont really work too lol
03:45 PM XXCoder: but hey it was $30 and vastly cheaper than hiring out
03:46 PM XXCoder: tom yeah battery handheld
03:48 PM Tom_L: https://www.amazon.com/Corona-RazorTOOTH-Heavy-Duty-RS-7510D/dp/B01LZ7UL4F?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER
03:48 PM Tom_L: i have a very old version of one of those i keep for small branches
03:48 PM Tom_L: the rest get power tools
03:48 PM XXCoder: nice. yeah I dont have energy to use that unfortunately
03:49 PM XXCoder: https://www.amazon.com/dp/B0CFTLPFSL is what I got
03:49 PM Tom_L: JT-Cave, i added a darker red to stop/quit when they're depressed now
03:49 PM XXCoder: 4 inch one I got is gone now lol
03:50 PM Tom_L: just put it on my server page.. when i'm done i'll push it
03:51 PM XXCoder: glad I didnt wait lol. its pretty sucky so 60 usd would be overpriced for it
03:58 PM JT-Cave: just to let them know they just screwed up? LOL
03:59 PM XXCoder: jt did you see chainsaw comments? if you use it more than few times it wouldnt be worth it lol
03:59 PM XXCoder: it was fine for me as I doubt I will use it more than once and still cheaper than hiring garden people
04:01 PM JT-Cave: Tom_L, does the first paragraph look better with a link to the ini page? https://gnipsel.com/linuxcnc/flexgui/style.html
04:02 PM XXCoder: "Confortable chair for gnomes." probably my best review. it was really tiny portable chair
04:02 PM JT-Cave: yup I saw that but did you get the trimming done?
04:02 PM Tom_L: yeah probably
04:02 PM XXCoder: yep done now :D
04:02 PM Tom_L: gettin ready to push this mess
04:03 PM Tom_L: with a pi deb
04:03 PM XXCoder: as long as you dont break the build ;)
04:04 PM Tom_L: ok PR #25 is up
04:05 PM Tom_L: i left the actions list at the bottom as a note
04:10 PM JT-Shop: ok
04:21 PM Tom_L: push & hold the quit button
04:23 PM JT-Shop: what happens?
04:24 PM Tom_L: turns full on red
04:24 PM JT-Shop: cool
04:24 PM Tom_L: if you move the mouse off it while holding, it won't quit
04:24 PM JT-Shop: really?
04:24 PM Tom_L: like you didn't mean to quit
04:25 PM JT-Shop: ah yup clicked is when released so if you have not released the button clicked won't fire
04:25 PM Tom_L: release the mouse on it and it does
04:28 PM JT-Shop: I should work on the bed platform
04:50 PM pere: The linuxcnc program (including gmoccapy) is now 100% translated into Russian. :) Spanish and German are very close to reaching 100% too. <URL: https://hosted.weblate.org/projects/linuxcnc/#languages >
05:03 PM Tom_L: pere, that's cool
05:05 PM JT-Cave: Tom_L, set the tool button text to white when pressed so it pops out more
05:14 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/example/tom.qss
05:14 PM JT-Shop: :)
05:15 PM Tom_L: might try hover on the tabs
05:16 PM Tom_L: pull that again and see if you like it on the tabs
05:16 PM JT-Shop: from your web url?
05:16 PM Tom_L: yeah
05:16 PM Tom_L: just the qs
05:16 PM Tom_L: s
05:17 PM Tom_L: may add that to hover too if you like it
05:19 PM Tom_L: yeah i kinda like it on hover too
05:19 PM Tom_L: grab it once more
05:19 PM JT-Shop: postgui_tom.hal:5: Pin 'flexhal.test_mdi_pin0' does not exist
05:20 PM JT-Shop: just pulled all the files
05:20 PM Tom_L: good idea they're pretty current
05:21 PM Tom_L: should work, i pulled them off the server to a folder and ran it
05:23 PM JT-Shop: I don't have the latest flex installed lol
05:24 PM Tom_L: well that won't work
05:25 PM JT-Shop: you went back to green for quit?
05:25 PM Tom_L: no
05:25 PM Tom_L: lemme pull them off the server and test
05:26 PM Tom_L: nope, the server files are current
05:27 PM Tom_L: red stop & quit
05:27 PM Tom_L: white txt on hover & pressed
05:43 PM Tom_L: those changes aren't in the last pr...
05:44 PM Tom_L: you gotta get them from the server
05:44 PM JT-Shop: hmm latest deb is not the latest deb...
05:44 PM Tom_L: i'll post mine there too
05:45 PM Tom_L: i put the very latest one in the example folder
05:45 PM JT-Shop: I had to build flex from source to get the latest deb
05:45 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/example/
05:46 PM JT-Shop: sometimes github does that and you have to open the repo again to get the latest of everthing
05:47 PM Tom_L: i update my git copy from yours then build every time
05:49 PM JT-Shop: I don't think I uploaded the deb to the release...
05:49 PM Tom_L: just use mine until you can figure it out
05:49 PM JT-Shop: I just built from source here
05:50 PM JT-Shop: no biggy
05:50 PM Tom_L: ok
05:50 PM JT-Shop: when I go inside I'll upload the deb
06:14 PM roycroft: *sigh*
06:15 PM roycroft: i just got my first bill from thew ambulatory surgery center
06:15 PM JT-Shop: they didn't waste much time
06:16 PM roycroft: it's for $8500, and my insurance denied the claim, saying they already paid for the procedure in the er
06:16 PM XXCoder: what
06:16 PM JT-Shop: ouch
06:16 PM roycroft: i'll get it sorted, but this is going to be another big time and money sink
06:17 PM roycroft: first hint: surgeries are not performed in an er
06:17 PM XXCoder: I wonder if theyre trying to say that the pull thingy in er is surgery
06:18 PM XXCoder: its very much not
06:18 PM roycroft: they are performed in operating rooms
06:18 PM roycroft: the billing code was for a surgery
06:19 PM roycroft: the billing code for the er procedure was similar, but not identical
06:19 PM CaptHindsight: heh, insurance billing fun
06:19 PM CaptHindsight: I think I"m around $130K so far
06:20 PM roycroft: icould have had the surgery at the hospital, but that would require checking me in, and an overnight stay
06:20 PM XXCoder: the chainsaw thing was a success btw roy. and shitty as expected lol. worth the 30 usd I paid
06:20 PM roycroft: which would have cost my insurance much, much more, and me less
06:21 PM XXCoder: so theyre basically trying tp punish yoy for saving them money
06:21 PM roycroft: if you go it for that price it's probably worth fixing up
06:21 PM XXCoder: sure dunno if will need it again but saving it yeah
06:22 PM rdtsc_away is now known as rdtsc
06:22 PM CaptHindsight: roycroft: I had one doc perform a procedure that was ~$8k that somehow done without prior authorization but I have no bill for it yet after 5 months, it shows up in my insurance claims as denied
06:23 PM * JT-Shop calls it a night
06:23 PM XXCoder: o/
06:24 PM CaptHindsight: I talk with the financial people at my local hospital whenever I have some sort of hiccup with insurance or bills and so far they just make them go away
06:24 PM Tom_L: the sun don't go down til 9...
06:25 PM * JT-Shop goes down at 6pm
06:25 PM CaptHindsight: one day my balance after insurance is $3K, then a week later it is only $30
06:26 PM Tom_L: for 3k they may as well ate the 30 too
06:27 PM Tom_L: i suppose betty in billing needs something to do
06:27 PM CaptHindsight: they haven't sent me a bill for the $30 yet either, they did send one for $6.50 for copies of some records :)
06:27 PM Tom_L: she's been busy painting her nails
06:30 PM CaptHindsight: one of my cancer meds is $130 per pill, the insurance co authorized 12 months worth at the original dosage. Later the dosage was reduced by 1/4. But they still send me the original amount of pills.
06:30 PM CaptHindsight: I can't legally resell them or even give them away. Seems like a real waste.
06:31 PM XXCoder: cant cut into 1/4?
06:31 PM CaptHindsight: they send me a bottle of 120 each month, even though I only need 30/month
06:32 PM XXCoder: ahh ok
06:32 PM XXCoder: yeah dunno
06:33 PM CaptHindsight: so I have an extra 90 each month, 90 x $130 = $11,700/month
06:33 PM XXCoder: that sucks
06:33 PM CaptHindsight: my cost is $0
06:34 PM XXCoder: do they automatically send you more or?
06:34 PM XXCoder: ahh insurance waste then
06:34 PM CaptHindsight: they bug me every month to ship me more
06:35 PM rdtsc: I've been racking up the bills too after a 4-day stay for observation. Been paying on a huge bill, then suddenly it's $130 - what? Between the Dr. and pharmacy, have to practically beg them for flomax every month - struggle is real.
06:37 PM CaptHindsight: so I just saved the insurance co ~$36,000 but they still complain about some $300 charge from a doc
06:37 PM CaptHindsight: it's crazy
06:37 PM XXCoder: yeah
06:37 PM XXCoder: insurance is utterly broken
06:38 PM CaptHindsight: rdtsc: I wish I could send you my Flomax, i decided i was happier without
06:40 PM rdtsc: They seem to be helping, so continue on them for now. See them in three days for a results / prognosis
06:43 PM rdtsc: In the meantime, workin' on a custom mill. Made limit switch brackets today, borrowed an M3 tap from work for the switches. Decided to go with https://www.digikey.com/en/products/detail/omron-electronics-inc-emc-div/D2VW-01L1B-1HS/368540
06:46 PM CaptHindsight: the M3 tap costs more than the switches
06:47 PM rdtsc: A good one might. The switches are IP67 rated though and very small, with a long SS lever that can be bent if needed
06:47 PM CaptHindsight: i bought several sets of <M3 taps on ebay for cheap since all the local-ish suppliers wanted >$20 per tap for anything <M3
06:49 PM rdtsc: Have one of those harbor freight tap sets (prolly a gift) - the M5 tap literally twisted, ruining the hole it was tapping lol
06:49 PM rdtsc: after that, bought a good set of M4-M8
06:49 PM CaptHindsight: heh, I had one of those sets as well, they were almost the right size
06:50 PM CaptHindsight: they would either cut threads too wide or too small, never just right
06:51 PM CaptHindsight: tolerance must have been +- 25%
06:51 PM rdtsc: If you need some small metric bits, check these out, surprisingly good for the price: ?crid=1PVN13PCEJH0T&dib=eyJ2IjoiMSJ9.zpXx4Psbm06KqTW9zl2qkpxQpSIx0qocpUVX29_fsUMMEviOtXBqwhJpwkpgVK6_sVwacs_ama2fLv7EHiS3ItqTUtaodVSkzDycLZhIzgZvmmFM7RjCd-PuQlm2TC8aoEhkYrSaNUzNO1O6N3sgQPgSJ5eNIemt_cvDO5bKi2s.fL2Wch8jBKaidja_pwTF1aPxmLNjzy5GvK44OM5oppU&dib_tag=se&keywords=hymnorq+metric+cobalt&qid=1715643895&sprefix=hymnorq+metric+cobal%2Caps%2C97&sr=8-2
06:52 PM rdtsc: https://www.amazon.com/Migiwata-Extremely-Resistant-Straight-Stainless/dp/B078YLRFRD/ref=sr_1_2?th=1
07:45 PM Tom_L: those bits are too long to be useful on a cnc
08:10 PM XXCoder: unless you have tool grinder I guess
08:11 PM lcnc-relay: <big_kevin420> nah i use jobber lenght all the time, its fine
08:12 PM XXCoder: it depends on machine, but most drills I use is shorter type
08:14 PM lcnc-relay: <big_kevin420> i use those more on hand drills
10:50 PM Tom_L: JT-Cave, PR #26 with qss changes
10:52 PM -!- #linuxcnc mode set to +v by ChanServ
10:53 PM -!- #linuxcnc mode set to +v by ChanServ
10:59 PM -!- #linuxcnc mode set to +v by ChanServ
11:07 PM -!- #linuxcnc mode set to +v by ChanServ