#linuxcnc Logs
Oct 07 2022
#linuxcnc Calendar
12:56 AM Deejay: moin
01:34 AM roycroft: if you operate the yo-yo router in a vacuum you won't have to worry about refractive index of the air
01:35 AM roycroft: and you'll have the added feature that the chips won't fly out all over the place
04:09 AM pere: hi
04:34 AM Tom_L: morning
04:56 AM JT-Cave: morning
05:36 AM mrec: did anyone ever try to put a circle-cutter into a mill and removing the centerpin?
05:45 AM mrec: the shop around the corner even had a carbide version of it ... lying around for ages I did not expect that
06:14 AM CloudEvil: It is likely to be a lot more unstable, and may not cut reasonably.
06:14 AM CloudEvil: First cut a scrap thing with the circle cutter, and then fix it to the workpiece as a guide.
06:14 AM CloudEvil: This can help somewhat, at least if the clearance is not too large
07:29 AM NorthOwl[m]: Hello! Does anybody use PyCharm here? I want to set debugger for LCNC's embedded Python but cannot figure out how to do this. I managed to do this successfully in Eclipse following the guide https://linuxcnc.org/docs/devel/html/remap/remap.html#_debugging_embedded_python_code, and now I need to know which action in PyCharm is similar to running the Pydev Debug Server in Eclipse. Any thoughts?
08:18 AM randy: re
10:26 AM -!- #linuxcnc mode set to +v by ChanServ
10:26 AM -!- #linuxcnc mode set to +v by ChanServ
10:46 AM Rab: mrec, if you mean a hole saw, I've done that and it worked great: http://reboots.g-cipher.net/mill/image/mill_rack.jpg
10:47 AM JT-Shop: starlink booting up
10:48 AM Rab: mrec, if you mean a thing like this, with adjustable blade(s), I've done that in a drill press, taking a very light cut for a long period of time. Pretty scary.
10:49 AM Rab: https://www.woodcraft.com/products/circle-cutter-large
10:49 AM JT-Shop: sitting on the ground I get 41 Mbps down and 8.3 Mbps up I'm happy
10:55 AM mrec: https://youtu.be/ZxxgRWtrWFs?t=54
10:55 AM mrec: this doesn't look healthy for carbide
10:55 AM mrec: I'll try that one for cutting circles from sheet metal
11:04 AM roguish[m]: JT-Shop: nice. good going. now you can watch silly videos
11:07 AM CloudEvil: :)
11:10 AM JT-Shop: :) gotta get it mounted on the roof first
11:11 AM Rab: mrec, the expensive carbide-tipped kind like that are usually called annular cutters. I've used them in a mag drill. I don't see why they wouldn't work fine in a mill without the pilot. The only drawback is that they often have a spring-loaded gizmo to eject the donut of material that gets cut off inside, and that's usually integrated with the pilot bit.
11:11 AM Rab: So you would need a method to clear the cutter manually.
11:12 AM mrec: I have one here but it's too small (my wife got it today)
11:12 AM mrec: I can remove the pilot, it's just fixed with a setscrew
11:12 AM JT-Shop: hmm wired adapter will be here tomorrow so I can power up the LAN from starlink
11:12 AM mrec: seems like they're called morse hole cutter no?
11:13 AM Rab: Another issue is that some of them have a funny shank for a mag drill, might need a special arbor.
11:14 AM Rab: I've never heard of that, but might just be my region.
11:15 AM mrec: I'm also interested in the HSS version seems like they have a thinner blade
11:15 AM Rab: For sheet metal a carbide-tipped cutter might be overkill, and the teeth might grab. I'd try a regular bi-metal hole saw first.
11:15 AM Rab: Yeah, definitely.
11:16 AM mrec: I want to cut soft steel and some brass
11:16 AM mrec: I'll clamp it down as good as I can
11:17 AM mrec: I could also install another spring inside
11:43 AM mrec: maybe some bearing with a spring could do
11:43 AM mrec: I have a few small radial ones here
01:19 PM CaptHindsight[m]: jpa-: try google with: laser interferometry temperature , one can even measure air temp using it
01:43 PM CaptHindsight[m]: https://www.festoolownersgroup.com/other-tools-accessories/shaper-origin-is-it-worth-it-and-how-accurate-is-it-really/
01:46 PM Tom_L: anybody know of a tool to shrink the rpi img file that actually works?
01:50 PM JT[m]1: Not me
01:57 PM CaptHindsight[m]: Tom_L: doesn't tar work?
01:57 PM Tom_L: i don't think it changes the volume size
01:59 PM Tom_L: paragon backup says it will but it screws up grub
02:00 PM Tom_L: i don't think you can do that with fdisk
02:00 PM Tom_L: you can create them but i dunno about resizing
02:02 PM Tom_L: The primary way of resizing drive partitions in Linux is to delete the old one and create a new one, using the previous starting sector
02:02 PM Tom_L: that doesn't sound very safe but somewhat makes sense
02:02 PM CaptHindsight[m]: tar the whole file system, store,copy etc, untar on new system
02:03 PM Tom_L: want to go to a smaller sd card
02:03 PM Tom_L: i can make backups and restore just fine
02:04 PM JT[m]1: Have you looked at clonezilla
02:04 PM CaptHindsight[m]: tar with compression
02:04 PM Tom_L: not yet
02:05 PM Tom_L: redhat seems to think fdisk will do it
02:06 PM CaptHindsight[m]: https://www.geeksforgeeks.org/how-to-compress-and-extract-files-using-the-tar-command-on-linux/
02:06 PM CaptHindsight[m]: what is this missing?
02:07 PM Tom_L: nothing if it will maintain a bootable image of smaller size
02:07 PM CaptHindsight[m]: what are you actually trying to do that this doesn't do?
02:07 PM CaptHindsight[m]: ok, there you go
02:08 PM CaptHindsight[m]: was wondering if there was some other feature that you didn't mention
02:08 PM Tom_L: i doubt it can be done on the native system
02:09 PM Tom_L: i'll try a couple things maybe after a nap
02:09 PM CaptHindsight[m]: on a slow Rpi?
02:09 PM Tom_L: no, on a speedy one :)
02:10 PM CaptHindsight[m]: oh,when did that come out?
02:10 PM Tom_L: it's all in the marketing...
02:10 PM CaptHindsight[m]: are you cross-building on x86?
02:10 PM Tom_L: JT[m]1, how did you wire all your buildings for interweb?
02:11 PM Tom_L: hard wires or wifi repeaters or what?
02:11 PM Tom_L: CaptHindsight[m], no
02:11 PM Tom_L: i've just got a good working image i need on a smaller sd so i can test a few thing
02:11 PM Tom_L: s
02:11 PM Tom_L: don't wanna bork the good one
02:11 PM Tom_L: and i don't have any more 64g sd cards
02:13 PM Tom_L: gparted might also work
02:16 PM CaptHindsight[m]: up tpyou but that is asking for trouble
02:16 PM CaptHindsight[m]: up to you
02:17 PM CaptHindsight[m]: practice on a smaller img first
02:18 PM Tom_L: yeah, it's not life threatening anyway..
02:19 PM CaptHindsight[m]: the most foolproof method is tar vs any of the other tools, especially anything graphical
02:20 PM CaptHindsight[m]: just watch your typos
02:23 PM Tom_L: yes.. linux is an excellent spell checker
02:24 PM xxcoder[m]: yeah
02:27 PM JT[m]1: The machine shop has rj45 recepticals spaced around the wall
02:29 PM JT[m]1: All hard wire
02:29 PM Tom_L: overhead from place to place or underground?
02:29 PM Tom_L: between buildings..
02:30 PM Tom_L: just curious.. i did mine underground to the shop
02:34 PM JT[m]1: Underground between buildings
03:06 PM * satiowadahc1171[ uploaded an image: (2065KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/PYwPTGOiZixGBOnZwlOAhjNd/rn_image_picker_lib_temp_53a1f9a4-98e0-45ad-b024-e6ded2ed4c56.jpg >
03:06 PM satiowadahc1171[: To whomever it make concern... I don't like this font.
03:07 PM satiowadahc1171[: Ie the 0/o/O
03:09 PM roycroft: when is linuxcnc.org going to finally get a secure certificate?
03:09 PM roycroft: browsers are starting to be really naggy about "insecure" sites
03:14 PM xxcoder[m]: I would change it to Hack font. all charactors is easily seperatable
03:14 PM xxcoder[m]: ie I and l looks different
03:16 PM roycroft: since the poster did not bother to even tell us what document that is, i assume it's not much of a problem, and more of an excuse to complain about something
03:16 PM roycroft: but yes, generally one can change fonts if one does not like the current one
03:23 PM xxcoder[m]: looks like HAL docs
03:24 PM roycroft: sure, but from which version?
03:26 PM Rab: Haha...that's a classic form of zero, looks great in printed material. But it's terrible for technical documentation.
03:32 PM roycroft: at least the docs are not using roman numerals
03:32 PM roycroft: the zero was invisible in the roman system
03:32 PM xxcoder[m]: lol that'd be fun
03:33 PM xxcoder[m]: zero charactor wasnt defined there. first one was Mesopotamia, at 3 BC
03:43 PM satiowadahc1171[: Monospace for code is ideal imho
03:45 PM RatherLogical[m]: Yeah, Fira Code is my personal favorite font in the monospace family. <https://github.com/tonsky/FiraCode>
03:45 PM RatherLogical[m]: It has great ligature support too.
03:55 PM xxcoder[m]: for me, Hack
03:56 PM xxcoder[m]: its not only monospace, its specifically designed so you cannot confuse between charactors.
03:56 PM roycroft: since i'm allergic to anything google, fira code does not work for me
03:56 PM xxcoder[m]: https://github.com/source-foundry/Hack
03:57 PM roycroft: hack is a good font
03:57 PM xxcoder[m]: roy you might like hack. its just super readable
03:57 PM xxcoder[m]: I use it for my hexchat font. too bad I cant change discord font!
03:57 PM roycroft: i don't think it's particularly attractive
03:57 PM xxcoder[m]: thats one of things I hate about discord. cannot change colors, cannot change font
03:58 PM roycroft: but it is ideal for source code
03:58 PM xxcoder[m]: before complants changed it, dark mode had horrible darker white font on gray. hard to read
03:59 PM xxcoder[m]: light mode was far worse, light gray text on white
03:59 PM xxcoder[m]: roy honestly I want readability over looks always
03:59 PM xxcoder[m]: ill use more fancy fonts for design like signs, not for even single paragraph
04:03 PM satiowadahc1171[: Sorry the document is from
04:03 PM satiowadahc1171[: Linuxcnc.org/docs/stable/config/ini-homing.html/#_immediate_homing
04:04 PM satiowadahc1171[: If I was a betting man, I'd wager it doesn't matter where you look they'd all have the same font
04:08 PM satiowadahc1171[: Well I'll be corrected. Good thing I don't bet. Also looks fine on Linux but not on windows... Georgia.serif must be a local font
04:10 PM roycroft: if it's the html version then you can use whatever font you want
04:10 PM roycroft: just override the style sheet
04:10 PM roycroft: it's only if it's the pdf version that the font may be problematic
04:14 PM xxcoder[m]: if its inconsistency of font, it might need to be fixed
04:15 PM Tom_L: should be a law you have to code in script
04:16 PM Tom_L: cursive
04:16 PM ZincBoy[CAON][m]: Then it would be even more unreadable than it already is 🙂
04:17 PM Tom_L: well i had a guy that wrote a library using all _ __ ___ for variables :)
04:17 PM Tom_L: try searching that
04:18 PM ZincBoy[CAON][m]: Ah, I see you had one of my old employees... a, A, AA, aa, Ab, etc
04:19 PM Tom_L: i suppose it's better than morse code
04:22 PM xxcoder[m]: I remember reading about one that had all function names ex-girlfriends of programmer
04:23 PM roycroft: cursive writing is no longer taught in schools
04:23 PM xxcoder[m]: when new developer took over it was a lot of work to figure what did what
04:23 PM Tom_L: back in dos days, i did have a function that wrote a few bytes on the end of the exe file in case the client didn't pay by a certain time it would look at that and quit
04:24 PM Tom_L: you'd be surprised how quick the checkbook can come out..
04:27 PM xxcoder[m]: lol yeah. it sucks that some companies is willing to just try screw over and not pat
04:28 PM xxcoder[m]: pay
04:28 PM Tom_L: another one agreed on something and came back once they saw what it could do and said will you add this and this and this...
04:29 PM Tom_L: so i did an then proceeded to present them with a 2nd bill
04:29 PM Tom_L: they shut up real quick
05:05 PM roycroft: i just got a call that the rest of my abrasives for my rotex 90 are in
05:06 PM roycroft: just in time - i am going to a concert tomorrow night, and it will be dark when i leave
05:06 PM roycroft: now i can refurbish my headlights, and hopefully they will be useful again
05:07 PM xxcoder[m]: nice
05:07 PM xxcoder[m]: I need to fix one of lights on my car. its seal needs some rework
05:07 PM roycroft: yeah, they are very yellow and clouded right now
05:07 PM xxcoder[m]: apparently way to do it is to bake it then press it together
05:08 PM xxcoder[m]: havent had courage to do it, as its expensive if damaged lol
05:08 PM roycroft: i have P1000, P2000, and P4000 already, and foam pads for the cutting and polishing compounds
05:08 PM roycroft: but they're so bad i needed some P500 and P800 to get started
05:09 PM roycroft: you need to do it when you have the money in your pocket to replace it if the repair does not go well
05:09 PM xxcoder[m]: makes sense
05:09 PM roycroft: and if it does, you have money for a nice dinner :)
05:09 PM xxcoder[m]: indeed. with zero income it have to be delayed till I have some sort of income
05:10 PM * roycroft heads off to pick up the abrasives
05:10 PM xxcoder[m]: dont be abrasive when picking up abrasives 😉
05:10 PM xxcoder[m]: kidding. have good trip
05:38 PM mits5782[m]: are there instructions on making a mesacard firmware build env in a virtual machine anywhere?
05:39 PM mits5782[m]: friday at nearly 4pm is not the time to email peter asking for a firmware build :\
05:43 PM mits5782[m]: I previously tried to get myself a working build env going but I struggled figuring out which name/version of xilinx software to get
05:43 PM mits5782[m]: the docs I kept looking at would link to places that no longer exist, refer to software that isn't named the same on their site... or just be confusing at minimum
05:44 PM * mits5782[m] uploaded an image: (18KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/sOFklZqtJrhLhyFhhPjVpnar/unknown.png >
05:44 PM mits5782[m]: like the downloads page is now just for nics it seems
05:47 PM JT-Shop: Tom_L, has some instructions for building firmware for the spartan 6
05:47 PM mits5782[m]: I don't see anyone here named Tom L
05:48 PM Tom_L: you don't have to look far
05:48 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/emc/xilinx/xilinx14_install_index.php
05:48 PM mits5782[m]: WTF
05:48 PM Tom_L: it's also on the wiki
05:48 PM mits5782[m]: I typed in your name into discord and it didn't even show me you, thanks discord
05:49 PM mits5782[m]: it still won't
05:49 PM * mits5782[m] uploaded an image: (15KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/VOkjXnxEKaSCOnKneyirDzJn/unknown.png >
05:50 PM mits5782[m]: and what wiki?
05:50 PM Tom_L: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Editing_MESA_Bitfiles_Spartan2
05:50 PM Tom_L: not for amateurs
05:52 PM * roguish[m] uploaded an image: (54KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/kdFHfaLmhzhAZIGmSpXNLxwF/image.png >
05:52 PM roguish[m]: mits: go to the main linuxcnc.org website. look at the top line. find 'Wiki' second from the right....
05:52 PM * Tom_L turns his cloaking device back on
05:52 PM JT-Shop: :)
05:52 PM mits5782[m]: aha
05:52 PM mits5782[m]: I hadn't found any results on that with google... but thank you very much
05:53 PM Tom_L: JT-Shop, i may wait a day or so for more debs
05:53 PM roguish[m]: the wiki is a bit old, but it preceeded the forum. still has TONS of good stuff.
05:53 PM mits5782[m]: I'm sorry, your doc is still linking to the empty downloads page on xilinx website
05:53 PM Tom_L: mits5782[m], the webpack stuff has since moved to their archives
05:53 PM Tom_L: but it is still there
05:54 PM xxcoder[m]: mits this channel to bridged to matrix and irc though that
05:54 PM xxcoder[m]: so anyone you see "bot" icon on, it's someone at either matrix or irc
05:54 PM Tom_L: you want the last one they put out which i think was 14.7
05:55 PM mits5782[m]: I am sorry, but the problem I'm starting with is I can't even find the downloads page on their own website
05:56 PM Tom_L: amd probably screwed it all up
05:56 PM mits5782[m]: I search for "design suite ISE" and it keeps linking me to download pages that take me back to the same page as the screenshot I gave above
05:56 PM mits5782[m]: the only downloads I can find are for NIC drivers
05:57 PM Tom_L: https://www.xilinx.com/downloadNav/vivado-design-tools/archive-ise.html
05:57 PM Tom_L: magic
05:57 PM mits5782[m]: https://www.xilinx.com/products/design-tools/ise-design-suite.html
05:58 PM Tom_L: they have flavors for windows and linux
05:58 PM mits5782[m]: that's good cause I have linux boxes all over, thanks
05:59 PM Tom_L: i might suggest the full installer
05:59 PM Tom_L: 6.something Gb
05:59 PM mits5782[m]: I was gonna grab that out of laziness
06:00 PM Tom_L: make sure you build the bit file for the right chip
06:00 PM Tom_L: some used 2 different sized chips
06:01 PM mits5782[m]: ok, I'll confirm it
06:01 PM Tom_L: if you talk nice to him, maybe peter would build it for you
06:02 PM mits5782[m]: I could ask, but in the past when I've done that on a friday I would get a reply monday
06:02 PM Tom_L: pcw-home hangs out here sometimes
06:02 PM mits5782[m]: and my hacking time is weekends so I need to put some effort into making it so I can do it myself
06:03 PM mits5782[m]: that's fine... I'm gonna try to do this, and then I might email later if I can't
06:03 PM mits5782[m]: it's really great that you got me links to the things I couldn't find
06:03 PM Tom_L: what board?
06:04 PM mits5782[m]: I've got a 7C81 and a 7i76e and a... I forget
06:04 PM mits5782[m]: 7i9something
06:04 PM Tom_L: 7c is rpi?
06:04 PM mits5782[m]: yeah
06:04 PM mits5782[m]: that's the one I want to hack on right now
06:04 PM Tom_L: are there support files for it on his site?
06:05 PM Tom_L: i've never looked into that one
06:05 PM Tom_L: i've used spi and ethernet on the rpi
06:05 PM Tom_L: well, i think that one requires spi..
06:05 PM mits5782[m]: there are, but I need to bolt on some PWMgens
06:05 PM mits5782[m]: yeah it uses SPI
06:07 PM Tom_L: it may only have one interface in the zip file but make sure you get the main vfd file for spi
06:08 PM Tom_L: some have more than one
06:08 PM mits5782[m]: I'm not sure I comprehend that, but I'll write it down so I note it
06:09 PM Tom_L: there will be different vfd files for parallel port, ethernet, spi etc
06:09 PM Tom_L: but since that board requires spi, there may only be the one
06:10 PM mits5782[m]: actually it apparently supports EPP too, because I accidentally put it in that mode once
06:10 PM mits5782[m]: I had to dig out an old old PC to recover it
06:11 PM Tom_L: you will be looking for something like hm2pci.xise for a file
06:12 PM mits5782[m]: ok
06:12 PM Tom_L: sry hm2spi.xise
06:13 PM mits5782[m]: I intuited that from context
06:15 PM Tom_L: looking though, i'm not sure on that board which project file to suggest
06:16 PM Tom_L: you may want to ask him about that
07:05 PM _unreal_: just tossed pizza into the oven
07:14 PM Tom_L: ok, i _tried_ to screw up the sd 2 times and recovered twice...
07:14 PM Tom_L: fdisk
07:26 PM roycroft: well i'm not sure how i feel about the headlight refurbishment - it was not as easy to do as i thought it would be
07:26 PM roycroft: the headlights are 500% better than they were, and are actually useful now, i think
07:27 PM roycroft: but i was hoping for 1000% better :)
07:27 PM roycroft: i think i should have started with P320 or P400, not P500
07:30 PM roycroft: if i don't wait until they're really bad before i do another refurbishment maybe i'll do better the next time around
07:37 PM roycroft: https://roycroft.us/Headlight_Before.jpeg
07:37 PM roycroft: https://roycroft.us/Headlight_After.jpeg
07:38 PM roycroft: the after photo doesn't do it justice - it's a lot clearer than it looks like in the photo
07:38 PM Tom_L: they will see you coming now
07:38 PM roycroft: but there are some little swirls and scratches that did not come out
07:38 PM roycroft: i'm going to feel ok about driving after dark now, which was the goal
07:39 PM roycroft: especially since "dark" is coming earlier and earlier
07:39 PM xxcoder[m]: indeed better fix now
07:39 PM roycroft: btw, the before photo was after i cleaned it
07:39 PM roycroft: that is not dirt
07:41 PM roycroft: anyway, it will be interesting to see how long it lasts before they start yellowing again
07:41 PM roycroft: i did apply a uv blocker coating on them after i finished polishing them
07:42 PM roycroft: but i'm figuring this is going to be an annual procedure
07:42 PM roycroft: the uv blocker is not going to last for 10 years or longer like the factory stuff did
07:46 PM xxcoder[m]: I wonder if retrobrite would reverse the yellpow
07:46 PM roycroft: most of the yellow is gone, actually
07:47 PM roycroft: the picture looks more yellow because it was late afternoon and the sky was a little orange already
07:47 PM roycroft: but not all of the yellow is gone
07:47 PM roycroft: oem lights are no longer available for my car
07:47 PM roycroft: and the aftermarket ones are not nearly as good as the oem ones, and cost $375 each
07:48 PM roycroft: i'll live with what i have and invest some time refurbishing them once in a while vs. spending $750 for inferior lights
07:48 PM xxcoder[m]: yeah id just refinish
07:48 PM xxcoder[m]: maybe even try retrobrite lol see if it gets it not yellow
07:49 PM * roycroft suspects retrobrite is just industrial strength hydrogen peroxide that's repackaged/relabeled
07:50 PM roycroft: oh, it says it's a gel
07:50 PM roycroft: so it's likely h2o2 mixed into some kind of emulsion
07:51 PM xxcoder[m]: theres product for that yes, but its easily makable yourself
07:51 PM roycroft: that might actually make it worth paying for
07:51 PM roycroft: because the problem with h2o2 is that it takes a while to do the bleaching, and it evaporates quickly
07:51 PM roycroft: it's kind of hard to keep it wet on the plastic
07:52 PM xxcoder[m]: yeah theres mixture to make it a gel, then you use wrap to keep gel applied to surface while its in sun
07:54 PM roycroft: kind of ironic that the thing that is responsible for yellowing is necessary to reverse the yellowing
07:54 PM xxcoder[m]: yeah
08:26 PM CaptHindsight[m]: https://en.wikipedia.org/wiki/Retr0bright
08:27 PM CaptHindsight[m]: Retrobright consists of hydrogen peroxide, a small amount of the "active oxygen" laundry booster TAED as a catalyst, and a source of UV
08:27 PM CaptHindsight[m]: Xanthan gum or arrowroot can be added to the mixture, creating an easier-to-apply gel.
08:39 PM xxcoder[m]: sometimes just h2o2 and uv light is needed. one of restore channels I watch, guy just floods part in water with h2o2, heats water and lots uv light, leave overnight
08:48 PM roycroft: so my conjecture was correct
08:48 PM roycroft: that it is h2o2 + an emulsifier
08:49 PM xxcoder[m]: hm I thought I said so, but I was being too vague
08:50 PM xxcoder[m]: "theres product for that yes, but its easily makable yourself"
09:49 PM RatherLogical[m]: Is `abort()` the only method of stopping a running program from python? Other than writing to the `halui` pin of course.
09:52 PM Tom_L: exit()
09:55 PM Tom_L: taskkill
09:55 PM RatherLogical[m]: What side effects does that have? I know abort() resets realtime modules, and that's what I'm trying to avoid.
09:56 PM Tom_L: left you a little research to do :)
09:56 PM RatherLogical[m]: Oh boy. I get to try all day tomorrow too 🙂
09:57 PM Tom_L: sry i'm not a python programmer
10:03 PM Tom_L: pkill -f name-of-the-python-script
10:05 PM Tom_L: maybe a few others: https://likegeeks.com/terminating-python-scripts/
10:09 PM Tom_L: RatherLogical[m], it's good for the soul
10:12 PM RatherLogical[m]: Oh, I meant a running gcode program. Not the actual python scripts process. Sorry for the confusion.
10:12 PM Tom_L: use op stop
10:13 PM Tom_L: http://linuxcnc.org/docs/stable/html/gcode/m-code.html#mcode:m0-m1
10:14 PM Tom_L: M1 requires a switch thrown, M0 stops unconditionally
10:14 PM Tom_L: used alot for fixture changes during a program etc
10:18 PM RatherLogical[m]: Looks like M0 pauses. I guess you mean M2? "M2 - end the program. Pressing Cycle Start ("R" in the Axis GUI) will restart the program at the beginning of the file."
10:19 PM RatherLogical[m]: Very nice though. Will definitely try this tomorrow.
10:19 PM Tom_L: so you want to terminate the program not just pause it
10:19 PM Tom_L: M2 M30
10:19 PM RatherLogical[m]: Yeah, end the program.
10:19 PM Tom_L: i prefer M30
10:20 PM RatherLogical[m]: I've coded a toolchange module and I'm having trouble moving the z axis. So I'm having to do some hacky stuff to get it to work.
10:20 PM Tom_L: remap M6?
10:21 PM RatherLogical[m]: I would, but I don't wanna have to write all the carousel logic in o code
10:21 PM Tom_L: if you ever looked at a 'real' cnc a tool change is a series of short gcode to do certain tasks of the tool change process
10:21 PM Tom_L: stored in internal memory and accessed by the control
10:22 PM RatherLogical[m]: I'm pretty new to coding cnc
10:22 PM RatherLogical[m]: I have a coding background, but the whole cnc coding is new to me.
10:22 PM Tom_L: ask lcvette to show you his tool change code
10:23 PM Tom_L: don't see him here but you may find him on qtpyvcp or such
10:23 PM RatherLogical[m]: Is it all in a subroutine?
10:23 PM Tom_L: i don't recall how it was done exactly
10:23 PM RatherLogical[m]: Ok, I may seek him out tomorrow.
10:23 PM Tom_L: pretty sure he remapped M6 though
10:24 PM RatherLogical[m]: gotcha
10:25 PM Tom_L: also
10:25 PM Tom_L: look at the carousel comp
10:25 PM Tom_L: andypugh wrote that
10:25 PM RatherLogical[m]: Yeah, I took some inspiration from that code.
10:26 PM RatherLogical[m]: I specifically used his logic for determining the proper direction to rotate the carousel based on the current position and desire pocket.
10:26 PM RatherLogical[m]: s/desire/desired/
10:27 PM Tom_L: on a prefetch system, pockets become more important than a roundie round carousel
10:28 PM Tom_L: the tool may not return to the same pocket
10:28 PM Tom_L: the tool may need to skip a pocket due to tool size etc
10:30 PM RatherLogical[m]: true
10:38 PM CaptHindsight[m]: roycroft: viscosity enhancer/modifier
10:45 PM roycroft: in other words, roux
10:47 PM Tom_L: RatherLogical[m], http://linuxcnc.org/docs/stable/html/gcode/overview.html#gcode:file-requirements
11:08 PM CaptHindsight[m]: "its a high viscosity antiseptic, oxidizer and hair color lightner"
11:14 PM * xxcoder[m] uploaded an image: (162KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/DJmUGGNFHKFWXjLagVTLoThk/unknown.png >
11:14 PM xxcoder[m]: lol edo style forklift art. ai generated, though not by me
11:15 PM CaptHindsight[m]: why is there no Chinese shaper origin knockoff that uses a cheap grid paper with a low stick psa?