#linuxcnc Logs
Sep 08 2024
#linuxcnc Calendar
12:00 AM Tom_L: you may be wasting your time then
12:13 AM Tom_L: there's not that much difference between those 2 kernels
12:13 AM Tom_L: and afik there's no 2.9.3 for it yet
12:13 AM Tom_L: ok. past my bedtime... later
12:13 AM lcnc-relay: <handsomebeast> from the notes it doesnt look like theres much changed but looking at the latency gif you posted, latency wise is a considerable change, https://linuxcnc.org/downloads/ under linuxcnc packages only has the files for the 5.4.258 more than likely only 2.9.2, ill let you know how i get on, thanks so much tom
01:27 AM Deejay: moin
04:09 AM Guest82: hi everyone , i want to sign up to LinuxCNC Forum but didn't receive anyย instructions email
04:12 AM Tom_L: morning
04:15 AM Tom_L: JT-Cave, PR #116 mesact
04:32 AM JT-Cave: morning
05:42 AM lcnc-relay: <Travis Farmer> Morning
07:09 AM JT-Cave: Tom_L, just finished up some bug fixes for mesact
07:40 AM -!- #linuxcnc mode set to +v by ChanServ
07:40 AM -!- #linuxcnc mode set to +v by ChanServ
08:09 AM Tom_L: JT-Cave, PR#117
08:29 AM JT-Cave: thanks
08:29 AM JT-Cave: mesact 2.1.7 is out now
08:30 AM JT-Cave: https://pasteboard.co/ gives me a bad gateway
08:30 AM JT-Cave: got some work done on button images
08:31 AM Tom_L: nice
08:34 AM JT-Cave: https://ibb.co/Jr83BtR
08:35 AM Tom_L: what size are they?
08:36 AM Tom_L: and what did you use to fix/create them?
08:36 AM Tom_L: it was my first time using gimp
08:38 AM JT-Cave: those are just the ones from the probe repo
08:38 AM Tom_L: you didn't modify them?
08:38 AM JT-Cave: and they are all different sizes lol so I had to use background-position: center;
08:39 AM Tom_L: yeah yours look better than mine
08:39 AM JT-Cave: https://paste.debian.net/1328796/
08:39 AM JT-Cave: I tried border-image but you lose the border
08:40 AM Tom_L: where did you put the png files?
08:40 AM Tom_L: i was using 65px for the buttons
09:03 AM rdtsc: JT, any inkling as to what type of plastic this is? https://www.partstree.com/parts/toro-75-8800/ Now no longer shiny from '91. My gut wants to say polypropylene since that is very gas-resistant. The original has no type marking, just a an unreadable green fab sticker, someplace starting with a B and stating 1st shift prod.
09:04 AM rdtsc: skunkworks: nice job with the fusing - worst you should hear is a faint "click!" if something were to go poof. :)
09:06 AM rdtsc: Tom_L: getting that new .deb
09:14 AM JT-Cave: Tom_L, I want to create my own images for probing but first I need to document the process of adding an image to the button
09:15 AM JT-Cave: rdtsc, no clue from looking at the photo
09:16 AM JT-Cave: if you have a bit of the cover that is not really need you can test there
09:16 AM * JT-Cave goes to clean chicken shit
09:16 AM Tom_L: i tried your background-image line and as long as the png is in the source folder it works
09:17 AM * rdtsc chuckles at creating a symlink to start flex full-screen, named 'ffs'
09:17 AM Tom_L: i'll rebuild mesact with the new version
09:19 AM JT-Cave: ok
09:22 AM rdtsc: Latest .deb working here Tom
09:22 AM Tom_L: bump version #118
09:22 AM JT-Cave: rdtsc, you do know that startup screen size can be set in the ini? https://gnipsel.com/linuxcnc/flexgui/ini.html
09:23 AM rdtsc: yep, intentionally running it full-screen, at 1920x1080 and quite snappy :)
09:23 AM Tom_L: git is asking about signing in with keys now :/
09:24 AM JT-Cave: that sucks
09:24 AM Tom_L: i can still login
09:24 AM Tom_L: but this new install i lost alot of saved logins etc
09:25 AM JT-Cave: did you lose your ssh keys?
09:26 AM Tom_L: so how do we get from url(inX+.png) to resources.py?
09:26 AM Tom_L: no
09:26 AM Tom_L: i have them stored elsewhere
09:26 AM rdtsc: check out pika backup... using it to backup multiple machines to a NAS using NFS (very fast): https://github.com/pika-backup/pika-backup
09:26 AM Tom_L: i just copy them over to a pc and chmod
09:33 AM -!- #linuxcnc mode set to +v by ChanServ
09:33 AM Tom_dev: JT-Cave, about midway down https://www.pythonguis.com/tutorials/qresource-system/
09:34 AM Tom_dev: still doesn't get me past the 'import resources' without a python file
09:35 AM Tom_dev: in that example icon = would be background-image = instead
09:36 AM JT-Shop: you will need the resources.py in order to import and it has to be in the python path
09:36 AM JT-Shop: so python can find it
09:36 AM Tom_dev: right
09:37 AM * JT-Shop heads to town
09:37 AM Tom_dev: in your case with lots of .py files it's an easy matter
09:38 AM Tom_dev: sudo code: if 'resources' import resources
09:38 AM Tom_dev: not sure if you can have code above any imports though
09:39 AM rdtsc: I've hacked together a .py which tests for import availability and if not installed, installs it via pip, then imports it. total hack
09:40 AM Tom_dev: he hates pip
09:40 AM rdtsc: can't blame him there
09:41 AM JT-Shop: you can import any place you like so long as you don't try to use the imported file before importing it
09:41 AM Tom_dev: good
09:41 AM * JT-Shop hates pip
09:42 AM Tom_dev: in my programming things like that aren't allowed and it gets fun coming up with a workaround
09:43 AM rdtsc: i've seen imports in the main() refuse to work before (another hack)
09:43 AM rdtsc: but such shouldn't be attempted anyhow
09:44 AM Tom_dev: or put the import inside the probe code
09:44 AM Tom_dev: so if the probe widgets are present it gets called
09:45 AM Tom_dev: but i'm sure since we've opened this can, you'll want to allow for graphics on other buttons etc
09:48 AM * rdtsc is excited for probing in flex; thinking of ways the probe can be permanently mounted to the Z axis and pivoted out of the way.
10:51 AM JT-Cave: rdtsc, if you're excited about probing then I'll just have to make that work
10:55 AM rdtsc: envisioning how this machine will be used, probing will be very helpful :)
10:58 AM rdtsc: first job for the machine will be to surface and notch the sides of nine laminate panels, to fit in 40mm extrusion and form a bench surface
10:58 AM rdtsc: well base anyways; topping with aluminum sheet then anti-static mat
11:04 AM lcnc-relay: <captainhindsight_.> rdtsc have a drawing of this composite device?
11:04 AM lcnc-relay: <captainhindsight_.> just curious
11:08 AM rdtsc: the bench?
11:09 AM lcnc-relay: <captainhindsight_.> sure, of that is what it is
11:10 AM lcnc-relay: <captainhindsight_.> wondering how you are combining the extrusions into it
11:10 AM rdtsc: brb gotta reboot, menu bar disappeared lol
11:15 AM rdtsc: gonna take me a bit to find them
11:21 AM lcnc-relay: <captainhindsight_.> it's ok, was just wondering
11:28 AM rdtsc: hmm, https://pasteboard.co is down lol
12:31 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Probe_screen1.png
12:40 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Probe_screen2.png
12:41 PM Tom_L: png need some work
01:10 PM lcnc-relay: <JT> Yo
01:12 PM xxcoder: good sunday
01:15 PM lcnc-relay: <JT> https://jauriarts.org/_matrix/media/v3/download/matrix.org/NOoOtItYngocqOFmvrYNmcRG/20240908_130808_7895560964983012568.jpg
01:17 PM xxcoder: nice view. needs more distant mountains in view
01:17 PM xxcoder: the flat horzion is unnatural ;)
01:19 PM lcnc-relay: <JT> No mountain near here
01:22 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Probe_screen2.png
01:22 PM xxcoder: add some jt ;)
01:22 PM lcnc-relay: <JT> Looking good
01:22 PM Tom_L: so is your pic :)
01:23 PM Tom_L: rt of the road is grapes what's on the left?
01:23 PM lcnc-relay: <JT> Grass
01:25 PM Tom_L: pita making icons
01:26 PM lcnc-relay: <JT> You using gimp
01:26 PM Tom_L: first time yeah
01:28 PM lcnc-relay: <JT> Making them square?
01:28 PM Tom_L: that and moving the letters so they show once they're cropped
01:28 PM Tom_L: all 65x px
01:28 PM Tom_L: they don't always center right
01:29 PM lcnc-relay: <JT> That's a good size
01:29 PM Tom_L: i figured it would fit on the rpi that way
01:31 PM lcnc-relay: <JT> Big enough for fat fingers
01:33 PM Tom_L: i'll keep fiddling with em some to try and get them uniform
01:39 PM lcnc-relay: <JT> Did you use the center qss thing
01:40 PM Tom_L: huh?
01:40 PM Tom_L: aparently not
01:40 PM lcnc-relay: <JT> and the no repeat
01:40 PM Tom_L: i did in gimp
01:40 PM Tom_L: what does no repeat do?
01:40 PM lcnc-relay: <JT> Look at my paste from this morning
01:42 PM lcnc-relay: <JT> If the image is smaller than the space it will repeat on x and y
01:42 PM Tom_L: ahh yeah i just thought of that
01:42 PM Tom_L: i noticed some did until i resized them
01:43 PM Tom_L: ... first go at this
01:43 PM Tom_L: i used to edit pics for here in photoshop, lightroom etc but it's been a while
01:46 PM lcnc-relay: <JT> Did you find my pastebin
01:46 PM Tom_L: i was in windows, just now rebooted
01:47 PM lcnc-relay: <JT> It was an example qss
01:47 PM Tom_L: pasteboard?
01:47 PM lcnc-relay: <JT> This morning yeah
01:47 PM Tom_L: 502 Bad Gateway
01:47 PM Tom_L: so no
01:49 PM Tom_L: https://ibb.co/Jr83BtR
01:49 PM Tom_L: did see that one
01:49 PM lcnc-relay: <JT> The text paste
01:49 PM Tom_L: about buttons?
01:49 PM Tom_L: yes
01:49 PM lcnc-relay: <JT> YUP
01:49 PM Tom_L: https://paste.debian.net/1328796/
01:50 PM Tom_L: you should save those for 3 days
01:50 PM Tom_L: instead of overnite
01:50 PM Tom_L: i generally try to do that
01:50 PM Tom_L: i did save it though
01:51 PM rdtsc: https://imgdrop.us seems to be up
01:54 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Probe_screen3.png
01:54 PM Tom_L: washes out the text
01:55 PM Tom_L: but i see what centering does now
01:56 PM lcnc-relay: <JT> Did you create those
01:56 PM Tom_L: those are the same ones i've been working on
01:56 PM Tom_L: with your button settings
01:56 PM Tom_L: except the size
01:57 PM Tom_L: without centering it shifted the bullseyes as you see there
01:57 PM Tom_L: i'll fix those
02:00 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Probe_screen4.png
02:35 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Probe_screen5.png
02:35 PM Tom_L: a little better
02:36 PM rdtsc: Lookin' good in dark. Think you'll have to make a light and dark version?
02:39 PM Tom_L: time will tell
02:54 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/wAtZLAIGCffrmqcyEsSdqDqn/PXL_20240907_232758243.jpg
03:08 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Probe_screen4.png
03:08 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Probe_screen3.png
03:22 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Probe_screen5.png
03:24 PM lcnc-relay: <Travis Farmer> and yet, if i posted the same image over and over, it would be called spamming the chat ๐
03:24 PM Tom_L: i'll stop and keep it all to myself
03:24 PM lcnc-relay: <Travis Farmer> i was just poking fun ๐
03:26 PM Tom_L: at least it's lcnc related
03:27 PM Tom_L: the 3 are 3 different gui options
03:27 PM Tom_L: set with one line in the ini
03:52 PM rdtsc: Nice Tom! :)
03:52 PM Tom_L: take a look at 6
03:53 PM Tom_L: i dare not post any more links :)
03:53 PM rdtsc: Sweet! was hoping for something like that... you must be trying to make our December holiday wishlist. :)
03:55 PM Tom_L: i'll let you code all the subroutines
03:55 PM rdtsc: hahahah we might be here awhile lol
03:56 PM rdtsc: of course, would help if my machine was done and ready for a probe
03:56 PM rdtsc: playing catch-up here
03:57 PM rdtsc: no idea how the actual code works - is it "automated" MDI?
03:58 PM Tom_L: they are x y moves with the probe gcode mostly
03:58 PM rdtsc: seen a few vids about them, and almost all have bent a probe heheh
03:59 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/cradek/
03:59 PM Tom_L: those are chris's
04:01 PM Tom_L: looks like most of those you move within .2" of the work then execute them
04:02 PM Tom_L: without actually looking up the codes
04:02 PM rdtsc: curious if it may be easier to make two versions of these - imperial and metric
04:02 PM rdtsc: rather than trying to convert-on-the-fly
04:02 PM Tom_L: imperial is the only real useable units :)
04:03 PM rdtsc: my frankenstein machine is half and half.. imperial ballscrews (metric mounting), etc.
04:10 PM rdtsc: curious if there's an easy way to display a label in flex based on math from another label - say a metric equivalent from the imperial DRO
04:19 PM Tom_L: there is but i haven't done it
04:20 PM rdtsc: seeing that in P-hole.txt even atan and sqrt can be done in gcode; should come in handy
04:36 PM lcnc-relay: <skunkworks8841> lol - found out different i/o on the rpi5 is different..
04:37 PM Tom_L: i've run the phole one when i had my probe hooked up
04:37 PM Tom_L: skunkworks, in what way?
04:37 PM Tom_L: different order? different output types?
04:38 PM Tom_L: pullup, highz etc
04:39 PM lcnc-relay: <skunkworks8841> the pin that I had been testing for pwm - low was not 0v.. I thought -that is ok.. Not really causing a problem. I hooked up the second pwm using the gpio pins labled uart (14 and 15) have a low of 0 volts..
04:40 PM Tom_L: hmm
04:40 PM lcnc-relay: <skunkworks8841> so - I am using the 2 uart pins for the pwm signal - and now at 0 pwm - there is 0 volts out of the opamp
04:40 PM lcnc-relay: <skunkworks8841> (was .1v)
04:40 PM lcnc-relay: <skunkworks8841> (or -.1v based on the direction)
04:41 PM Tom_L: rdtsc, p-hole probes twice. once to get close and again to get closer
04:41 PM lcnc-relay: <skunkworks8841> I was using gpio3
04:42 PM lcnc-relay: <skunkworks8841> Tom - stop being a p-hole
04:42 PM rdtsc: possibly related sw: https://forums.raspberrypi.com/viewtopic.php?t=362609
04:42 PM Tom_L: awww... cradek started it
04:42 PM lcnc-relay: <skunkworks8841> lol
04:42 PM rdtsc: saw that tom, very smart
04:43 PM Tom_L: i saw another one i have i think maps a surface
04:43 PM lcnc-relay: <skunkworks8841> I use those probing routines all the time
04:43 PM lcnc-relay: <skunkworks8841> all the time
04:43 PM rdtsc: aah so now we know who the real p-hole is :)
04:44 PM Tom_L: skunkworks, how's the antenna workin out?
04:45 PM rdtsc: yeah, you picking up European channels yet, bounced off the ionosphere?
04:46 PM rdtsc: (hmm, wonder if that is possible...)
04:46 PM Tom_L: i used to listen to shortwave when i was a kid
04:46 PM lcnc-relay: <skunkworks8841> Tom_L: Yes. No issues so far
04:46 PM lcnc-relay: <skunkworks8841> getting rock solid stations
04:47 PM JT-Cave: lol got pulled over for speeding but not when I was going 140
04:47 PM JT-Cave: so no ticket
04:47 PM Tom_L: good thing
04:47 PM rdtsc: O . O
04:47 PM JT-Cave: yup he was cool... my excuse was I had to pee and was close to the barn
04:47 PM Tom_L: i'm sure he bought that
04:48 PM JT-Cave: maybe he thought it was funny...
04:48 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Probe_screen6.png
04:48 PM Tom_L: final product for today's work
04:48 PM JT-Cave: cool
04:49 PM Tom_L: i'll let you figure out how to hook em up
04:50 PM Tom_L: if you can disect his code, most of the work is done
04:51 PM JT-Shop: cool
04:51 PM Tom_L: some use more than one sub so i think they are split into reuseable chunks
04:52 PM Tom_L: i haven't looked at it that close yet
04:53 PM Tom_L: your button code helped clean it up
04:54 PM JT-Shop: cool
04:55 PM Tom_L: shots of the other 2 gui are in that folder
04:55 PM lcnc-relay: <skunkworks8841> I thought for sure the hal or wiring was wrong when I had 0v at the +/-10 v output. So I set the pwm value to 1 and the voltage went right to 10v .. GO figure
04:55 PM rdtsc: did you get the gain sorted SW?
04:58 PM lcnc-relay: <roguish> Tom_L: probing tab looks good.....
05:14 PM lcnc-relay: <skunkworks8841> gain?
09:12 PM rdtsc: yes SW, pwm 0 input = 0 output, pwm 1 input = 10 out - sounds like the gain of the opamp is far too great.
09:41 PM unreal: it still blows me away how well the tinker board ran lcnc. if only it didnt have the devastating boot loop power problem
09:47 PM unreal: are you EFFFFFFING kidding me. I ordered these a week ago. with next day https://www.amazon.com/dp/B0CRV5J4MX?ref=ppx_yo2ov_dt_b_fed_asin_title .... They are now arriving tomorrow ""
09:47 PM unreal: I still have that part sitting on the new cnc machine. in limbo
09:47 PM unreal: verything sitting zero'ed becuase I cant do $hit till I have those bits
09:48 PM unreal: amazon has really gone down hill since 2020
09:48 PM unreal: really really gone down hill
09:53 PM bjorkint0sh: unreal: they haven't officially announced it, but amazon doesn't do next day anymore, I don't think.
09:54 PM bjorkint0sh: they tell you it's going to be next day, but they just waste your time with apologies.
09:54 PM bjorkint0sh: apart from price competitiveness, they are not really that good anymore and haven't been for a while now.
09:57 PM unreal: I've only ordered one think from temu and it wasa bt keyboard that folds. with touch pad. I use it constantly
09:57 PM unreal: worth everyt penny
09:58 PM Tom_L: what will become of all that warehouse space when they fold?
09:58 PM unreal: when ever I have to do quotes I just wip out the keyboard and type into google docks
09:58 PM unreal: Tom_L, hehe
09:58 PM xxcoder: temu lol sometimes useful junk
09:59 PM mrec: https://www.mikrocontroller.net/attachment/644911/Drehmaschine_2.jpg
10:00 PM mrec: https://www.mikrocontroller.net/attachment/644912/Drehmaschine_3.jpg
10:00 PM mrec: german engineering will always win
10:00 PM mrec: 750kW
10:00 PM unreal: I believe this is the one I got
10:00 PM unreal: https://www.temu.com/fold-folding-foldable-bt5-1-wireless-keyboard-with-touchpad-for-windows-for-android-for-ios-for--computer-tablet--phone-etc-portable-foldable-mini-keyboard-g-601099518082404.html?top_gallery_url=https%3A%2F%2Fimg.kwcdn.com%2Fproduct%2FFancyalgo%2FVirtualModelMatting%2Fa5d7866591214b5432789575f00743ae.jpg&spec_gallery_id=2001443297&share_token=yvsaFw-0HfpWIZb2zcmIdKP-yM5BotAgPf2InEE3nPBeED2dqlXgMNwvYX7dFbxwaGkwS
10:00 PM unreal: 6odUJu0UGOtFUb6axEYVwYVa5PeFvyZ7WqBlqVMI_p-Lcr3KkKNkakuEbPA&refer_page_el_sn=209279&_x_vst_scene=adg&_x_ads_sub_channel=shopping&_x_ns_prz_type=-1&_x_ns_sku_id=17592227581540&_x_ns_gid=601099519192771&_x_ads_channel=google&_x_gmc_account=647900107&_x_login_type=Google&_x_ads_account=1919904652&_x_ads_set=21112615149&_x_ads_id=161136666618&_x_ads_creative_id=694370656232&_x_ns_source=g&_x_ns_gclid=Cj0KCQjwlvW2BhDyARIsADnIe-LKogwx3pF
10:00 PM unreal: uWG9SwabiIyQpSpRPr4xxrpAiT4mLh6qi9XpxTCw9MGYaAltsEALw_wcB&_x_ns_placement=&_x_ns_match_type=&_x_ns_ad_position=&_x_ns_product_id=17592227581540&_x_ns_target=&_x_ns_devicemodel=&_x_ns_wbraid=Cj8KCQjwlvW2BhDiARIuAP_6RIxoexyFBMLqWARsarYaKfvRPN92DUQSkXZRCD4eT3b0judrOH5F3X9ShhoC_jw&_x_ns_gbraid=0AAAAAo4mICEH4SCL1tMKbhc03_CXOtM0k&_x_ns_targetid=pla-300644026984&refer_page_name=kuiper&refer_page_id=13554_1725850395344_3vh723m0ug&refer_pag
10:00 PM unreal: e_sn=13554&_x_sessn_id=x03dzw4yio
10:01 PM unreal: gaa
10:01 PM unreal: https://tinyurl.com/376evvfm
10:01 PM unreal: there it is
10:03 PM Tom_L: mrec, that's not a misprint? seems like alot for that small lathe
10:05 PM Tom_L: maybe 750w
10:05 PM xxcoder: 750kw would dim lights in shop as it powers up
10:05 PM xxcoder: or blow fuses
10:06 PM Tom_L: the makinos my kid runs are only 128kw (174hp) spindles
10:06 PM mrec: my shop couldn't run this lathe :D
10:06 PM mrec: it must be 750kW for sure no misprint, German Engineering
10:07 PM unreal: I have a nice mill and lathe from https://littlemachineshop.com/ though they are sitting at my "was" friends house who was supposd to be a business partner. now has turned into an enjoyer of my venture capital.
10:07 PM unreal: when I get past this BS with my dad, this house or a new house if I purchased a new one. I'm going to be collecting all of the tools I have sitting in his garage
10:07 PM unreal: a LOT of tools you guys will be wowed at
10:07 PM unreal: :/
10:08 PM unreal: sigh
10:08 PM Tom_L: the motor would be as big as the lathe if that's true
10:09 PM mrec: so small? I think even bigger
10:10 PM Tom_L: efficient :)
10:14 PM unreal: I have a few updated photos https://photos.app.goo.gl/ggAPhV6uwbvr4jLs8