#linuxcnc Logs

Sep 26 2024

#linuxcnc Calendar

12:25 AM lcnc-relay: <meisterdippel> moin
12:56 AM lcnc-relay: <captainhindsight_.> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/NnguSCKBKcmuDaOzVXLYvFGT/VID_20240926_002704.mp4
12:56 AM lcnc-relay: <captainhindsight_.> Funtime job today
12:57 AM xxcoder: fine dining today!
01:02 AM Deejay: moin
01:32 AM lcnc-relay: <Travis Farmer> Morning
01:52 AM BorgPipe_ is now known as NetPipe
03:05 AM lcnc-relay: <Travis Farmer> JT: likely barking up the wrong tree again: https://www.w3schools.com/python/ref_file_close.asp
03:05 AM lcnc-relay: all your file opens for reads (your writes all seem to use with), need closure.
03:05 AM lcnc-relay: sorry to be a PITA, just trying to help 🙂
03:05 AM lcnc-relay: perhaps when you write to the files later, garbage collection closes the read files, but dumps garbage into them... i really don't know, just trying to help.
03:27 AM lcnc-relay: <meisterdippel> in which file ?
03:27 AM lcnc-relay: <Travis Farmer> trying to find the example i found earlier... maybe i was wrong... as i can't find it now...
03:30 AM lcnc-relay: <Travis Farmer> i hope this is not a bug in the current version of LinuxCNC, as that could take a LONG time to find, if so...
03:40 AM lcnc-relay: <meisterdippel> this line is fine, no problem
04:06 AM JT-Cave: morning
04:43 AM Tom_L: morning
04:44 AM Tom_L: JT-Cave, PR #94
04:44 AM JT-Cave: got it already
04:45 AM Tom_L: k
04:45 AM Tom_L: hopefully they're ready
05:23 AM JT-Cave: interesting I have 13 items in my mdi history but I have 4 times that in the mdi list...
05:36 AM JT-Cave: https://github.com/jethornton/flexgui/commit/4f86edc7e84ad1024b44aab5fd20696e0abfde66
05:37 AM JT-Cave: interesting bug...
05:37 AM JT-Cave: Tom_L, ^^^^
06:24 AM Tom_L: huh
06:24 AM Tom_L: so you think that got it?
06:25 AM JT-Cave: the mdi history bug absolutely got that
06:25 AM JT-Cave: indentation error
06:25 AM JT-Cave: was loading 4x each time you start
06:25 AM Tom_L: python is kinda picky that way
06:26 AM JT-Cave: rename the probe enable button to anything and run flex
06:27 AM Tom_L: i will later
06:29 AM JT-Cave: hmm 59°F and clear... must be bike riding day
06:34 AM Tom_L: what does renaming it do?
06:34 AM JT-Cave: try and see :)
06:34 AM Tom_L: i need the update first i assume
06:34 AM JT-Cave: yup
06:38 AM Tom_L: it's not building
06:38 AM JT-Cave: hmm both rotors left Mechanicsville Va at the same time but one is arriving today and one tomorrow and another package Saturday
06:39 AM JT-Cave: why
06:39 AM JT-Cave: ?
06:39 AM Tom_L: no idea
06:39 AM JT-Cave: the deb builds here
06:41 AM -!- #linuxcnc mode set to +v by ChanServ
06:41 AM Tom_dev: sudo gdebi /home/tom/flexgui_0.9.9_amd64.deb
06:41 AM Tom_dev: [sudo] password for tom:
06:41 AM Tom_dev: Reading package lists... Done
06:41 AM Tom_dev: Building dependency tree... Done
06:41 AM Tom_dev: Reading state information... Done
06:41 AM Tom_dev: Reading state information... Done
06:41 AM Tom_dev: This package is uninstallable
06:41 AM Tom_dev: Failed to satisfy all dependencies (broken cache)
06:44 AM Tom_L: no clue
06:46 AM Tom_L: tried from your repo too
06:47 AM JT-Cave: right click on the deb and use the gui gdebi
06:47 AM JT-Cave: it should tell you the problem
06:48 AM JT-Cave: broken cache sounds like a local apt problem
06:49 AM JT-Cave: https://askubuntu.com/questions/118749/package-system-is-broken-how-to-fix-it
06:51 AM -!- #linuxcnc mode set to +v by ChanServ
06:51 AM Tom_dev: libgpiod2 libgtksourceview-4-dev
06:53 AM Tom_dev: cute
06:57 AM JT-Cave: wtf are they for?
06:59 AM Tom_L: you tell me
06:59 AM JT-Cave: their not part of flex
07:00 AM Tom_L: i did a -f and that's what i got and it builds now
07:03 AM Tom_L: if you test those, make sure you set the bar size a fair bit bigger than the bar
07:04 AM Tom_L: iirc i defaulted to 1.25"r
07:04 AM Tom_L: or 30mm
07:06 AM Tom_L: when it starts it doesn't know if it's off center
07:06 AM JT-Cave: what else can I break before going for a cool ride?
07:07 AM Tom_L: go take a ride.. my brain hurts
07:07 AM JT-Cave: lol
07:07 AM Tom_L: i'm headin out anyway
07:14 AM Tom_L: 57F
07:48 AM rdtsc-wk: fall is finally coming
08:12 AM lcnc-relay: <Travis Farmer> Geez, i fall asleep and the world gets solved...
08:17 AM lcnc-relay: <skunkworks8841> Isn't that the best?
08:18 AM lcnc-relay: <Travis Farmer> no, i like to be part of the action, sometimes...
09:14 AM rdtsc-wk: just thinking out loud, perhaps utilities.py line 72 `update_mdi(parent)` <-- parent is causing a recursion? Dunno, just looking for what could cause it
09:26 AM lcnc-relay: <Travis Farmer> i think it was the indentation error JT found. it caused the file open statement to run within the previous for statement, rather than just once
09:56 AM JT-Shop: rdtsc-wk, it was in the setup_probe function in startup.py
09:56 AM JT-Shop: the part that loaded the list widget with the contents was indented one too many so the for loop above caused it to load 4 times
09:57 AM JT-Shop: doesn't take long when you multiply by 4 each time you start flex to have a huge mdi history file
10:26 AM rdtsc-wk: kinda like the "which would you rather have: $20,000 cash or a penny that doubled ever day for a month?" ;)
10:31 AM JT-Shop: yup
10:34 AM roycroft: it seems that about 98% of people have zero understanding of exponential growth
10:35 AM roycroft: or basically anything remotely mathematical that goes beyond adding two single digits
11:39 AM lcnc-relay: <skunkworks8841> it is like the folding the sheet of paper problem.. How many times before it reaches the moon
11:39 AM lcnc-relay: <skunkworks8841> it is like 40 something
11:43 AM lcnc-relay: <skunkworks8841> lol.. and the x wife says - you can't fold a peice of paper that many times.. You are right. That is not the point.
11:50 AM lcnc-relay: <Travis Farmer> i have a doc appointment all the way down in Augusta this afternoon, don't know if i will be able to get out to my shop after that or not. long distance appointments suck... they waste so much time out of the day, just traveling...
11:51 AM roycroft: it depends on how bit the piece of paper is, and how good you are at folding :)
11:52 AM Tom_L: JT-Shop, i'm still curious why you made me load those extra libs :)
11:53 AM Tom_L: it was probably some hacker that needed me to load em
12:40 PM lcnc-relay: <Travis Farmer> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/EbbSSoTtChYuyxrszejZqYSz/flexgui.png
12:40 PM lcnc-relay: <Travis Farmer> noticed the about dialog is out of date for FlexGUI...
12:50 PM Tom_L: JT-Shop, PR #95 deb
12:52 PM Tom_L: rdtsc-wk, posted debs just now
01:17 PM lcnc-relay: <JT> Tom_L ok
01:18 PM lcnc-relay: <JT> Is that my new flex logo
01:18 PM Tom_L: kinda matches the other one
01:18 PM rdtsc-wk: cool ty, will get 'er tonight
01:18 PM Tom_L: i personally think it should have a probe in the spindle :D
01:19 PM lcnc-relay: <JT> Yup and a plotter
01:19 PM Tom_L: i'm no graphic artist
01:20 PM Tom_L: i did quite a few photos when the mrs was doing that
01:20 PM lcnc-relay: <JT> Me neither
01:20 PM rdtsc-wk: If somone could get a good base photo of the probe in action, could whip something up
01:20 PM Tom_L: still have all the photoshop, lightroom etc etc somewhere
01:20 PM rdtsc-wk: Brand identification time ... logo? :)
01:21 PM Tom_L: it should definitely be the most expensive renishaw on the market
01:21 PM rdtsc-wk: intact or badly broken? heheh
01:26 PM Tom_L: https://www.renishaw.com/media/img/gen/b75615a97b06433ea09ad68e3b9666d5.jpg
01:26 PM Tom_L: renishaw might not appreciate it
01:35 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/ykPVSEepRJTlsHGwmXCihwRW/IMG_20210214_104221.jpg
02:07 PM rdtsc-wk: Could we even use that Renishaw image without asking first?
02:11 PM lcnc-relay: <JT> Don't get me in trouble lol
02:11 PM lcnc-relay: <skunkworks8841> I have a renishaw probe I could throw in the green machine and take a picture
02:15 PM rdtsc-wk: thinking there needs to be room for linuxcnc logo and text... and then a font choice... https://fonts.google.com/?preview.text=Flex%20GUI
02:46 PM lcnc-relay: <skunkworks8841> that isn't a probe... lol
02:47 PM lcnc-relay: <skunkworks8841> I grilled a couple steaks last week.. I haven't done that in ages.. They were good.
03:29 PM lcnc-relay: <Travis Farmer> Back from my appointment... i see my logo candidate generated some discussion 🙂 and yes, it is just based off the MesaCT logo.
03:29 PM lcnc-relay: here is a thought, make up a Flex GUI example you like, screen cap it, and in place of the plot window, cut it out and make transparent, then underlay your favorite probe image, or whatever, so it shows through the plot... just an idea 🙂
03:51 PM javabean_ is now known as JavaBean
04:03 PM lcnc-relay: <Travis Farmer> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/baJQSNYDlFaMWtzGRFaBCoSy/flex_gui001.png
04:03 PM lcnc-relay: <Travis Farmer> another option, i can place any image through the FlexGUI text 🙂 this is some Gcode turned 90deg on it's side... i can also make the image larger... just an example of what i just learned how to do with photoshop 🙂
04:04 PM lcnc-relay: <Travis Farmer> that is just an old screenshot of my variation of flex, as an example only
04:06 PM lcnc-relay: <Travis Farmer> anyway, going out to eat for supper tonight, gotta run in a bit
04:36 PM Unterhaus_ is now known as Unterhausen
04:37 PM Unterhausen: might finally get to test the work I did on the gutters
04:39 PM -!- #linuxcnc mode set to +v by ChanServ
05:17 PM Tom_L: JT-Shop, found tips for that probe
06:05 PM JT-Shop: cool
06:14 PM JT-Shop: hmm the front wheels are off and the rear rotors showed up today...
06:22 PM Tom_L: sounds like a busy weekend
06:43 PM rdtsc: Interested to see what you come up with Travis.
06:43 PM Tom_L: you can call a subroutine from another one can't you?
06:44 PM Tom_L: 2 separate files...
08:13 PM rdtsc: think you can call the subroutine from the other file if it is imported at the top, i.e. from libflexgui import dialogs <-- has the function you want to call
08:20 PM rdtsc: so if you were in foo.py and you wanted to call bar() from baz.py (part of libflexgui), foo.py would have 'from libflexgui import bar' at the top, then bar() should work there.
08:23 PM rdtsc: err from libflexgui import baz -- exhausted here
08:23 PM rdtsc is now known as rdtsc_away
08:31 PM Tom_L: i don't think i'll need to now
08:35 PM Tom_L: started working on distance between
09:13 PM lcnc-relay: <chrish_61931> Hi. I'm trying to find help with a Probe Basic tool setter question. Am I anywhere near the right place?
09:17 PM xxcoder: hi! yeah though may be quiet for a bit
09:19 PM Tom_L: here or what's the matrix/discord room?
09:20 PM lcnc-relay: <chrish_61931> Are there PB users or devs on here? Should I post here, or a different channel? Haven't used discord before. My last linuxcnc chat was on IRC, lol.
09:20 PM Tom_L: there is a probe basic room on discord iirc
09:20 PM Tom_L: but alot of them are here too
09:20 PM lcnc-relay: <zincboy_ca_on> The qtpyvcp is the probe basic channel
09:21 PM lcnc-relay: <chrish_61931> OK. Thanks much. I'll jump there.