#linuxcnc Logs
Sep 12 2022
#linuxcnc Calendar
01:26 AM randy: morning
03:46 AM XXCoder: test
03:46 AM xxcoder[m]: test
03:47 AM XXCoder: test
03:48 AM XXCoder: yay bridge finally works
03:50 AM pere: hi
03:58 AM XXCoder: hey
04:39 AM Deejay: moin
04:41 AM Tom_L: morning
04:42 AM travis_farmer[m]: G'Morning
04:47 AM JT-Cave: morning
04:48 AM XXCoder: heys. bridge is a-ok now
04:51 AM Tom_L: JT-Cave, you get my note about linuxcnc version not showing with arm64?
04:51 AM Tom_L: latency link worked though and mesaflash version showed
04:55 AM JT-Cave: no, I missed that
05:00 AM Tom_L: not sure why it would be on just that one
05:03 AM Tom_L: also, aparently the USB not working on buster 32bit is a known problem
05:09 AM JT-Cave: what does apt-cache policy linuxcnc-uspace print out?
05:38 AM pere: so, who here are interested in joining a linuxcnc gathering in norway?
06:33 AM Guest0: hallo everybody. yesterday i asked a Question about drilling pcb and positioning. Igot a hint for flatcam software. I installed it and converted a drl file to gcode. Works good.
06:34 AM Guest0: Is it possible to transform the drill coordinates?
06:35 AM Guest0: In case I havent placed the pcb Rectangular to the coordinate system.
06:37 AM JT-Cave: you can rotate the coordinate system about the Z axis
06:37 AM JT-Cave: Tom_L, just pushed an improved check for lcnc in mesact
06:40 AM Guest0: the rotation , is it done per project/ object or is this usually a general setting?
06:41 AM Guest0: in deutsch: wann benutzt man üblicherweise koordinaten rotation bei cnc
06:42 AM Tom_L: JT-Cave, i'll grab it later today
06:47 AM JT-Cave: ok
06:48 AM JT-Cave: Guest0, http://linuxcnc.org/docs/stable/html/gcode/g-code.html#gcode:g10-l2
06:58 AM Guest0: Do you know some document about cnc basics. Especially after removing your workpiece (Werstück) and recalibration after reentering it to your machine? Or is this a "no go"?
06:58 AM Guest0: typo Werkstück
07:02 AM Guest0: My usecase is etching a prototype board (pcb) and drill it afterword in diy cnc machine cnc3018. Finding th proper drill positions.
07:06 AM jpa-: Guest0: easiest is if you mark one corner & edge of material as reference edge, and have guide blocks on your CNC that you can align against
07:07 AM jpa-: ah, you are etching with photoresist instead of milling?
07:08 AM jpa-: then a webcam mounted on the CNC machine is quite useful for alignment
07:08 AM Guest0: exactly, most people mill, i only want drilling
07:10 AM Guest0: I can add so called fiducials on the pcb. that are controllpoints on the pcb.
07:10 AM jpa-: you can locate two alignment points with a webcam (or by trying to point the drillbit at the PCB locations), and then do some math to apply G10 L2 offset and rotation
07:11 AM Guest0: I thought i can go manually to the fiducial points. then transform the drill point and then start drilling
07:11 AM jpa-: yeah, if the accuracy that way is enough
07:11 AM jpa-: it is difficult to see by eye from the side the location of drill bit vs. fiducial to accuracy better than 0.5mm or so
07:13 AM Guest0: just as a start.. I have seen that with webcam and bCNC gcode sender. seems they can do already image processing, even with odd (schräge) projection angle
07:16 AM Guest0: is there any support in flatcam for the rotation calculation in flatcam software.
07:23 AM jpa-: there is options -> rotate
07:26 AM Guest0: I just looked at it. I can select all points and rotate them. At the moment I have to calculate the rotation angle by hand. At the moment my greatest difficulty is my lack of knowledge on the basic process of fitting in a workpiece.
07:28 AM Guest0: Is there a cnc chatgroup for such beginners like me? I got trouble to ask such stupid newbie questions here.
07:37 AM CloudEvil: There is no other group that is really ideal here.
07:40 AM Guest0: thanks at first for your help. I will test at the moment to get some practical experience. Maybe I reenter to precise my questions. Bye.
07:48 AM pere: <URL: https://yewtu.be/watch?v=nFT4texmPQU > was interesting.
10:03 AM RoboticsNut1189[: pere, that was really interesting, a ambitious project; quite impressed with this guy.
10:17 AM pere: RoboticsNut1189[: me too.
01:22 PM boozeman[m]: First "smoke" out of Mesa 7i96S. Can't get it to work today evening. My mistake is maybe the gateway set in network configuration. The card is alive, orange power lids and user leds blinks also. The card Discovery throws error. Followed some The Feral Engineer videos about this.
01:27 PM travis_farmer[m]: smoke out of a Mesa card? sounds like a miswiring somewhere. like a short-circuit, or voltage/ground on a pin that didn't want it.
01:28 PM boozeman[m]: haha no smoke occurred. just powered it at the first time.
01:28 PM CaptHindsight[m]: literal vs figurative smoke
01:28 PM travis_farmer[m]: oh, my misunderstanding, LOL
01:30 PM boozeman[m]: it responds ping both 192.168.121 and eeprom 10.10.10.10 but the discovery throws error
01:32 PM travis_farmer[m]: i wonder if it is the same problem i had with a non-compatible motherboard chipset... i could ping the card, but the minute i put a load on it (network-wise), it crapped out and stopped responding...
01:33 PM boozeman[m]: I will try again with Intel pcie network card tomorrow.
01:35 PM JT-Shop: boozeman[m], https://gnipsel.com/linuxcnc/debian-10-eth.html
01:35 PM boozeman[m]: The pc is rather old. Distro is Debian testing with LinuxCNC 2.9 and RT-kernel. This setup is just for testing. The original parallerport 4-axis foam cutter running it.
01:36 PM boozeman[m]: I will try that debian instructions tomorrow. Thanks for the link
01:37 PM JT-Shop: for old hardware you can install debian 10 and use 2.8 if you follow my instructions
01:37 PM JT-Shop: https://gnipsel.com/linuxcnc/index.html
01:38 PM JT-Shop: https://gnipsel.com/linuxcnc/debian-10-emc.html
01:39 PM * JT-Shop needs to get some parts made before chicken time
01:39 PM boozeman[m]: Yeah that Debian 12 Bookworm includes LinuxCNC 2.9 packages directly.
01:41 PM boozeman[m]: This machine is just for testing the mesa card. I got soon more modern machine for test.
01:50 PM pcw-home: what are you ping times? that usually gives a clue about network issues
01:50 PM travis_farmer[m]: my production computer is an older Dell PowerEdge R200. graphics are crap, but it seems stable. sometimes more modern isn't always what the RealTime kernel wants. and laptops only really work in a few situations.
01:50 PM pcw-home: PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
01:50 PM pcw-home: 64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.227 ms
01:50 PM pcw-home: 64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.120 ms
01:50 PM pcw-home: 64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.120 ms
01:50 PM pcw-home: 64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.121 ms
01:50 PM pcw-home: (first is longer because of ARP request/reply)
01:50 PM boozeman[m]: No lost packets and time is someqwhat the same readings. I have also HP ML350 G6 to test, but it needs working powersupply.
01:58 PM mrec: pcw-home: is that gigabit?
01:59 PM mrec: I'm getting around 300us here
01:59 PM mrec: direct connection
01:59 PM mrec: 00:07.0 Bridge: NVIDIA Corporation MCP61 Ethernet (rev a2)
02:04 PM pcw-home: Yeah, not great
02:04 PM pcw-home: that's with a Intel I217 Gbit (e1000e driver)
02:05 PM pcw-home: bbl
02:13 PM mrec: pcw-home: RTL8111E do you know that one?
02:30 PM * GTKplusplus6432[ uploaded an image: (1065KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/nJjpwOcPZXGLkcmoSybeAknP/rn_image_picker_lib_temp_886e1f87-c209-4339-8523-db60517b3cdc.jpg >
02:30 PM GTKplusplus6432[: Is this... You know, normal?
02:30 PM GTKplusplus6432[: Dro and modal list think I'm working in g56 after reading a g55 line and actually working in g55
02:31 PM mrec: pcw-home: in hm2_eth.c if the connection fails the socket will not be closed
02:32 PM mrec: int ret = shutdown(board->sockfd, SHUT_RDWR);
02:32 PM mrec: if (ret < 0)
02:32 PM mrec: LL_PRINT("ERROR: can't close socket: %s\n", strerror(errno));
02:32 PM mrec: I'm not aware that shutdown will close the socket
02:34 PM mrec: I'm trying to implement a driver for the de2-115 which I have here and take it as template, for connecting my encoder via ethernet
02:40 PM mrec: GTKplusplus6432[: this is not normal
02:42 PM GTKplusplus6432[: Good to know
02:42 PM GTKplusplus6432[: It's working perfectly fine, but it just has that weird issue
02:42 PM GTKplusplus6432[: My gmocappy for some reason is absolutely terrible at telling me the proper modals
02:44 PM mrec: I'm just using axis
03:11 PM JT-Cave: 07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
03:11 PM JT-Cave: john@cave:~$ ping 10.10.10.10
03:11 PM JT-Cave: PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
03:11 PM JT-Cave: 64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.116 ms
03:11 PM JT-Cave: 64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.079 ms
03:11 PM JT-Cave: 64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.081 ms
03:11 PM JT-Cave: 64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.079 ms
03:11 PM JT-Cave: 64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.079 ms
03:11 PM JT-Cave: 64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.083 ms
03:11 PM Tom_L: JT-Cave, building debs
03:12 PM mrec: nice I ordered one
03:12 PM JT-Cave: still get hm2/hm2_7i96.0: error finishing read!
03:12 PM JT-Cave: iter=187399
03:12 PM JT-Cave: Tom_L, thanks
03:12 PM * JT-Cave goes back to making chips
03:12 PM mrec: JT-Cave: JT-Cave is this a 7i96s?
03:14 PM JT-Shop: no, the 7i96s is on the other pc in the cave and the rest are in the 7i96s box
03:15 PM JT-Shop: and both are running 2.9 so I need to test the test pc with 2.8
03:15 PM Tom_L: i should set the eth0 up on all these rpi imgs
03:18 PM roguish[m]: JT-Shop: what's up with all the pinging?
03:18 PM Tom_L: connection test to the mesa cards
03:19 PM roguish[m]: should I do mine?
03:19 PM roguish[m]: ya keeping records
03:19 PM Tom_L: does it work?
03:19 PM roguish[m]: ?
03:19 PM Tom_L: no i think somebody may have been having issues
03:19 PM roguish[m]: so far.
03:19 PM Tom_L: we're just testing ours for braggin rights :)
03:20 PM roguish[m]: okir fokir
03:20 PM JT-Shop: not when you get error finishing read
03:20 PM roguish[m]: okie dokie.............fat fingers
03:21 PM Tom_L: why would this be showing docker0 on my ethernet connections?
03:21 PM Tom_L: never seen that one before
03:21 PM roguish[m]: only problem I see is that sometimes when jogging, the axis will sort of studder a bit.
03:21 PM roguish[m]: but no studder when running gcode, yet
03:30 PM -!- #linuxcnc mode set to +v by ChanServ
03:31 PM JT-Shop: hmm, I seem to have a bug in the gcode save settings
03:33 PM Tom_L: should i wait?
03:33 PM Tom_L: just finished one build...
03:34 PM Tom_L: odd thing on bookworm.. my 10.10.10.1 shows up as docker0 at some 172. addr
03:35 PM Tom_dev: ping 10.10.10.10
03:35 PM Tom_dev: PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
03:35 PM Tom_dev: 64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.200 ms
03:35 PM Tom_dev: 64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.217 ms
03:35 PM Tom_dev: 64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.212 ms
03:35 PM Tom_L: works though
03:59 PM Tom_L: JT-Cave, new debs uploaded
04:04 PM JT-Shop: ok thanks
04:06 PM mrec: Tom_L: which ethernet card? or raspberry pi?
04:09 PM Tom_L: iirc mine are realtek
04:18 PM -!- #linuxcnc mode set to +v by ChanServ
04:18 PM Tom_shop: mrec, rpi:
04:18 PM Tom_shop: ping 10.10.10.1
04:18 PM Tom_shop: PING 10.10.10.1 (10.10.10.1) 56(84) bytes of data.
04:18 PM Tom_shop: 64 bytes from 10.10.10.1: icmp_seq=1 ttl=64 time=0.150 ms
04:18 PM Tom_shop: 64 bytes from 10.10.10.1: icmp_seq=2 ttl=64 time=0.131 ms
04:18 PM Tom_shop: 64 bytes from 10.10.10.1: icmp_seq=3 ttl=64 time=0.118 ms
04:22 PM JT-Shop: time to quit working for the day... finish the parts tomorrow
04:23 PM roguish[m]: ok, pinged my 7i80
04:23 PM roguish[m]: 1st was about 230, rest were under 150
04:24 PM Tom_dev: funny i can ping the 7i96s on the rpi but mesaflash says no device found
04:46 PM JT-Shop22: what --device= did you use?
04:47 PM JT-Shop22 is now known as JT-Shop2
05:00 PM Tom_L: 7i96s same as on the main pc
05:01 PM JT-Shop2: did you build and install mesaflash on the rpi?
05:02 PM Tom_L: yeah 3.4.3
05:02 PM Tom_L: gonna test again
05:02 PM JT-Shop2: hmm, I've never tried mesaflash on the rpi
05:03 PM Tom_L: i have
05:03 PM Tom_L: generally ok
05:03 PM JT-Shop2: :)
05:06 PM Tom_L: on bookworm
05:07 PM Tom_L: i may have found the culprit
05:09 PM JT-Shop2: what?
05:09 PM Tom_L: or maybe not
05:10 PM Tom_L: wrong device name in config but still seems broke
05:10 PM Tom_L: s/config/interfaces
05:11 PM Tom_L: restarted and it's working now
05:11 PM Tom_L: most of my problems are usually self inflicted
05:12 PM Tom_L: yeah 7i92 & 7i96s both work
05:13 PM Tom_L: i have a thumbdrive with config files etc on it and i just forgot to edit after copying it
05:16 PM JT-Shop2: lol
05:16 PM JT-Shop2: most of my problems are self inflicted as well
05:17 PM Tom_L: starts getting confusing when you have half dozen ssd & another half dozen SD with different setups on each
05:18 PM Tom_L: oh
05:18 PM Tom_L: any way to trim the 2.9.0~pre0ldk;sjf;lasdkjf;alskj down a bit?
05:18 PM Tom_L: maybe not..
05:19 PM Tom_L: maybe search the string for pre and trim it there
05:20 PM Tom_L: i doubt anybody is gonna care what's beyond the 2.9.0 descriptor anyway
05:21 PM JT-Shop2: yep that's on my list for the morning to trim the version
05:22 PM JT-Shop2: actually it's 2.9.0~pre+ so I'll split at the +
05:22 PM JT-Shop2: I noticed that this morning just as I was starting my chicken day
05:23 PM Tom_L: or count characters or such because the version _will_ change
05:24 PM Tom_L: you pushed something after i uploaded anyway i think
05:25 PM JT-Shop2: what you do is if '+' in string: remove everything after e
05:25 PM Tom_L: as long as they stick with that naming convention
05:27 PM Tom_L: yep, i used to do all sorts of crazy stuff like that
05:27 PM Tom_L: different languages though
05:27 PM Tom_L: does python let you search from the end of a string as well as the beginning?
05:28 PM JT-Shop2: it's prob pretty safe to just do v = '2.9.0~pre+lajgljahg'
05:28 PM JT-Shop2: >>> if '+' in v:
05:28 PM JT-Shop2: ... v[:9]
05:28 PM JT-Shop2: ...
05:28 PM JT-Shop2: '2.9.0~pre'
05:28 PM JT-Shop2: yep you can do a lot of string ops in python
05:29 PM Tom_L: i wish i knew it, there's alot of things i could do
05:31 PM JT-Shop2: it grows on you :)
05:31 PM JT-Shop2: the only way I learned a programming language is from needing something
05:31 PM Tom_L: i never learned oops etc
05:31 PM JT-Shop2: don't need to worry about that
05:31 PM Tom_L: i started dabbling in it a bit
05:32 PM Tom_L: then there's knowing all the python libs etc and where things are
05:32 PM Tom_L: i used to build my own libs for some things
05:32 PM Tom_L: doubt i'd remember how now
05:33 PM JT-Shop2: if you want a GUI then PyQt5 is an easy way to build that
05:33 PM Tom_L: generate a bunch of objs and stuff em in a lib
05:33 PM JT-Shop2: in C?
05:33 PM Tom_L: c or clipper
05:33 PM Tom_L: i did mostly clipper and some c and asm
05:33 PM Tom_L: it had hooks for both
05:33 PM JT-Shop2: https://github.com/jethornton/PyQt5
05:34 PM JT-Shop2: I still have the Peter North asm book somewhere
05:34 PM Tom_L: same here
05:34 PM Tom_L: several asm books
05:35 PM JT-Shop2: if you want to dabble in python and pyqt5 I can help
05:35 PM Tom_L: have the c book on pdf
05:35 PM Tom_L: not enough time really
05:35 PM JT-Shop2: k
05:41 PM Tom_L: ahh found it..
05:42 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/avr/c_bits/K&R_C_2nd.pdf
05:42 PM ve7it: hey
05:43 PM Tom_L: straw
05:43 PM XXCoder: horses
05:43 PM JT-Shop2: chickens
05:44 PM Tom_L: took the 2 & 4yr old nieces to the fair today
05:44 PM Tom_L: 1st time riding ponies
05:44 PM JT-Shop2: bet they had a blast
05:44 PM Tom_L: they fell in love feeding the camels though
05:44 PM Tom_L: now i'm supposed to buy them a camel
05:45 PM JT-Shop2: filter or non-filter?
05:45 PM Tom_L: hah
05:47 PM Tom_L: i'm not sure where to search for preempt-rt for the rpi
05:47 PM Tom_L: i built one for bookworm but turns out not to be rt
05:48 PM Tom_L: last realtime i saw was something around 4.19
05:48 PM Tom_L: this takes 5.15 or thereabouts
05:51 PM JT-Shop: https://jethornton.github.io/simple-pyqt5-deb/
05:52 PM Tom_L: was your rpi image buster?
05:52 PM Tom_L: don't update it if it is
05:52 PM Tom_L: USB will quit
05:53 PM JT-Shop: I just d/l the latest one to make sure my hw worked
05:53 PM Tom_L: you can get images for buster bullseye and bookworm
06:02 PM * JT-Shop calls it a night
06:37 PM skunkworks: the neighbor has an apple tree - this is the first year it has had apples (that I have noticed) and they are huge and red and really good.
06:37 PM XXCoder: it may have finally matured
08:36 PM firephoto__ is now known as firephoto_
09:18 PM Centurion_Dan1 is now known as Centurion_Dan