#linuxcnc Logs

Sep 24 2022

#linuxcnc Calendar

12:59 AM Deejay: moin
03:09 AM mrec: pcw--home: yes this 0402 is not acceptable
03:09 AM mrec: the component had no contact with the pad
03:10 AM mrec: https://snipboard.io/9P2SF5.jpg
03:10 AM mrec: I'm going to solder it back but still don't ship boards like that
03:12 AM mrec: https://snipboard.io/3bSK7y.jpg
03:12 AM mrec: this was the original state I was able to push it down easily
03:26 AM mrec: I have an eye for those things since we also assemble PCBs..
04:27 AM jpa-: springle some extra capacitors so some can fall out ;)
05:05 AM JT-Cave: morning
05:05 AM mrec: I got it back already, I put another 0.1uF cap
05:06 AM mrec: having all of them in place is also better for emc; I've seen issues in the past due to missing bypass capacitors
05:07 AM mrec: the other caps look fine, it's just a good indicator that something's wrong if a cap is not straight
05:07 AM mrec: I also measured them and they're okay
05:12 AM Tom_L: morning
07:55 AM Tom_L: big air show to day.. thunderbirds n all
07:55 AM JT-Cave: nice
07:56 AM Tom_L: dunno if i'll make it or not
07:56 AM Tom_L: 2 days
07:56 AM Tom_L: it was cloudy yesterday but i could hear them practicing
08:00 AM perry_j1987: morning
08:12 AM Tom_L: last time they were here they had the dreamlifter on display https://www.google.com/search?q=dreamlifter&client=firefox-b-1-d&tbm=isch&source=iu&ictx=1&vet=1&fir=Y8zDFl-UpjhYdM%252CuaBvQajF5V2aeM%252C_%253BaNwyqbbQz6IiBM%252CmzAymr3QK_g-gM%252C_%253BBmAMGTmuz4H9VM%252CgFVHDl1hKk-xdM%252C_%253Bhle-f-IkGljBVM%252CzECY4jhvkQH8zM%252C_%253B7BAx5PnxECE1JM%252CSdQcPt3gPQu0AM%252C_&usg=AI4_-kShQ8aI0lGRcTsF5PhUjTi8t8dehA&sa=X&ved=2ahUKEwiM7KajwK36Ah
08:12 AM Tom_L: UVmGoFHRMfCNcQ_h16BAhuEAE#imgrc=hle-f-IkGljBVM
08:12 AM Tom_L: woops
08:20 AM solarwind: So the screw thread in your everyday micrometer, is there anything special about its thread profile?
08:21 AM solarwind: How do they achieve the insanely low backlash? Is it just a matter of precision machining or is there more to it than that?
08:24 AM Tom_L: mitsutoyo makes one with 7 digit accuracy
08:27 AM Tom_L: https://www.mitutoyo.com/webfoo/wp-content/uploads/E1006MicrometerHeads.pdf
08:42 AM solarwind: Tom_L yeah I've seen those. My question is about the threads, is there anything special about their profile?
08:42 AM solarwind: Because they mesh perfectly and they're super smooth
08:43 AM solarwind: I _LOVE_ smooth thread mechanisms in general. For my own devices that may involve threads that are not under high tensile loads, I'd like to machine them to be just as smooth and have as little play and backlash as possible
08:48 AM ZincBoy[CAON][m]: They are ground threads to a tight tolerance. Backlash is taken up by the force on the measuring face. I don't think there is any special profile involved.
08:51 AM solarwind: Unrelated: https://www.youtube.com/watch?v=viJ3T-1KZqY the guy is handling mercury without gloves and exposed to the open atmosphere
08:51 AM solarwind: yeah the vapour pressure is low, but it's still enough to breathe in
08:52 AM JT-Cave: Tom_L, if you want to try the ini2 branch I think it's fully functioning
09:39 AM ZincBoy[CAON][m]: Has anyone used a diamond drag bit for engraving? I am looking at trying one for engraving part numbers as it would free up my spindle speeder and looks like I could reduce cycle time. This would be mostly on aluminum but some steel as well.
10:10 AM pere: anyone here know spanish and is willing to try to fix <URL: https://github.com/LinuxCNC/linuxcnc/pull/2063 > on weblate?
10:26 AM Tom_L: JT-Cave, maybe later today
10:38 AM CaptHindsight[m]: solarwind: https://www.ebay.com/itm/234585196061 threadless
11:06 AM Tom_L: JT-Cave, git checkout ini2 then build?
11:08 AM Tom_L: haha, that branch doesn't have the menu fix :)
12:06 PM JT-Cave: don't build a deb for the branch just run locally to test
12:07 PM unterhausen: shars has a NMTB boring head arbor and half the pictures show it as fitting my mill and the other half show it not fitting my mill
12:08 PM unterhausen: Maybe I'll just get a straight shank arbor and skip the gamble
12:08 PM Tom_L: JT-Cave, right
12:09 PM Tom_L: well, i built and installed it locally
01:45 PM JT-Shop: gotta finger out how to cherry pick from master to a branch
01:56 PM Thorhian[m]: Do any of you have recommendations on how to find rotary switches for a control panel? I can easily find a 3-5 position switch for axis selection, and I have found a typical clicky 100 ppr rotary encoder for jogging, but I want to find a rotary switch that has somewhere around 10-20 positions. I've seen single turn pots, but those usually are a smooth action that, at least for one of these rotary switches, I don't want.
01:57 PM CaptHindsight[m]: https://www.youtube.com/watch?v=Iv9enwRfYKw&t=1s
01:58 PM CaptHindsight[m]: https://www.youtube.com/shorts/u4lkFV5wVno he trusts wireless
01:59 PM ZincBoy[CAON][m]: I used these https://www.digikey.ca/en/products/detail/grayhill-inc/71AD30-02-1-AJN/1534726 for my control panel. Only 12 positions but they are configurable for between 2 and 12 by changing the position of a stop pin.
01:59 PM CaptHindsight[m]: https://forum.linuxcnc.org/30-cnc-machines/46765-epoxy-granite-cnc-lathe
01:59 PM CaptHindsight[m]: ^^^
02:00 PM ZincBoy[CAON][m]: Sorry, I meant the single deck version: https://www.digikey.ca/en/products/detail/grayhill-inc/71AD30-01-1-AJN/1534724
02:00 PM Thorhian[m]: Oooh that looks nice. I want to use that for speed selection in jogging. I'll probably use a smooth pot for feed override.
02:01 PM JT-Shop2: Tom_L, pull and d/l arm64 should show up in the ini2 branch I "think"
02:01 PM ZincBoy[CAON][m]: I used them for jog step size, spindle, feed, and rapid override.
02:02 PM ZincBoy[CAON][m]: I have found that the detent on the 100% for feed override is very useful.
02:02 PM ZincBoy[CAON][m]: The only analog one is for jog speed.
02:02 PM * ZincBoy[CAON][m] uploaded an image: (887KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/qhjyHKdZYzVyaOjLgRUfUbQE/IMG_0400.jpg >
02:03 PM Thorhian[m]: Yeah a detent would be nice... Maybe I should consider that for feed and rapid overrides.
02:03 PM CaptHindsight[m]: picture yourself on the monitor
02:05 PM Thorhian[m]: I love those light up buttons. Not sure how easy they would be to wire up to the 7i73 board along with everything else.
02:06 PM ZincBoy[CAON][m]: That whole panel is on one 7i73 board including the lights.
02:06 PM Thorhian[m]: Ah, okay. That's good to know.
02:06 PM Thorhian[m]: What screen is that btw?
02:07 PM ZincBoy[CAON][m]: https://www.amazon.ca/gp/product/B07Z5LY4TD/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
02:07 PM Thorhian[m]: Ah, okay. Thaks Zinc. Awesome stuff :)
02:09 PM ZincBoy[CAON][m]: Thanks. The only buttons I wish I had included are the optional stop and block delete inputs.
02:10 PM Thorhian[m]: Optional Stop and Block Delete?
02:10 PM ZincBoy[CAON][m]: I use the Aux button for optional stop but need to add block delete.
02:11 PM ZincBoy[CAON][m]: M1 -> optional stop, / in front of a line means delete if block delete is on.
02:12 PM ZincBoy[CAON][m]: I use M1 on tool change so the program will pause when I am first running it and I can check the tool loaded.
02:21 PM c101horse8332[m]: https://store.steampowered.com/app/1787960/Milling_Machine_Simulator_3D/
02:21 PM c101horse8332[m]: thoughts?
02:23 PM CaptHindsight[m]: I talked about adding ray tracing to LCNC years ago
02:24 PM CaptHindsight[m]: https://www.youtube.com/watch?v=qiCD0MxI1_I&t=2s
02:25 PM CaptHindsight[m]: https://www.forum.linuxcnc.org/38-general-linuxcnc-questions/42002-vismach-atc-simulation-with-different-tool-shapes more
02:27 PM CaptHindsight[m]: add a USB racing wheel and pedals as a controller to LCNC and have milling races
02:31 PM c101horse8332[m]: e-sports cnc milling
02:32 PM CaptHindsight[m]: or a flight stick
04:05 PM -!- #linuxcnc mode set to +v by ChanServ
04:52 PM Tom_L: JT-Shop2, i'm just testing the amd64 for now
04:54 PM JT-Shop2: ok, I did find out that checking out a remote tracking branch is a bit more than git checkout ini2
04:55 PM Tom_L: but you got notes... :)
04:55 PM JT-Shop2: yes
04:56 PM Tom_L: not quite sure what i should be testing
04:56 PM JT-Shop2: git fetch then get checkout -b ini2 origin/ini2 I think it's a b switch
04:56 PM JT-Shop2: but that's only if your pushing from remote
04:57 PM JT-Shop2: create a configuration then add some valid sections with key/value pairs then regen the config
04:57 PM JT-Shop2: the items you added should be there when you look
05:03 PM Tom_L: do i need to start with a new config?
05:03 PM Tom_L: since you changed things around
05:07 PM Tom_L: does this include the config file set or just the ini file?
05:21 PM -!- #linuxcnc mode set to +v by ChanServ
05:21 PM -!- #linuxcnc mode set to +v by ChanServ
05:22 PM Tom_L: JT-Shop2, do i need to start with a new config or can i use the one i've been testing with?
05:23 PM JT-Shop2: <JT-Shop2> just make a copy of an old config and see if all goes well
05:23 PM JT-Shop2: * Disconnected ()
05:23 PM JT-Shop2: just got a bit of a downpour
05:24 PM Tom_L: tried the one i've been using and all didn't go well :/
05:24 PM JT-Shop2: what happened?
05:24 PM Tom_L: added a couple comment lines in the hal and ini and they didn't save
05:24 PM Tom_L: the sserial was overwritten
05:24 PM Tom_L: the var file stayed
05:24 PM JT-Shop2: the configparser doesn't do comments
05:25 PM JT-Shop2: hal always gets written over
05:25 PM JT-Shop2: so does sserial and io
05:25 PM JT-Shop2: only valid sections and key/value pairs are saved
05:26 PM JT-Shop2: [TOM]
05:26 PM JT-Shop2: TESTING = Boink
05:27 PM Tom_L: so if i added say some or2 or and2 logic in the hal it will be overwritten
05:27 PM JT-Shop2: postgui.hal and custom.hal and shutdown.hal are not overwritten
05:28 PM JT-Shop2: yes, you must put that in custom.hal or postgui.hal
05:28 PM Tom_L: ok
05:32 PM Tom_L: i think you should save lines beginning with # in a section
05:32 PM XXCoder: comment lines may be important yeah
05:33 PM Tom_L: the hal keeps the comments generated by the program
05:33 PM Tom_L: i added a comment to each file and both were overwritten
05:33 PM Tom_L: it did keep my custom section in the ini though
05:33 PM Tom_L: but removed the comment i added inside it
05:34 PM Tom_L: what tab do you use to create a custom hal file?
05:35 PM Tom_L: ... i found it
05:36 PM JT-Shop2: the python configparser doesn't know what a comment is
05:37 PM Tom_L: so you add them when you build yours
05:37 PM Tom_L: i dunno how the parser works
05:38 PM Tom_L: you can't say 'if the first char is a "#" save this line' ?
05:39 PM Tom_L: not trying to be difficult, just don't know how it works
05:39 PM XXCoder: can "pre-process" file, save it then return comments etc when done?
05:40 PM Tom_L: my problem is lack of knowledge of python
05:42 PM -!- #linuxcnc mode set to +v by ChanServ
05:42 PM roguish[m]: Tom_L: wow. join the party...
05:42 PM Tom_dev: https://docs.python.org/3/library/configparser.html
05:42 PM Tom_dev: Configuration files may include comments, prefixed by specific characters (# and ; by default 1). Comments may appear on their own on an otherwise empty line, possibly indented.
05:43 PM Tom_dev: under: Supported INI File Structure
05:43 PM roguish[m]: I'm just glad that the .ini and .hal files are not in html
05:43 PM Tom_L: xml
05:44 PM roguish[m]: yeah, that.
05:44 PM Tom_L: brainfuck
05:44 PM Tom_L: try that one on
05:44 PM Tom_L: (it's a language)
05:44 PM roguish[m]: I would call it 'brain fade'
05:44 PM XXCoder: yeah made very basic program with it lol
05:44 PM XXCoder: nah its literally named brainfuck
05:45 PM Tom_L: 1993
05:45 PM roguish[m]: you're right.....never heard of that one.
05:46 PM XXCoder: "program" is overly strong word in my case. it was like few charactors to test opcodes
05:46 PM JT-Shop2: Tom_L, for some reason yet not understood comments get dropped
05:46 PM Tom_L: well if you don't understood it, we're all screwed!
05:46 PM JT-Shop2: if I can finger out how to preserve comments I will
05:46 PM Tom_L: i think it would be a big plus
05:47 PM roguish[m]: hey, have any of you guys been around Twin Falls, Id ???
05:47 PM Tom_L: not me
05:48 PM Tom_dev: Note
05:48 PM Tom_dev: Comments in the original configuration file are not preserved when writing the configuration back. What is considered a comment, depends on the given values for comment_prefix and inline_comment_prefix.
05:49 PM JT-Shop2: Note
05:49 PM JT-Shop2: Comments in the original configuration file are not preserved when writing the configuration back. What is considered a comment, depends on the given values for comment_prefix and inline_comment_prefix.
05:49 PM Tom_L: uh huh
05:50 PM Tom_dev: look under RawConfigParser Objects
05:50 PM Tom_dev: comment_prefixes=('#', ';'),
05:50 PM Tom_dev: amongst others
05:51 PM JT-Shop2: those two are the default comments prefixes
05:51 PM Tom_dev: hmm
05:52 PM JT-Shop2: we just got some rain so internet is painfully slow atm
05:54 PM Tom_dev: also: inline_comment_prefixes=None
05:54 PM Tom_dev: may need changed
05:55 PM JT-Shop2: no, that could mess up values with ; in them
05:55 PM Tom_dev: what if you just added '#' there and left ';' out
05:56 PM Tom_dev: lcnc ignores ; doesn't it?
05:56 PM Tom_dev: i've never tried that
05:56 PM Tom_dev: ignores or errors
05:56 PM JT-Shop2: it's not typical to have an inline comment in an ini file
05:56 PM Tom_dev: it didn't save any custom ones in the hal either
05:57 PM Tom_dev: i'm not very typical :)
05:57 PM JT-Shop2: what do you mean it didn't save any custom ones in the hal either?
05:57 PM Tom_dev: i added a test comment to it and it didn't save it
05:58 PM Tom_dev: lemme try once more to be absolutely sure
05:58 PM JT-Shop2: it?
05:58 PM Tom_dev: it being the hal file
05:58 PM JT-Shop2: which hal file?
05:58 PM Tom_dev: the main one
05:59 PM JT-Shop2: that gets overwritten every time, only shutdown.hal, custom.hal and postgui.hal are not touched by the tool once created
05:59 PM Tom_dev: ok
06:01 PM Tom_dev: as far as the custom ini section, it did save that but not the comments i added in that section
06:01 PM Tom_dev: but you say the ini should have no comments..
06:01 PM JT-Shop2: right, it won't save a comment in the ini file now
06:01 PM Tom_dev: :D mine does which may be bad practice
06:02 PM JT-Shop2: no inline comments but comments on their own line is good
06:02 PM Tom_dev: it didn't save a comment in the custom section on it's own line
06:02 PM Tom_dev: that's what i meant
06:03 PM JT-Shop2: right mesact won't save a comment in the ini file
06:04 PM JT-Shop2: https://stackoverflow.com/questions/6620637/writing-comments-to-files-with-configparser
06:06 PM JT-Shop2: that seems to work with a short test
06:06 PM JT-Shop2: even though they have the wrong import
06:07 PM Tom_dev: import ConfigParser is wrong?
06:07 PM JT-Shop2: yep it's import configparser
06:07 PM Tom_dev: mmm
06:07 PM JT-Shop2: IIRC that's old 2.x python
06:09 PM JT-Shop2: aye that's python 2 the print statement is not in python 3
06:09 PM JT-Shop2: python 3 print is a function so it's print('some stuff')
06:10 PM JT-Shop2: I'll putz with it in the morning
06:11 PM Tom_dev: k, gotta go be domestic a while anyway
06:11 PM JT-Shop2: me too
06:11 PM Tom_dev: ttyl
06:11 PM JT-Shop2: k
06:42 PM mrec: does anyone have experience with a hexapod and linuxcnc?
06:43 PM mrec: I wonder what free or teleop motion is doing on a hexapod
06:45 PM cradek: free jogs joints, teleop jogs axes according to the kinematics
06:46 PM mrec: the regular system is just trying to reach the target system, eg if I jog from 0 to 20 inch but then reverse the position cmd (while the position is at 10 inch) linuxcnc might turn around at 15inch already (never reaching 20 inch)
06:46 PM mrec: target system / target position
06:46 PM mrec: I'm focussing on jogging
06:47 PM mrec: (not on RS274 commands)
06:47 PM mrec: of course RS274 will reach its target as commanded, but jogging can interrupt; so does this also apply to free / teleop?
07:02 PM roycroft: i got some "5/4" red oak yesterday that was a bit undersize - it was actually 1-3/16"
07:02 PM roycroft: by the time i got it flat it was 1-1/16"
07:02 PM roycroft: i needed to get two 1/2" boards out of it
07:02 PM roycroft: and i was able to do so, just barely
07:03 PM roycroft: i spent about a half hour setting up the bandsaw for the resaw cuts, and i cut the boards close to finished length when i started
07:04 PM roycroft: but just barely is still good enough :)
07:05 PM roycroft: the boards are actualy about 0.010" undersize after sanding, but that works for this project
10:43 PM CaptHindsight[m]: https://imgur.com/a/nccZjyS
10:45 PM XXCoder: hot
10:45 PM XXCoder: literally lol
10:46 PM roycroft: those are abom chips
10:49 PM Thorhian[m]: That’s quite the forging.
11:03 PM roycroft: the chips don't have any color to them, though