#linuxcnc Logs

Sep 14 2024

#linuxcnc Calendar

12:50 AM lcnc-relay: <captainhindsight_.> mrec: that was with openCV, look further back in the posts Oliver Dippel is working with it, I'm just posting examples
01:02 AM lcnc-relay: <captainhindsight_.> canny, Laplace, Sobel etc edge detect
05:06 AM lcnc-relay: <captainhindsight_.> meisterdippel opencv can give you the approximate locations of each edge
05:06 AM lcnc-relay: <captainhindsight_.> then you just need to have a probing routine to find the edges in high precision
05:07 AM lcnc-relay: <captainhindsight_.> you can do this with a low res camera
05:08 AM lcnc-relay: <captainhindsight_.> if you have a high res camera you can do it all without the probe, but you'll need good optics as well (zoom microscope)
05:11 AM lcnc-relay: <captainhindsight_.> yes I saw your posting of the Datron-Next software
05:12 AM lcnc-relay: <captainhindsight_.> had the day off so i can get to bed early :p
05:18 AM JT-Cave: morning
05:24 AM -!- #linuxcnc mode set to +v by ChanServ
05:34 AM Tom_dev: can't figure out why: if [EXISTS[#<_ini[TRAJ]LINEAR_UNITS>]] returns false
05:40 AM Tom_L: it's because it's not numeric
05:40 AM Tom_L: i assigned 1 and it found it
05:40 AM Tom_L: how to compare non numeric parameters?
05:42 AM Tom_dev: o100 if [#<_ini[TOOLSENSOR]LINEAR_UNITS> EQ 1]
05:42 AM Tom_dev: works
05:42 AM Tom_dev: o100 if [#<_ini[TOOLSENSOR]LINEAR_UNITS> EQ inch]
05:42 AM Tom_dev: does not
05:43 AM Tom_dev: tried 'inch' and <inch>
05:43 AM JT-Cave: prob a C thing which only deals with numbers
05:43 AM JT-Cave: (debug, #<_ini[traj]linear_units>) returns ######
05:43 AM Tom_dev: guess i'll add 0 or 1 to the toolsensor section then
05:44 AM Tom_dev: with a note
05:44 AM Tom_dev: kinda sux
05:45 AM Tom_dev: you read ini sections in flex don't you?
05:45 AM Tom_dev: or are they all numeric?
05:45 AM JT-Cave: yup
05:45 AM Tom_dev: looks like yours are all numeric
05:45 AM JT-Cave: gui = self.inifile.find('DISPLAY', 'DISPLAY') or False
05:48 AM Tom_dev: i got all the subs woking with ini parameters
05:49 AM JT-Cave: cool
05:49 AM Tom_dev: http://tom-itx.no-ip.biz:443/~webpage/cnc/cradek/updated_probe_routines/
05:49 AM Tom_dev: still working on a couple parameters
06:13 AM JT-Cave: https://youtu.be/ATVdmNqsQcw
06:15 AM Tom_L: nice
06:16 AM JT-Cave: only one thing left to program
06:16 AM Tom_L: what's that?
06:17 AM JT-Cave: build the resources.py file
06:41 AM Tom_L: ok i _think_ i have both imperial and mm done
06:41 AM Tom_L: will test after a break
06:53 AM JT-Cave: cool
06:53 AM Tom_L: and i think all the parameters are adjustable from the ini now
07:31 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/cradek/updated_probe_routines/
07:42 AM rdtsc_away is now known as rdtsc
07:48 AM lcnc-relay: <Travis Farmer> Tom_L: not sure if this is what you were looking for, in checking units, but there are named parameters:
07:48 AM lcnc-relay: #<_metric> - Return 1 if G21 is on, else 0.
07:48 AM lcnc-relay: #<_imperial> - Return 1 if G20 is on, else 0.
07:49 AM Tom_L: no, i knew about that
07:49 AM lcnc-relay: <Travis Farmer> ok
07:49 AM Tom_L: need system units so i can set g20 g21
07:56 AM Tom_L: JT-Cave, PR #81
08:02 AM JT-Cave: Tom_L, https://www.youtube.com/watch?v=mwedPrnVvY4
08:09 AM Tom_L: #82 just missed a minor thing
08:10 AM lcnc-relay: <Travis Farmer> may have to write a comp to do the INI file string value comparison, and return a numeric value, then pass the returned hal pin to gcode... very messy, but do-able
08:11 AM Tom_L: fix the resources.py file too i see
08:11 AM Tom_L: not worth my time
08:12 AM Tom_L: i went another route
08:13 AM lcnc-relay: <Travis Farmer> ok
08:17 AM JT-Cave: Tom_L, new version for resource builder
08:18 AM * JT-Cave starts his chicken day
08:23 AM JT-Cave: https://www.cardiffclassics.com/details-1963-chevrolet-corvette-fuel~injected_split_window-used-30837s107957.html
08:26 AM Tom_L: gonna be yours?
08:27 AM Tom_L: blue was kindof a giveaway
08:32 AM Tom_L: JT-Cave, PR #83 version
08:33 AM lcnc-relay: <Travis Farmer> exhaust would be better if they didn't use the pinch-bend turns... kinda restricts the flow...
09:30 AM JT-Cave1 is now known as JT-Cave
09:31 AM -!- #linuxcnc mode set to +v by ChanServ
09:31 AM JT-Cave: Tom_L, no, just showing you what I saw yesterday but his is black
09:39 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/probe.html Tom_L what do you think?
10:36 AM NetPipe: openmohaa got an update 2 weeks ago.
12:00 PM -!- #linuxcnc mode set to +v by ChanServ
12:01 PM JT-Shop: nap time
12:02 PM rdtsc: Just used an Ahp AlphaTIG 203Xi on a 3/4" wide tang of 3/16" aluminum plate. Melted bus-bar connection from loose bolt. As a newb to TIG, was able to piece them together. Not pretty stacked dimes, but good penetration; it'll hold. The shit I do for customers on a Saturday...
12:33 PM lcnc-relay: <captainhindsight_.> but you get paid Saturday prices 🙂
12:36 PM lcnc-relay: <roguish> JT-Shop: hey, are you gonna get part of the hurricane ?
12:46 PM Tom_L: JT-Shop, for the ini parameters?
12:46 PM Tom_L: roguish did you see the updated probe routines?
12:52 PM Tom_L: JT-Shop, i see now... to disable the spindle during probing. good idea
12:52 PM Tom_L: you could follow the sub naming convention to make it easier to keep track of except some are called by 2 buttons
12:53 PM Tom_L: X- X+ inX- inX_ etc maybe
12:53 PM Tom_L: hole id
12:56 PM Tom_L: niece's bday party all morning
12:57 PM JT-Shop: roguish it showed up they other day
12:57 PM Tom_L: really need someone with a decent probe setup to test these... i did what i could
12:58 PM JT-Shop: Tom_L, just thought that if the probing checkbox is checked to disable the spindle controls, run controls and mdi as well so no way to spin the spindle
12:58 PM JT-Shop: I have a probe that's good enough to test with but not good enough to machine with
12:59 PM JT-Shop: I thought you made a probe?
12:59 PM Tom_L: i can't find it
12:59 PM Tom_L: that was a while back
12:59 PM Tom_L: i still need to test the limit override box
01:00 PM Tom_L: maybe not today... that 5yr old wore this ole phart out
01:00 PM JT-Shop: lol
01:01 PM Tom_L: on the spindle, some would want a way to disable the enable
01:02 PM JT-Shop: the enable?
01:02 PM Tom_L: S0 worked for me but i know it doesn't on everything
01:02 PM Tom_L: spindle enable
01:02 PM JT-Shop: hmm what's spindle enable?
01:02 PM Tom_L: i'm not sure
01:04 PM Tom_L: spindle.0.on tells you it is
01:05 PM Tom_L: i ran my enable thru a relay iirc... still looking
01:05 PM john__: that's a hal pin
01:05 PM john__: ?
01:06 PM lcnc-relay: <roguish> Tom_L: I may have time today to load flex on my mill. where's your deb and instructions?
01:06 PM Tom_L: i have standalone routines you could try if you want
01:07 PM Tom_L: i still need to update the flex example with the latest probe stuff... been testing it on touch-probe which is just for test
01:07 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/cradek/updated_probe_routines/
01:07 PM lcnc-relay: <roguish> ok, no hurry
01:08 PM Tom_L: i took chris's and added ini settings for them
01:08 PM Tom_L: and got tool probe working
01:08 PM Tom_L: i just need a probe to check the accuracy of the moves
01:09 PM Tom_L: it all looks good on paper
01:11 PM Tom_L: even if you map a single pin to a halui button you could swap them out after testing
01:13 PM Tom_L: i may do some more digging to find my probe
01:13 PM Tom_L: it's accurate enough for this
02:21 PM Tom_L: the mystery of the missing probe continues
02:23 PM rdtsc: Assembled a 7c80/RPi power latch board... works except sim of gate leakage must have been waaaay off. Have a 47M draining 3x 15uF X7R in parallel, should drain it off in 6s according to sim, but seeing minutes with only 1pc of 15uf
02:23 PM rdtsc: guess should clean flux off board, since have seen that cause issues in the past
02:39 PM rdtsc: should have listened to gut, it said 1uF should be plenty. Better after cleaining board, but still too long
03:02 PM * JT-Shop takes 5 and has a bottle of vitamin B
03:12 PM JT-Shop: C3 headlight actuators are done and the mechanics work well now
03:12 PM JT-Shop: got a broken screw to get out in a hard to get to spot...
03:13 PM Tom_L: searched everywhere i could think of and all i came up with was some early test probe parts
03:13 PM JT-Shop: replace the relay valves and the headlights should be good to go
03:13 PM JT-Shop: well that sucks
03:13 PM Tom_L: yeah it wore my already tired ass out hunting
03:13 PM JT-Shop: really all you need is a stick with a switch for a single axis test
03:14 PM Tom_L: i wanted to measure the backoff distances etc after it touches the first time and probes the 2nd time then backs off the edge
03:16 PM lcnc-relay: <Travis Farmer> https://www.ebay.com/itm/185943395627 <-- thats the "cheap" probe i have... works pretty good, and is adjustable
03:16 PM Tom_L: i'll see if i can do it in software with the test switch on the mill
03:16 PM Tom_L: the switch should be somewhat repeatable
03:17 PM JT-Shop: how accurate is that probe?
03:17 PM JT-Shop: hmm 100% positive
03:17 PM lcnc-relay: <Travis Farmer> mine? seems alright for me
03:18 PM lcnc-relay: <Travis Farmer> says +- 0.0001 repeatable
03:18 PM JT-Shop: looks a lot better than the one I have
03:18 PM Tom_L: i can probably store the probe trip measurement and subtract from the return distance and get a number
03:18 PM Tom_L: anything looks better than the one i have :)
03:19 PM lcnc-relay: <Travis Farmer> lol
03:19 PM Tom_L: it's too tough to get the numbers from the display while watching the probe
03:19 PM JT-Shop: mcmaster has the hose clamps I need for $6
03:21 PM Tom_L: i got some oetiker clamps somewhere with the tool
03:21 PM Tom_L: i doubt i could find those either
03:21 PM JT-Shop: I have some as well... somewhere
03:23 PM JT-Shop: enable probing a checkable button or a checkbox?
03:23 PM JT-Shop: I'm thinking a checkable button so better for touch screens
03:27 PM JT-Shop: I wrapped the headlight wires with spiral sleeving on the drivers side so need to do that on the passenger side... somewhat concerned about loose wires getting hung up in the headlight mechanics
03:28 PM JT-Shop: if I can do that without taking the actuator out it will be nice
03:28 PM Tom_L: checkable button for what?
03:28 PM Tom_L: oh
03:28 PM JT-Shop: probe
03:28 PM Tom_L: isn't that what the buttons are for?
03:28 PM JT-Shop: enable probe and lock out spindle
03:29 PM Tom_L: you mean for disabling stuff?
03:29 PM Tom_L: yeah
03:29 PM JT-Shop: and enabling the buttons
03:29 PM Tom_L: and when it's checked the buttons come alive
03:29 PM JT-Shop: and when checked the things that can start the spindle are disabled
03:29 PM Tom_L: question is, how many buttons to code
03:30 PM JT-Shop: as many as you like... so long as the object name starts with probe_
03:30 PM Tom_L: do like the axis 0-x
03:30 PM Tom_L: the user gets to pick a unique name after probe_ ?
03:31 PM JT-Shop: yup
03:31 PM Tom_L: that works
03:32 PM Tom_L: is your probe NC or NO?
03:32 PM JT-Shop: nc iirc
03:32 PM Tom_L: same i think
03:33 PM lcnc-relay: <Travis Farmer> NC for mine
03:33 PM Tom_L: i'll come up with a way to display the probe numbers so i don't have to keep track just for the test
03:33 PM JT-Shop: ok
03:34 PM Tom_L: i gotta fix the configs on the mill now too
03:34 PM Tom_L: they're all screwed up
03:34 PM Tom_L: i guess i gotta go shopping right at the moment
03:34 PM Tom_L: later
03:35 PM Tom_L: maybe i can rig up a dial indicator and watch that
03:49 PM lcnc-relay: <roguish> Tom_L: here's the qtdragon versa-probe screens.....
03:49 PM lcnc-relay: <roguish> https://jauriarts.org/_matrix/media/v3/download/matrix.org/afQdePSjxOGBnmDwCvbhIgGy/Screenshot%20at%202024-09-11%2012-51-55.png
03:49 PM lcnc-relay: <roguish> https://jauriarts.org/_matrix/media/v3/download/matrix.org/aJswFJgcWlVjBdStZFXvOcxJ/Screenshot%20at%202024-09-11%2012-51-33.png
03:49 PM lcnc-relay: <roguish> https://jauriarts.org/_matrix/media/v3/download/matrix.org/HySNkNavaewpshNexhfyZxEg/Screenshot%20at%202024-09-11%2012-51-19.png
03:49 PM lcnc-relay: <roguish> https://jauriarts.org/_matrix/media/v3/download/matrix.org/rcJXWcXqhriVwspecXoSqYnq/Screenshot%20at%202024-09-11%2012-50-39.png
03:50 PM lcnc-relay: <roguish> https://jauriarts.org/_matrix/media/v3/download/matrix.org/JhvJQvOBLVsMsAZPgFRbzozS/Screenshot%20at%202024-09-11%2012-50-21.png
03:50 PM lcnc-relay: <roguish> the 'Probe Type' button toggles between them
03:56 PM lcnc-relay: <roguish> the left side number boxes are for speeds and distances, etc. the right side numbers are saved and calculated values
04:00 PM xxcoder: interestung ui
04:17 PM lcnc-relay: <Travis Farmer> just realized i can open the Flex .ui files with QT Creator in windows... not sure if the saved files are compatable, but if so, it would prove useful for making a Flex UI for my machine, while not AT the machine...
04:18 PM JT-Shop: I _think_ creator just adds something for C
04:18 PM JT-Shop: you should be able to use designer in windblows too
04:19 PM lcnc-relay: <Travis Farmer> i think i have both... let me check...
04:22 PM lcnc-relay: <Travis Farmer> yup, opens in QT Designer v5.11.1 under windows
04:22 PM JT-Shop: cool
04:26 PM lcnc-relay: <Travis Farmer> though i open the touch probe example and it is looking for a resources.qrc file
04:27 PM lcnc-relay: <Travis Farmer> maybe it only works without the resources? dunno
04:28 PM JT-Shop: if resources.qrc is created with designer it want's to find it again
04:32 PM lcnc-relay: <Travis Farmer> found resources.qrc, but it didn't like it (nothing in it?). found it in the images folder
04:34 PM lcnc-relay: <Travis Farmer> gotta run to store... drat...
04:48 PM Tom_L: JT-Shop, if you don't need it, say find new location and cancel it and it clears it
04:50 PM Tom_L: roguish, nice probe routines
04:54 PM JT-Shop: no need to use designer to create the resources.py file now
04:55 PM JT-Shop: gmopappy seems to be having major issues
05:04 PM Tom_L: ok, starting to set up the ssd for the shop tests
05:05 PM Tom_L: what's wrong with it?
05:06 PM JT-Shop: something about a race condition because it's trying to be smarter than the user
05:06 PM JT-Shop: g43
05:07 PM Tom_L: that's alot of settings on the versa-probe screen
05:07 PM JT-Shop: might be too busy lol
05:07 PM Tom_L: if you could interface the python it would be easier
05:08 PM Tom_L: but i'm doin what i'm doin
05:08 PM Tom_L: dunno how far i'll get
05:09 PM JT-Shop: how's that?
05:09 PM Tom_L: what?
05:10 PM JT-Shop: <Tom_L> if you could interface the python it would be easier
05:10 PM Tom_L: if the python worked it would be a matter of widget creation
05:10 PM JT-Shop: I'm not following
05:11 PM Tom_L: https://jauriarts.org/_matrix/media/v3/download/matrix.org/JhvJQvOBLVsMsAZPgFRbzozS/Screenshot%20at%202024-09-11%2012-50-21.png
05:11 PM Tom_L: and the rest roguish posted here
05:11 PM Tom_L: aparently it can be imported to axis
05:11 PM JT-Shop: oh yeah the inputs are important and need to be used in the subroutine
05:12 PM Tom_L: https://github.com/tlight9/probe_screen_v2/blob/master/Screenshot1024x768.png
05:12 PM Tom_L: looks like axis to me
05:13 PM JT-Shop: yup
05:13 PM Tom_L: some of that i wouldn't be able to code
05:13 PM Tom_L: like the rotation
05:13 PM Tom_L: maybe
05:24 PM JT-Shop: I'm wooped out
05:24 PM Tom_L: yup
05:24 PM Tom_L: gonna try and get a config working though
05:33 PM _unreal_: OK, so I could use a hand. I'm not sure where my error is but I have discovered that my steps per mm are off? so i'm traveling slightly farther then expected
05:33 PM Tom_L: inch or metric screw?
05:33 PM Tom_L: 5mm or 5.08 for inch?
05:34 PM _unreal_: first a question, i'm sure I know the answer but hummer me if I am wrong. my machine is setup with XYZ timing belt driven setup. the length of the timing belt does not matter only the pully teeth
05:34 PM _unreal_: the leadscrew is inch based
05:34 PM _unreal_: 13TPI
05:34 PM _unreal_: 1/2-13
05:34 PM JT-Shop: you have to adjust for belt stretch...
05:35 PM JT-Shop: been there done that
05:36 PM _unreal_: JT-Shop, https://photos.app.goo.gl/ggAPhV6uwbvr4jLs8
05:36 PM _unreal_: just so you can see what I'm working with
05:37 PM _unreal_: ok xyz have 1.8 degree motors all the same motor. all 3 are set to 1600 micro steps
05:37 PM JT-Shop: micro steps past 10 are not good
05:38 PM _unreal_: X and Y have 10 teeth on the motor, and 48 teeth on the pully
05:38 PM _unreal_: to the lead screw
05:38 PM JT-Shop: I thought you had a belt drive
05:39 PM _unreal_: y as you can see in the photos if you have looked has one motor driving a huge pully driving twin pullys and lead screws.
05:39 PM JT-Shop: oh well lead screw is simple
05:39 PM _unreal_: I said there is a belt driven pullys
05:39 PM _unreal_: driving the lead screws
05:39 PM _unreal_: all 3 axis have lead screws
05:39 PM JT-Shop: no stretch on that
05:40 PM _unreal_: and ?? I guess you can only see the pullys in the 2 short videos
05:40 PM _unreal_: I'll have to update that
05:40 PM * JT-Shop calls it a night
05:41 PM _unreal_: hum
05:47 PM xxcoder: https://youtu.be/mgog80pK-34
05:47 PM xxcoder: pretty cool grill
05:48 PM xxcoder: quite old
06:17 PM rdtsc: So I mod the 7c80/RPi to do switched power, and it works! But... it boots and there are no commands - no sudo, no ls, wth
06:21 PM rdtsc: How can it boot perfectly, without any fs or other errors, but not have bash or apt? I can't even reinstall binutils
06:21 PM rdtsc: what in the world is going on
06:22 PM rdtsc: p.s. have never interrupted power or had any fsck errors on this SD card, and it is low-hours
06:24 PM rdtsc: interesting... type in `set` and see: PATH='/home/cnc/bin:$PATH:/home/cnc/bin'
06:25 PM rdtsc: $PATH is not expanding
06:30 PM rdtsc: was totally my bad; had `export PATH='$PATH:/home/cnc/bin'` in the .bashrc... that needed to be `export PATH=$PATH:/home/cnc/bin` oops
06:32 PM rdtsc is now known as rdtsc_away
07:29 PM _unreal_: ok I have successfully corrected the steps calculations. I went to this web site. https://www.learnyourcnc.com/cnc-calculators
07:29 PM _unreal_: and entered all my numbers doing maximum distances of the machine.
07:30 PM _unreal_: the resulting distances are spot on. so there is something off in the dimentions of something? likely the pullys
07:30 PM _unreal_: regardless my numbers all lowered by a half a percent
07:30 PM _unreal_: or less
07:31 PM _unreal_: like 5090 steps per mm, to 5004 steps per mm kind of difference
07:31 PM _unreal_: but they add up fast
07:31 PM _unreal_: now my work area is what my tape measure says it is 470mm x 760mm
07:32 PM _unreal_: it was freaking me out. I was trying to build the create the waste board and mount system. and it kept showing the GCODE as a bigger area then my machine... and I was like WHAAAA??? that cant be
07:32 PM _unreal_: dbl check check again. curse swear, check again.
07:33 PM _unreal_: heh
07:33 PM _unreal_: so X and y where both off by about the same %
07:33 PM _unreal_: I was loosing 20mm total travel on x
07:34 PM _unreal_: more like 16
07:34 PM _unreal_: ya 16, 454 vs 470
07:34 PM _unreal_: and I have not cut anything that required precision
07:35 PM _unreal_: when I get paid I'm buying a new motion controller and getting away from this GRBL crap
07:35 PM _unreal_: paid from my second job
08:09 PM _unreal_: quiet tonight
08:10 PM _unreal_: rdtsc_away, ? psu shouldnt affect the OS installed
08:11 PM _unreal_: rdtsc_away, though if I was to suggest a PSU it would be the castle DC/DC psu's
08:23 PM _unreal_: rdtsc_away, not the one I was looking for but to give you an idea of what I'm talking about. https://www.amainhobbies.com/castle-creations-hydra-x-8s-brushless-marine-esc-cse010-0175-00/p1503639
08:24 PM _unreal_: ! good lord just looked at the price. the one I purchased was like $10 and rated for $10amps
08:25 PM _unreal_: regardless it could take a huge range of input power and be set to what ever you want output wise.
08:25 PM _unreal_: in anycase
09:02 PM NetPipe: ( ͡~ ͜ʖ ͡°) ( ͡ᵔ ͜ʖ ͡ᵔ) ( ͡° ͜ʖ ͡°) ( ͡⊙ ͜ʖ ͡⊙) ( ͡◉ ͜ʖ ͡◉) ( ಠ ͜ʖಠ) (ლಠ益ಠლ) ( ͡👁️ ͜ʖ ͡👁️)
09:19 PM xxcoder: heyy haiki is going to rc1 soon. that along with freecad have had so long time in beta
10:23 PM unreal: god I love spindles
10:24 PM unreal: I just put a 1/8th bit in and didnt realize that I took it from the counter rotation drill bit box for easy outs. I just purchased 2 new kits. regular bits and the easy outs.