#linuxcnc Logs

Mar 30 2019

#linuxcnc Calendar

12:00 AM pink_vampire: here it is http://linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g54-g59.3
01:44 AM fdarling: is anyone here familiar with rack & pinion and how to identify/spec it out?
01:44 AM XXCoder: not me, but hello
01:45 AM fdarling: hi
01:45 AM gloops: its just the same as gears - pitch, tpi etc
01:46 AM fdarling: I am trying to figure out the steps per mm/in for a Chinese CNC router, and from manual determination the number is really weird. I know the stepper motor steps/rev, and the gear ratio, and even the pinion teeth count, but I can't easily determine the tooth pitch on the rack
01:46 AM fdarling: and it seems that racks aren't usually spec'd by tooth pitch but rather by "pressure angle" and some diametric pitch angle or something weird
01:46 AM gloops: its the same as the drive gear fdarling
01:46 AM fdarling: gloops: what do you mean?
01:47 AM gloops: well obviously the rack has to be the same as the drive gear
01:47 AM fdarling: gloops: I think of it as how many steps per full turn of the pinion, and based off how many teeth it has, how many teeth does it roll over in the process of turning, so it would be related to the tooth pitch
01:47 AM fdarling: gloops: so if I have an 18T drive pinion, then what is the pitch?
01:48 AM fdarling: gloops: it's related to the diameter right?
01:48 AM gloops: its early for this lol
01:48 AM fdarling: gloops: I'm not trying to be dense here
01:48 AM gloops: ok outer circumference of drive gear divided by numer of teeth?
01:48 AM fdarling: https://www.mcmaster.com/5174t1
01:48 AM fdarling: gloops: would it be the very outer? or something less?
01:49 AM gloops: or just measure the pitch on the rack
01:49 AM fdarling: gloops: I tried, the numbers weren't making sense in metric nor inch
01:49 AM fdarling: gloops: empirically determining the steps per unit ended up with very strange numbers
01:50 AM gloops: [pitch 20mm?
01:51 AM gloops: that seems quite big but - if the pitch is 20mm and you have 18 teeth the distance per rotation is 18x20
01:53 AM gloops: https://khkgears.net/new/images/gear_rack/Movement-of-one-cycle-of-the-CP10-30-pinion-on-a-CP-rack-vs.SS3-30-m3-on-a-m3-rack.jpg
03:01 AM veek: https://myfordboy.blogspot.com/
03:02 AM XXCoder: love his stuff but doubt i will ever buy any lol
03:02 AM veek: same here heh
03:02 AM veek: very cool though
03:03 AM XXCoder: did you see recent video? it was nice.
03:03 AM veek: nope.. YT threw up 'Running the Hit and Miss Engine from Banggood.com'
03:04 AM veek: and i got curious
03:04 AM veek: what does banggood haveto do.. ergo..
03:04 AM XXCoder: yeah
03:04 AM XXCoder: latest video is another casting video, but he 3d prints part
03:05 AM XXCoder: and 3d mold for core also
03:05 AM XXCoder: i find it bit amazing that hes learning new stuff reardless retirement
03:06 AM veek: yeah retirement's a bogus word when you are into stuff
03:06 AM XXCoder: indeed
03:18 AM Deejay: moin
03:22 AM pink_vampire: the cnc machine become a bit smarter
03:23 AM XXCoder: yeah? hopefully not terminator smart. ;)
03:25 AM pink_vampire: find the tool setter, find the material, take the tool click on the tool setter, then rapid and park 10mm above the material
03:26 AM pink_vampire: XXCoder: ^
03:26 AM XXCoder: hmm
03:26 AM XXCoder: so you have to set toolsetter location each time?
03:26 AM pink_vampire: no
03:27 AM pink_vampire: it is set by the machine g53
03:27 AM XXCoder: so its set once and forget it?>
03:28 AM pink_vampire: correct
03:28 AM XXCoder: or rather set it once per power on
03:30 AM pink_vampire: yes, homing >find tool setter > find material x y > find material z > done, from this point the machine can set the tool with the tool setter with a click of a button
03:30 AM XXCoder: very nice
03:32 AM pink_vampire: and i don't need any tool holders or set any tool offsets, collets works just fine
03:36 AM XXCoder: yep!
03:37 AM XXCoder: much more convient, not quite to level of auto tool changers but quite good
03:37 AM XXCoder: once your machine can do auto home, it gets even more convient
03:38 AM XXCoder: hopefully repeatability is better than .0005" error
03:38 AM pink_vampire: I don't need ATC here I'm running single part anyway
03:38 AM XXCoder: but honestly dunno how precise older big cnc machines is
03:38 AM XXCoder: in least on homing
03:44 AM pink_vampire: XXCoder: ^
03:44 AM XXCoder: yeah thats true. though with atc you'd be able to have "common tools"
03:47 AM pink_vampire: most of my tools are 1/8" shank for the HF, and for the LS I just use any r8 collet i have / drill chuck
04:43 AM jthornton: morning
04:44 AM XXCoder: hey the jt
04:47 AM jthornton: what's up this morning
04:47 AM XXCoder: not a whole lot.
04:48 AM jthornton: wow it's 59°F right now with a high of 61°F for today
05:22 AM MarcelineVQ: kind of dreading summer at this rate
05:22 AM XXCoder: Marc we had record march here. it was higher than old record by 15f.
05:23 AM XXCoder: last 2 years we had very bad smopke due to all fires. i really dread upcoming summer. I probably will have to wear a mask all day for week or 2. or more
05:23 AM XXCoder: my room has hepa filter thankfully.
05:23 AM MarcelineVQ: yes
05:24 AM MarcelineVQ: yes to all of that :X
05:25 AM gloops: been nice here as well
06:08 AM Tom_L: morning
06:09 AM Tom_L: 37°F, Hi 46
06:22 AM Tom_L: not sticking but it's blowing snow outside
06:23 AM jthornton: 60°F here lol
06:25 AM Tom_L: can't figure out why i'm not able to save a sim configuration on my test pc
06:25 AM Tom_L: maybe it's a rights thing but i dunno what directories would be affected
06:38 AM jthornton: are you trying to copy a sim?
06:39 AM jthornton: the sims are so fucked up with simlinks owned by root you can't just copy them
06:40 AM jthornton: and that is just plain dumb to do that also dumb is to force you to make a copy of a sim just to look at it
06:44 AM jthornton: and while I'm up on this box why make it just as confusing as possible to newbee's by stepconf making the config as confusing as possible
06:46 AM gloops: lol, i never had much trouble with the generated configs
06:47 AM jthornton: now stepconf adds a call list hal file instead of just making it simple
06:48 AM jthornton: I don't have any problem either but I know how everything works, I'm just thinking from the eyes of someone who knows nothing about linuxcnc
06:50 AM jthornton: if I'm new I want to just look at the sims first then if I find one I like make a copy not fill my linuxcnc/configs directory up with a gillion configs just to see them
06:50 AM * jthornton gets off the box and goes back to mill touch v4
06:55 AM jthornton: and now the stepconf if you add the halui user interface it forces you to add mdi commands wtf is that for?
07:34 AM pink_vampire: https://images.harborfreight.com/hftweb/home-page2019/images032919/30off_coupon_470c.png
07:58 AM jthornton: good coupon
08:04 AM pink_vampire: what is the halpin for velocity ?
08:16 AM jthornton: joint.somenumber.velocity
08:17 AM pink_vampire: i mean the general velocity
08:20 AM jthornton: motion.current-vel
08:20 AM pink_vampire: it that a signal? or a pin?
08:21 AM pink_vampire: i'm trying to find it in the hal meter
08:21 AM jthornton: pin\
08:21 AM jthornton: open up Show Hal configuration\
08:21 AM pink_vampire: **hal configuration
08:23 AM pink_vampire: motion.current-vel give me mm/s
08:24 AM pink_vampire: is there a way to convert i in pyvcp to mm/min?
08:32 AM fdarling: pink_vampire: what do you mean by "i"? did you mean "it"?
08:32 AM pink_vampire: yes
08:33 AM fdarling: pink_vampire: when you say PyVCP, do you mean a custom panel you added to the side of AXIS?
08:33 AM fdarling: pink_vampire: I would imagine you could use a HAL component to scale the value up by 60 to go from units per second to minute
08:37 AM pink_vampire: yes, correct
08:37 AM fdarling: pink_vampire: do you need help with that?
08:37 AM pink_vampire: yes
08:37 AM pink_vampire: i have no idea how to do it
08:44 AM pink_vampire: this is line 74: net ipm-out pyvcp.feed-rate <= mult2.0.ou
08:44 AM pink_vampire: this is the error Debug file information: custom_postgui.hal:74: Signal 'ipm-out' of type 's32' cannot add pin 'mult2.0.out' of type 'float'
08:47 AM jthornton: data types must match, if not you must convert them
08:48 AM pink_vampire: i took it from here https://forum.linuxcnc.org/22-pyvcp/9992-feed-convertion?start=10#10062
08:48 AM jthornton: http://linuxcnc.org/docs/devel/html/man/man9/conv_float_s32.9.html
08:50 AM jthornton: wow that's from 2011, I'll see if it still works in master
08:50 AM pink_vampire: yeah.. i hope it will..
08:55 AM jthornton: yea it still works fine
08:56 AM jthornton: what pyvcp number display did you use? I'm guessing one that has s32 inputs
08:56 AM fdarling: pink_vampire: I just tested a way of doing it
08:56 AM pink_vampire: i want to use the bar type
09:00 AM fdarling: pink_vampire: https://pastebin.com/Fx2wFMXR
09:01 AM pink_vampire: lets see
09:05 AM pink_vampire: fdarling: THANKS!! work perfect!
09:10 AM * Tom_L puts the fire out under jthornton's box
09:11 AM Tom_L: jthornton, i wasn't trying to copy them but just install one from the menu
09:11 AM Tom_L: err well i guess it copies them to my local dir..
09:14 AM Tom_L: but either way, it won't create an icon or copy the files over
09:15 AM Tom_L: maybe someone should just add a 'chown' statement to the install help :)
09:31 AM jthornton: the config picker will force you to copy them when you run a sim the first time
09:31 AM * jthornton will be back in a bit
09:48 AM Tom_L: kindof a catch 22 if they won't copy
10:30 AM Jymmm: Morning folks
10:33 AM Deejay: good afternoon
10:35 AM gregcnc: wow, found not one, but two chucks for my lathe on ebay this morning
10:42 AM gloops: funny how stuff comes in batches like that, you see several of one thing in one week, then none of those same things again for months
10:43 AM gloops: usually when i want one
10:43 AM gregcnc: these are very unusual. I found one last year at three times the price
10:46 AM gloops: ive got an american taper chuck going rusty i ought to put it on ebay really, someone could be using it
11:01 AM jthornton: Tom_L: is this just a normal install?
11:19 AM jthornton: something ain't normal if sims won't copy
11:29 AM Tom_L: normal as they get
11:29 AM Tom_L: i don't remember if i used the iso or installed stretch and added preempt-rt
11:30 AM Tom_L: then upgraded to 2.8
11:35 AM jthornton: something ain't right for sure
11:36 AM jthornton: did it work before upgrading to master?
11:40 AM mase-tech: hi
12:14 PM flyback is now known as phlyback
12:26 PM phlyback is now known as flyback
03:21 PM skunkworks: http://electronicsam.com/images/greenmachine/20190330_150406.jpg
03:22 PM skunkworks: http://electronicsam.com/images/greenmachine/20190330_151518.jpg
03:42 PM net|: skunkworks you should downsize those images to 1200x800
03:43 PM net|: some linuxcnc'rs probably still use dialup
03:49 PM XXCoder: yep more remote areas anyway
03:58 PM jthornton: https://youtu.be/qlHIWr6WsIU
03:59 PM XXCoder: thats quite complete help system
04:00 PM jthornton: thanks
04:00 PM jthornton: old farts can't remember crap so having the list of g codes at the mill is a huge help
04:04 PM XXCoder: ill reward you with weird video https://youtu.be/lSkbdBahaQI
04:04 PM XXCoder: really funny
04:34 PM skunkworks: sorry - another big one..
04:34 PM skunkworks: http://electronicsam.com/images/greenmachine/20190330_162047.jpg
04:35 PM skunkworks: looks like it will work as an index.. (the little hole)
04:35 PM XXCoder: whats with damage to one of holes
04:37 PM skunkworks: should use a spanner - used a punch
04:38 PM XXCoder: doh
05:58 PM Tom_L: skunkworks for the spindle motor you've been testing?
05:59 PM Tom_L: hope you trim the screws before you add a belt :)
06:00 PM Deejay: gn8
06:01 PM Tom_L: JT-Shop is your gui ready to test live yet?
06:03 PM jthornton: which one?
06:04 PM jthornton: https://github.com/jethornton?tab=repositories
06:04 PM Tom_L: the last video
06:05 PM Tom_L: MDI
06:05 PM jthornton: yea most of it is working
06:05 PM Tom_L: can you display the tool table and set work offsets etc?
06:05 PM jthornton: https://github.com/jethornton/mill_touch_v4
06:05 PM Tom_L: i don't have touch though
06:06 PM jthornton: you can set g5x and g92 offsets
06:06 PM jthornton: works with a mouse too
06:06 PM Tom_L: and i can't really run it live due to wheezy
06:06 PM Tom_L: and rtai
06:06 PM jthornton: you need debian 9 or linux mint 19 I think to even run it
06:06 PM Tom_L: yeah
06:07 PM Tom_L: i've got 9 on the test pc but i'm having issues with it aparently
06:07 PM jthornton: yea wtf is up with that?
06:07 PM Tom_L: maybe i'll get a chance to work on it this evening
06:07 PM Tom_L: i've no idea
06:08 PM jthornton: you might try using my install instructions for debian 9
06:08 PM Tom_L: i got one graphic one going but it won't copy them now
06:08 PM Tom_L: i think i may have trouble with it even
06:08 PM jthornton: https://youtu.be/bwtQ2oS2QnY
06:09 PM Tom_L: the MDI stuff i wouldn't use so much
06:16 PM skunkworks: Tom_L: yes - the screws are a little long..
06:24 PM Tom_L: JT-Shop do you know where the sims are kept so i can chown the dir and try that?
06:29 PM jthornton: you could just clone and they are all there
06:29 PM jthornton: but if my system was that messed up I'd start over
06:30 PM Tom_L: funny thing is i was able to get gmocappy copied
06:31 PM Tom_L: it couldn't be that messed up being a fresh install with hardly anything done on it
06:32 PM jthornton: something is very wrong if you run the config picker and it can't copy the sim...
06:34 PM Tom_L: i suppose i could run the iso again but i've got everything set the way i want it now :(
06:34 PM jthornton: except it can't copy a sim...
06:35 PM Tom_L: oh.. i'm pretty sure i installed from debian because i didn't like the iso desktop
06:35 PM Tom_L: i wanted mate instead
06:36 PM jthornton: yea, I install mate desktop
06:36 PM jthornton: http://gnipsel.com/linuxcnc/uspace/index.html
06:49 PM Tom_L: chown fixed it
06:57 PM Tom_L: i would think /usr/share wouldn't be owned by root
07:16 PM Tom_L: JT-Shop where was your page for installing QtPyVCP?
07:16 PM Tom_L: oops.. found it
07:41 PM jthornton: yea usr/share is owned by root
07:42 PM infornography: is it for sale?
07:42 PM Tom_L: but it should allow users to read it right?
07:43 PM Tom_L: the 'copy' to usr dir is probably where it hangs
07:57 PM pink_vampire: i have a problem,
07:59 PM Jymmm: pink_vampire: Plan C ???
07:59 PM pink_vampire: how can i get angular feed on a separate pypcp bar?
08:00 PM pink_vampire: the linear feeds are 0-2400 mm/min but the angular feed is 0-86040 deg/min
08:01 PM pink_vampire: the bar is set to 0-2400, so any motion in the rotation axis make it go to the maximum
08:02 PM pink_vampire: the bar is connected to this code: https://pastebin.com/Fx2wFMXR
08:11 PM Tom_L: show a separate rotational axis bar?
08:12 PM pink_vampire: yeah
08:27 PM Tom_L: well i muffed something else up.. i may as well start over
08:27 PM Tom_L: JT-Shop, stretch uspace amd 64 what i want?
08:27 PM Tom_L: (that's what i labelled the disk anyway)...
08:29 PM pink_vampire: not sure
08:30 PM pink_vampire: Tom_L: do you know what is that halpin name for velocity per axis?
08:35 PM Tom_L: no
08:37 PM pink_vampire: i think i found it
08:37 PM pink_vampire: axis.0.joint-vel-cmd
09:15 PM Tom_L: hey gloops
09:32 PM Tom_itx is now known as Guest74348
09:35 PM Tom_itx is now known as Guest85174
09:55 PM net|: https://drive.google.com/file/d/1ztGd9Fc9l9Z-WaOL6_Xa4_Lkd5XLvDhx/view?usp=sharing fresh linux development image for virtualbox with qt and codeblocks preinstalled and a couple of ai libs.
10:03 PM net|: 4.1gb
10:16 PM net|: im hoping it went ok my router powercycled during upload
10:16 PM pink_vampire: make md5sum
10:18 PM net|: i sent feedback to google to ask for the option
10:20 PM pink_vampire: i mean - you need to make an md5sum locale on your computer, and this way we can compered it to the uploaded file, if the server will make md5sum to a broken file, it is not going to help us.
10:23 PM net|: a08ddf3b94dd8679482bb6877dcf09df Suse15leap.7z
10:24 PM pink_vampire: Suse15leap.7z (3.8G)
10:24 PM pink_vampire: your end show 4.1gb??
10:30 PM net|: yeah 3.8 is the max it will scan for viruses
10:30 PM net|: it uploaded ok it said, my internet is only 500kb/s usually so it'll be a while before i verify it
10:31 PM pink_vampire: here it is download on 6.3MB/s
10:31 PM Jymmm: net|: No no, you run md5sum on your computer, not on the uploaded file
10:32 PM net|: i did thats the number i gave
10:32 PM net|: pink_vampire impressive
10:38 PM net|: does that mean it takes 6 min to download 4100 mb ?
10:41 PM Jymmm: times 8
10:41 PM Jymmm: communictiations is in BITS, storage is in BYTES
10:43 PM pink_vampire: it id done!
10:44 PM * net| eagerly awaits md5 verification
10:45 PM XXCoder: just remember that theres difference between theorical max speed of connection vs real world
10:46 PM Elmo40: ugh... more snow...
10:46 PM Elmo40: when will Winter end?
10:47 PM XXCoder: alrerady ended for me
10:48 PM pink_vampire: 5%...
10:53 PM Tom_L: anybody recall jt's link to the deb for master 2.8?
10:55 PM Tom_L: ahh found it..
10:57 PM pink_vampire: net|: the md5 is correct
10:57 PM pink_vampire: it is unzip it now
11:07 PM XXCoder: https://www.youtube.com/watch?v=-QrnM3hJCt0
11:07 PM XXCoder: I love it!
11:11 PM pink_vampire: when you have 4bars for feed rate, it is soo cool to see them dancing with a complex gcode
11:19 PM net|: lol at humming bird, pretty good video thanks for the share.
11:21 PM XXCoder: no plm
11:58 PM infornography: You ever spend hours working on something that you're pretty sure will not work, but oh well?
11:59 PM net|: infornography , hours of frustration or just regular fun ?