#linuxcnc Logs
Jan 30 2024
#linuxcnc Calendar
01:46 AM Deejay: moin
03:29 AM NoSpark: pcw--home: thanks for answering "Does anyone know if I can run 2 MESA ethernet cards on one host ethernet port?"
04:22 AM JT-Cave: morning
04:23 AM JT-Cave: Freezing Fog 31°F
04:28 AM Tom_L: morning
04:29 AM Tom_L: 41F / 60F
04:30 AM Tom_L: JT-Cave, do i need to install some packages for jet to work?
04:32 AM JT-Cave: hmm let me look
04:33 AM Tom_L: https://www.gnipsel.com/linuxcnc/jet/install.html
04:33 AM JT-Cave: does gdebi install it?
04:33 AM Tom_L: i tried on the mill pc and i get the manualtoolchange box but then nothing after that
04:33 AM Tom_L: gdebi installs ok it appears
04:34 AM Tom_L: running 2.9.2 with debian 12 RTAI out there
04:36 AM JT-Cave: run from a terminal and see what it says
04:36 AM Tom_L: ok, i'll try that later today
04:39 AM Tom_L: is there a way to set tool length offsets yet?
04:40 AM Tom_L: i usually mdi thru the tool list and set those ahead of running the program
04:42 AM JT-Cave: mdi works
10:13 AM Roguish: Good morning. mostly clear, a few high clouds. low 05's now. forecast upper 60's. Rain late tonight.
10:13 AM Roguish: rain through the weekend.
10:21 AM roycroft: rain through june here :)
10:49 AM Unterhausen: 10 day forecast shows little chance of precip, but I'm wondering how the storm that's just entering Ohio is going to miss us
11:04 AM roycroft: we may actually get some sunny breaks this coming weekend
11:10 AM lcnc-relay: <JT (@jt-shop:matrix.org)> G code parser for the ploter. I'm thinking if g in line and it's one of g0 1 2 3 then get the coordinates
11:11 AM lcnc-relay: <JT (@jt-shop:matrix.org)> If the line has axis letters and the current g code is still enabled get the coordinates
11:12 AM lcnc-relay: <JT (@jt-shop:matrix.org)> As far as I can see no m code has asix letters
11:13 AM lcnc-relay: <JT (@jt-shop:matrix.org)> If g in the line and not one of g0 1 2 3 the current geode is false
11:15 AM Gothia1 is now known as Gothia
11:25 AM rene-dev8 is now known as rene-dev
11:26 AM roycroft: this is a very non-critical application
11:27 AM roycroft: i need to attach a hand wheel to a shaft
11:27 AM Rab: And it's possible that the shafting I modified was harder, and less prone to burrs.
11:27 AM roycroft: i have the correct size end mill already
11:27 AM roycroft: i do not have the keyway cutter
11:28 AM roycroft: and odd as it may seem, i'm not looking for an excuse to buy more tooling
11:28 AM Roguish: roycroft, I hate keyways and keys. I use clamp style connectors almost exclusively.
11:28 AM Roguish: but I have cut keyways with endmills. no problems
11:30 AM roycroft: i need to buy a drill for this already, so maybe i'll stick with that purchase as the new tooling for the project, and cut the keyway with an end mill
11:30 AM Rab: I would also think that even a tiny issue with runout or rigidity could affect the sidewall surface finish such that the slot might need to be slightly oversize for the key to fit. The keyseat cutter is good at cutting a smooth, linear channel.
11:31 AM roycroft: i already ordered an er32 collet block set for the project, so i guess there are two new tools for it
11:31 AM roycroft: thanks
11:31 AM Rab: IIRC I've also cut a keyseat with a carbide slitting saw and many light passes, although that could go wrong in various ways.
11:32 AM roycroft: some folks cut them on the lathe, moving the carriage manually with the lathe powered off
11:32 AM roycroft: that seems like a lot of work
11:33 AM roycroft: and is better suited to cutting the keyway in the bore, not on the shaft
11:33 AM Rab: I don't know if it's rocket science for a handwheel. If there's a surface finish issue in the slot you could just file it. I wanted a close slip fit.
11:33 AM roycroft: i have the correct size broach for the bore keyway, though
11:34 AM Rab: You can do that with the quill of the mill, too.
11:35 AM roycroft: yeah
11:35 AM Rab: But I guess the spindle needs to be kept from turning somehow.
11:35 AM roycroft: i think an end mill will be fine
11:36 AM Rab: I have definitely seen milled keyways, so it's up to your equipment.
11:42 AM roycroft: this project is my female wood threading tool
11:43 AM roycroft: so i'm buying tools to make a tool
12:23 PM lcnc-relay: <JT (@jt-shop:matrix.org)> A milled keyslot ends with a radius, using a key cutter ends in a ramp
12:25 PM lcnc-relay: <JT (@jt-shop:matrix.org)> You could also mount the wheel on the shaft and drill a hole and use a dowel to fasten them together
12:27 PM Roguish: or a spring pin
12:28 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Yup
12:28 PM roycroft: yes, i use roll pins regularly
12:28 PM roycroft: i want the wheel to be easily removable though
12:28 PM roycroft: and a keyed shaft with a bolt in the end to hold the wheel in place is more easily removable than a roll pin
12:28 PM Roguish: what ever floats your boat
12:29 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Set screw and dowel
12:29 PM roycroft: regarding radius vs ramp, the ramp would probably be a bit stronger, but in this application it won't matter
12:30 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Ramp is harder to fit the kew
12:30 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Key
12:40 PM roycroft: maybe some day i'll order a keyway cutter set
12:41 PM roycroft: in the meantime i'll just use end mills when i need to cut keyway slots
12:44 PM lcnc-relay: <roguish> I always cut keyways very slowly and carefully, and custom fit to the particular key stock
12:46 PM roycroft: yeah, i only have the one to do, and i'll take it slow
12:46 PM lcnc-relay: <JT (@jt-shop:matrix.org)> To be clear the pin hole is parallel to the shaft
12:46 PM lcnc-relay: <roguish> JT: what do ya think of one of these??? https://www.ebay.com/itm/165600950076?epid=28057720824&hash=item268e95f73c:g:7KMAAOSwMEZi43Jr&amdata=enc%3AAQAIAAAAwOKKfs4mbBLgtkUHHqVBcWE5axaZEYiO7tkJxtei9p3
12:46 PM lcnc-relay: <roguish> 0PpDX1fqb1FymN2MAZUPJW2%2FhbGSPDUgGw1I6DseI6NfQ6uoYrqGmLNsIDO277WQdt4ygnG9drNYTwWkm2wtsyql974SwErK2%2FBaSOYigakfGps2C%2F6HSIYJuzf7C8RaUym4Vb1BwKPvPjbsgN7Js9iiXhXSdpyue2BDCyzfqj%2Boqk%2BtOokBNb%2FVKxmK
12:46 PM lcnc-relay: <roguish> SaAHw4Vt6YxqSXu6TLnXnTBLYaA%3D%3D%7Ctkp%3ABk9SR-LQhrurYw
12:47 PM roycroft: pretty spammy link :)
12:47 PM lcnc-relay: <roguish> decent or not?
12:47 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Link too long
12:47 PM roycroft: vevor seem to make everything now
12:48 PM roycroft: or brand everything, at least
12:48 PM lcnc-relay: <roguish> ok, same item. shortere link https://www.amazon.com/Mophorn-Bench-Clamp-Precision-Clamping/dp/B07KP5LH5Y/ref=sr_1_18?crid=6LEIXVG3Y2V8&keywords=vevor+vise&qid=1706640434&sprefix=vevor+vise%2Caps%2
12:48 PM lcnc-relay: <roguish> C168&sr=8-18
12:48 PM lcnc-relay: <JT (@jt-shop:matrix.org)> So you still need a screw and washer in the center of the shaft to hold the handwheel on
12:48 PM roycroft: right
12:48 PM roycroft: that's what i'm planning on
12:49 PM roycroft: a keyway to transfer power from the handwheel to the shaft, and a washer and screw to hold the handwheel onto the shaft
12:49 PM lcnc-relay: <JT (@jt-shop:matrix.org)> The key can be round
12:49 PM roycroft: sure
12:50 PM roycroft: i could get all fancy and use a woodruff key as well
12:51 PM roycroft: but i have the broach already, and i have the end mill
12:51 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Now you need a key cutter
01:01 PM roycroft: i think i don't, based on discussion here today
01:03 PM roycroft: and come to think of it, this shaft will have a rather large shoulder, so an end mill will probably be better - it will let me slot much closer to the shoulder than a key cutter would
01:04 PM roycroft: the shaft will be 5/8" in diameter, and the shoulder 1.2", so a really big shoulder
01:04 PM roycroft: a 3/4" diameter key cutter would have to stay pretty far away to avoid cutting into the shoulder
01:43 PM Tom_L: roycroft, an endmill will tend to pull one way causing it to go off center slightly
01:43 PM Tom_L: unless you have a very rigid machine
01:44 PM Tom_L: maybe not enough to matter
01:44 PM XXCoder: probably best to make smaller slot then use it to clean up sides.
01:44 PM Tom_L: i got a keyseat cutter with an undercut neck
01:44 PM XXCoder: less sideload and more accurate
01:45 PM Tom_L: unfortunately most standard slots are the same dimensions as standard endmills
01:45 PM XXCoder: cn go one size down I guess
01:48 PM Tom_L: Roguish, i got my 4" vise from shars
01:48 PM Tom_L: been pretty happy with it
02:02 PM roycroft: i need a 3/16" keyway, and i was planning on using a 5/32" end mill and doing exactly what you suggested, xxcoder
02:02 PM roycroft: and i do not have a very rigid machine
02:03 PM roycroft: and again, this is for a hand wheel, not a high torque motor-driven sheave
02:03 PM XXCoder: yeah
02:04 PM roycroft: i could probably stick the wheel on the shaft with red loc-tite and it would work for a while just fine
02:05 PM roycroft: (not that i would actually ever do that - i am not remotely related to red green)
02:05 PM XXCoder: lol indeed
02:06 PM Roguish: Tom_L, thanks. I already have a 6" kurt, and an ancient 6" bridgeport. just a bit too big for my small mill.
02:07 PM Tom_L: took me a while to find a decent 4"
02:08 PM Tom_L: the one you linked is quite a bit cheaper
02:10 PM roycroft: all those chinese vises are more casting kits than finished tools
02:11 PM roycroft: some require more cleaning up than others
02:11 PM roycroft: but i think just about any of them can be made to work well, as long as there are not voids or cracks in the castings
02:13 PM Tom_L: https://www.shars.com/4-440v-cnc-milling-machine-vise-0-0004
02:14 PM roycroft: i still don't like shars, although they are one of the higher-quality chinese importers
02:14 PM XXCoder: if one owned a grinder, all vises can be good precise vises, assuming kit is good enough to behin with
02:14 PM Tom_L: for my purpose i didn't need a $600 vise
02:14 PM XXCoder: or has a grinder friend
02:15 PM roycroft: my 4" vise was in the $100 range
02:15 PM roycroft: and it works fine for what i do
02:15 PM roycroft: after some tuning-up
02:16 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Assembly/Final/Vise_parts/Speedhandle2.jpg
02:16 PM Rab: Somebody cut one of the cheap milling vises open a few years ago, and the quality of the casting wasn't encouraging.
02:16 PM Tom_L: best thing i ever made for it
02:16 PM * roycroft never made a speed handle, but keeps meaning to
02:16 PM XXCoder: I can use regular handle as speed handle so never needed it
02:17 PM Tom_L: the shaft corners are 'gouged' out a bit so i didn't have to file from the cutter radius
02:19 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Assembly/Final/Vise_parts/Softjaws1.jpg
02:19 PM Tom_L: 2nd best thing i made for it
02:30 PM roycroft: that reminds me of one of my big peeves with the shaper origin crowd
02:30 PM roycroft: they seem, now that they have a hand-operated cnc machine, to be allergic to hand tools
02:31 PM roycroft: so whenever they design something with a sharp inside corner they drill a big hole at the corner to avoid having to take a chisel to clean it up, and they call it a "design feature"
02:31 PM roycroft: it's 100% of the time as ugly as sin, and just lazy on their part
02:32 PM roycroft: your speed handle socket is not like that at all, tom_l, but it addresses the same problem
02:32 PM roycroft: it just does so in a more elegant way
02:40 PM -!- #linuxcnc mode set to +v by ChanServ
02:41 PM Tom_dev: JT-Cave1, what do you make of this? http://paste.debian.net/1305811/
02:41 PM Tom_L: with DISPLAY=jet
02:41 PM Tom_L: emc not running
02:43 PM Tom_L: it's the same as an axis dump up to line 88
02:44 PM Tom_L: 89
02:59 PM Roguish: finally just hitting 70 here
03:37 PM -!- #linuxcnc mode set to +v by ChanServ
03:40 PM JT-Cave: Tom_L, emcTaskOnce: no Python Task() instance available, using default iocontrol-based task methods
03:41 PM JT-Cave: roycroft, I assumed you didn't have a broach, but having a broach, bushing and shims that 'is' the easy way
03:42 PM JT-Cave: Tom_L, is that on a rpi?
03:51 PM roycroft: yeah, i don't have many broaches, but i do have one that will work for this application
03:51 PM roycroft: the wheel actually has a keyway in it already
03:52 PM roycroft: but the bore is 12mm, and i'm enlarging the bore to 5/8", because it's going on a much larger shaft than it was originally fitted to
03:53 PM Tom_L: JT-Cave, no that's trying to run jet on the mill
03:55 PM -!- #linuxcnc mode set to +v by ChanServ
03:55 PM JT-Shop: you're running rtai on the mill?
03:55 PM Tom_L: yes
03:56 PM JT-Shop: I'll have to install that on a ssd down in the cave and have a look
03:56 PM JT-Shop: I don't think I've told debian what libraries are required
03:57 PM JT-Shop: hmm axis runs on it ok?
03:58 PM Tom_L: yes
04:00 PM Tom_L: it's the new RTAI on the DL page
04:00 PM Tom_L: takes all 3 files
04:06 PM -!- #linuxcnc mode set to +v by ChanServ
04:08 PM -!- #linuxcnc mode set to +v by ChanServ
04:10 PM -!- #linuxcnc mode set to +v by ChanServ
04:11 PM JT-Shop: run axis then run jet from the terminal
04:45 PM Tom_shop: in a bit
04:45 PM Tom_shop is now known as Tom_L
04:51 PM Tom_L: JT-Shop, http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/emc_not_running.png
04:52 PM JT-Shop: ./jet runs the local file and jet runs the installed version
04:52 PM Tom_L: right, i installed the deb
04:53 PM JT-Shop: moment
04:53 PM Tom_L: should i run the local one?
04:53 PM JT-Shop: moment
04:54 PM -!- #linuxcnc mode set to +v by ChanServ
04:54 PM JT-Shop: open a terminal and start python3
04:54 PM JT-Shop: import subprocess
04:55 PM JT-Shop: subprocess.getoutput('ipcs')
04:55 PM JT-Shop: what does that command do?
04:55 PM Tom_dev: Traceback (most recent call last):
04:55 PM Tom_dev: File "<stdin>", line 1, in <module>
04:55 PM Tom_dev: NameError: name 'subprocess' is not defined
04:56 PM JT-Shop: did you import subprocess?
04:56 PM Tom_dev: woops
04:56 PM JT-Shop: 0x48414c32
04:57 PM Tom_dev: whole bunch of txt
04:57 PM Tom_dev: subprocess.getoutput('ipcs')
04:57 PM Tom_dev: '\n------ Message Queues --------\nkey msqid owner perms used-bytes messages \n\n------ Shared Memory Segments --------\nkey shmid owner perms bytes nattch status \n0x00000000 2 tom 600 524288 2
04:57 PM Tom_dev: the list goes on
04:57 PM JT-Shop: is axis running?
04:58 PM JT-Shop: pastebin the whole thing
04:59 PM Tom_dev: http://paste.debian.net/1305824/
05:00 PM JT-Shop: "0x48414c32" in subprocess.getoutput('ipcs')
05:01 PM Tom_dev: false
05:02 PM JT-Shop: hmm
05:03 PM Tom_dev: axis is not running, just the python terminal
05:03 PM JT-Shop: axis must be running
05:03 PM JT-Shop: it's a test to see if emc is running
05:04 PM Tom_dev: so start the mill then run that python command/
05:04 PM Tom_dev: ?
05:04 PM JT-Shop: or a sim
05:06 PM Tom_dev: http://paste.debian.net/1305825/
05:08 PM JT-Shop: I think jdh figured that out for me but not sure
05:09 PM Tom_dev: http://paste.debian.net/1305826/
05:10 PM Tom_dev: i did it again just to be sure
05:10 PM Tom_dev: machine is homed
05:10 PM Tom_dev: then i ran the python terminal
05:31 PM JT-Shop: I need to think about how to handle checking if emc is running or not
05:34 PM Tom_L: it must be different between preempt-rt and RTAI
05:40 PM JT-Shop: there must be another way to know if emc started the config...
05:40 PM JT-Shop: I'll look at axis a bit in the morning
05:41 PM * JT-Shop calls it a night
05:41 PM * Tom_L does too
05:43 PM Tom_L: i could try the rpi next
05:45 PM JT-Cave: ok
06:02 PM Tom_L: cannot install python3-pyqt6
06:02 PM Tom_L: rpi
06:02 PM Tom_L: running gdebi
06:07 PM Tom_L: needs pyqt6-dev-tools too
06:09 PM Tom_L: get the 'emc not running' error on rpi arm64 too
06:10 PM Tom_L: jet does come up if i launch a sim first
06:12 PM Tom_L: needs those 2 packages installed ahead of the deb
06:19 PM Tom_L: on the armhf rpi: unable to locate package python3-pyqt6
06:20 PM Tom_L: same with pyqt6-dev-tools
06:20 PM Tom_L: so it may need to run on the arm64 rpi only
06:21 PM Tom_L: the armhf is bullseye
06:21 PM Tom_L: 11
11:08 PM {HD}_ is now known as {HD}