#linuxcnc Logs

Nov 17 2018

#linuxcnc Calendar

01:18 AM XXCoder: whew
01:22 AM XXCoder: so far, frame is done, X and Y is done
01:22 AM XXCoder: "tool holder" and its tooltip is done
01:22 AM XXCoder: well tool isnt done, as its defined but not placed yet as I havent made Z assembly yet
01:27 AM XXCoder: https://imgur.com/a/396vn4N so much fun
02:10 AM Deejay: moin
02:10 AM XXCoder: hey
02:10 AM XXCoder: making screenshot a second
02:11 AM XXCoder: https://imgur.com/a/396vn4N
02:11 AM XXCoder: i just finisged vismach
02:12 AM XXCoder: just need to figure how to use it in first place, in linuxcnc
02:14 AM XXCoder: Deejay:
02:14 AM XXCoder: hey gloops https://imgur.com/a/396vn4N
02:15 AM gloops: is this yours XXCoder?
02:15 AM XXCoder: yep
02:15 AM XXCoder: took me few hours to make it
02:16 AM XXCoder: nothing like making it myself to make me understand how to build machine!
02:16 AM gloops: lol, is it a plan for a real build then?
02:16 AM XXCoder: no
02:16 AM XXCoder: understanding vismac
02:16 AM XXCoder: vismach
02:16 AM XXCoder: unfortunately im not done yet
02:16 AM gloops: ahh, well its good for getting your head round the principles
02:17 AM XXCoder: I still need to figure how to get lkinuxcnc to connect to ut
02:17 AM XXCoder: and operate it as machine
02:17 AM gloops: yeah not something ive tried
02:18 AM XXCoder: its almost lost art
02:18 AM XXCoder: theres info on machine creation, and almost none on actually using it.
02:19 AM gloops: https://www.youtube.com/watch?v=PfZwpjUs1xI
02:19 AM gloops: could add toolchanger
02:19 AM XXCoder: sure but I dont plan to
02:19 AM XXCoder: mine is simple for tutorial
02:19 AM gloops: i think ive seen vids by cradek
02:19 AM XXCoder: I plan to make basic cnc router also
02:20 AM gloops: tutorial online would be good if there are none now
02:20 AM XXCoder: my machine idea is from that one btw
02:20 AM XXCoder: mine is very simple because it teaches basics
02:20 AM XXCoder: router I will import obj files and so on
02:23 AM XXCoder: jt's version of vismach page is very helpful
02:23 AM XXCoder: I think its jt's anyway
02:23 AM gloops: well there does seem to be a big empty space for linuxcnc tutorials now ichs channel has gone
02:23 AM XXCoder: theres other one thats far more updated but missing lot of info
02:24 AM XXCoder: yeah if I had a shop and lot more time I'd as well do it
02:24 AM XXCoder: but I cant afford to do it sadly
02:24 AM XXCoder: shop would cost $50,000 or so
02:24 AM XXCoder: more when electricity is factored in
02:25 AM XXCoder: plus once its setup I'd need more time, which translates to expense. :(
02:26 AM XXCoder: ich had tons of time as he was mostly retired
02:26 AM XXCoder: you got around 50 million bucks? lol plus $60,000 to complete shop? lol
02:27 AM gloops: yeah the time factor is important
02:27 AM XXCoder: 50 million is where I figure interest alone would support me
02:28 AM gloops: 50 000 to build a shop and equip it?
02:28 AM gloops: or do you already have a space
02:28 AM XXCoder: has land space for it but its not built
02:28 AM XXCoder: we planned to do it this year
02:28 AM XXCoder: but house problems blew it up
02:29 AM gloops: yeah theres always something else
02:29 AM XXCoder: now making new HAL :)
02:30 AM gloops: lol, id love to get into it, a thousand others things to get going first though
02:31 AM gloops: going to knock some boxes out this weekend, also got 50 small stamps to make
02:31 AM gloops: even when you have a working machine you never have time to get it to the stage where its a going concern lol
02:32 AM XXCoder: i plan to use mine for enjoyment alone really
02:32 AM XXCoder: maybe sell artworks done with it
02:32 AM XXCoder: but not professional machining
02:33 AM gloops: well if you start putting artworks on display it wont be long before enquiries start
02:33 AM XXCoder: yeah
02:35 AM gloops: then theres different techniques and ways of doing things to work out, 5 different cam software to learn, drawing apps, finishing everything lol
02:37 AM XXCoder: my machine workspace is apparently 1000mm, 200mm, unknownmm
02:37 AM XXCoder: I am figuring on Z right now
02:38 AM gloops: does this take any deflection calculations into consideration, stresses, speeds etc
02:39 AM gloops: like a real test of a design
02:39 AM XXCoder: nope its infinitely hard machine
02:39 AM gloops: ah ok
02:39 AM XXCoder: I think it actually detects impacts though
02:39 AM XXCoder: like tool on body of machine
02:39 AM gloops: even that is useful though
02:39 AM XXCoder: or part on other part
02:40 AM XXCoder: 400 - 160 lets see
02:41 AM XXCoder: looks like height is 240
02:43 AM XXCoder: -240 to 0 mm
02:44 AM XXCoder: its pretty good for made up machine
02:44 AM XXCoder: 1m width, 200 Y and 240 Z
02:44 AM gloops: useful work envelope
02:45 AM XXCoder: its not huge but definitely usable lol
02:45 AM XXCoder: I was thinking one of those small machines when I designed it
02:50 AM XXCoder: drat! first run failed
02:50 AM XXCoder: it successfully loaded my mill
02:50 AM XXCoder: but it crashed on something I think I misconfigured pin to joints in mill
02:51 AM XXCoder: it keeps saying "waiting for s.axws"
02:56 AM XXCoder: I dont understand HAL enough to see what I did wrong
02:56 AM XXCoder: you?
02:59 AM gloops: not come accross that message before
03:00 AM XXCoder: still figuring HAL
03:00 AM gloops: my little knowledge of HAL is mostly where ive had a specific problem lol
03:00 AM XXCoder: in example net j0 axis.0.joint-pos-fb 5axisgui.joint0
03:00 AM XXCoder: last one is link to vismach file
03:00 AM XXCoder: second to last is unknown
03:01 AM XXCoder: its never named elsewhere in HAL
03:02 AM rmu: if somebody is interested: asus tinkerboard with 4.14.81-rt41 seems to have decent latency, s=3.8, max about +-100, after 6 hours parallel to some compiling, chromium browser and apt-get updating the system
03:02 AM rmu: without isolcpus or any other optimization tricks
03:02 AM XXCoder: 3.8 seconds?
03:03 AM rmu: µs
03:03 AM rmu: std-dev is 3.8 us
03:03 AM XXCoder: if I recall good range is 15000 to 50000
03:03 AM XXCoder: what did you get?
03:04 AM rmu: my units are us, yours obviously ns
03:04 AM XXCoder: hmm can you translate it to ns?
03:05 AM rmu: 1 us = 1000 ns
03:05 AM XXCoder: so its decent indeed
03:05 AM rmu: sufficient for 1khz servo thread
03:05 AM XXCoder: slightly worse than my pc but then that ones one board pc right?
03:05 AM rmu: yes
03:05 AM XXCoder: usrrmot: error: command timeout
03:06 AM rmu: feels very fast, this really is useable for web-browsing
03:06 AM XXCoder: bah i dont know what im doing with hal
03:06 AM rmu: 2gig ram and emmc
03:06 AM XXCoder: wow all in one linuxcnc package
03:06 AM rmu: will hook up the mesa 7i90 later today
03:07 AM rmu: it is about 2 times the price of a rpi with sd-card, but it seems worth it
03:08 AM XXCoder: okay its linuxcnc error not related with vismach
03:09 AM XXCoder: of course! my computer is sim only, no rt
03:14 AM XXCoder: rmu: seems so
03:14 AM XXCoder: there is one kickstarter one that seems very strong
03:14 AM XXCoder: dual 4 core cpus
03:15 AM XXCoder: maybe plenty of power for linuxcnc but as large as raspiberry pi
03:15 AM XXCoder: https://www.kickstarter.com/projects/802007522/up-core-the-smallest-quadcore-x86-single-board-com
03:16 AM XXCoder: dont think its same ine. not sure
03:17 AM XXCoder: https://www.kickstarter.com/projects/librecomputer/libre-computer-board-tritium-sbc-linux-android-7-n/
03:37 AM XXCoder: gloops: got a virtal machine to run, but not mine
03:37 AM XXCoder: its olvious issue with my ini or hal
03:37 AM XXCoder: not figured what yet.
03:59 AM rmu: for "real" applications you want eMMC in a SBC and not multi-bits-per-cell SD-cards. there are industrial sd-cards with improved durability, but they are expensive
04:00 AM XXCoder: interesting
04:14 AM XXCoder: be bck in a bit
04:51 AM Deejay: re
04:57 AM XXCoder: wb
04:58 AM jthornton: morning
04:58 AM XXCoder: hey jthornton good news
04:58 AM XXCoder: I found example of actually showing tool in viscnc
04:58 AM XXCoder: vismach
04:58 AM jthornton: cool, where at
04:58 AM XXCoder: hbm
04:59 AM XXCoder: its at /usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/vismach/
04:59 AM XXCoder: most examples is broken
04:59 AM XXCoder: but... https://imgur.com/a/396vn4N
04:59 AM XXCoder: check it out
05:00 AM XXCoder: ill be back in couple minutes has cold stuff to put aaway
05:00 AM jthornton: ok
05:04 AM XXCoder: back
05:04 AM XXCoder: what ya think of machine I designed
05:05 AM jthornton: nice and simple and I like simple for examples
05:05 AM XXCoder: indeed
05:05 AM jthornton: did you make it from primitives?
05:05 AM XXCoder: I think I will use obj loading example in cnc router, for second example
05:05 AM XXCoder: yep
05:05 AM XXCoder: unfortunately its not all flowers
05:06 AM XXCoder: I am unable to run simple 3 axis machine I made with stepgen
05:06 AM XXCoder: very strange errors
05:06 AM XXCoder: its same if I include vismach or not
05:07 AM jthornton: I usually just modify the axis sim
05:08 AM XXCoder: I probably will, right now just snacking a little
05:11 AM XXCoder: hbm HAL is bit odd though
05:12 AM XXCoder: it sets fixed tool diameter and length, but line right below that grabs tool length data and sends it to vismach
05:12 AM XXCoder: but that is commented out
05:12 AM XXCoder: maybe its bugged or maybe it was old version that was bugged
05:12 AM XXCoder: plan to play around once I get my machine actually "running"
05:15 AM XXCoder: jthornton: I also has theory that I havent followed up and tested yet
05:15 AM XXCoder: tooltip definition starts at 0,0,0 and is pointing downwards
05:16 AM XXCoder: so you gonna place part it will be attached to it there, group together, then tool moves with group
05:17 AM XXCoder: I hope its downwards, as it would be lot more fun if its upwards
05:34 AM jthornton: XXCoder: that 15" touch screen is really nice and big enough I can see everything lol
05:34 AM XXCoder: for chicken door controls?
05:35 AM jthornton: for general RPi programming, the 7" one is for the chicken door as it will just have the stats and some manual buttons on it
05:40 AM jthornton: going on a little vacation today to beaver lake arkansas
05:40 AM XXCoder: makes sense
05:40 AM XXCoder: yeah? having a nice vacation eh :(
05:40 AM XXCoder: err :)
05:42 AM jthornton: yea just some get away time for us to relax
05:42 AM Deejay: going fishing?
05:42 AM XXCoder: nice. and yep people need that sometimes
05:43 AM jthornton: no, but that is a good fishing lake
05:43 AM Deejay: :) hope you have a good time
05:44 AM jthornton: https://www.arkansas.com/fishing-spot/beaver-lake
05:44 AM Deejay: wow
05:45 AM jthornton: we are staying here http://pointewestmotel.com/
05:50 AM XXCoder: jthornton: it runs!
05:50 AM XXCoder: testing stuff tho
05:51 AM jthornton: cool
05:51 AM XXCoder: running linuxcnc logo gcode now
05:53 AM XXCoder: its running! while I dont know where tool is pointing due to it being zero length, it works.
05:53 AM XXCoder: location looks correct tho
05:53 AM XXCoder: its exgraving at exact center of "tool holder"
05:55 AM XXCoder: https://imgur.com/a/396vn4N refresh
05:57 AM jthornton: making progress!
05:58 AM XXCoder: yeah. I should make table 100mm wider on both sides though so it dont look dangerously moving off y block lol
06:03 AM XXCoder: its seriously gratifing to see machine run after hours of "building"
06:06 AM jthornton: we get this documented so anyone can follow along it will be much easier for newbee's to try linuxcnc
06:07 AM XXCoder: indeed
06:07 AM XXCoder: 133 lines
06:07 AM XXCoder: thats how large my machine file is
06:08 AM XXCoder: granted, its heavily commented
06:08 AM jthornton: that's not that big
06:08 AM XXCoder: it is to me, since its 100% typed by me. not one line was copy pasted
06:09 AM XXCoder: im still not certain if work can be defined by linuxcnc
06:09 AM XXCoder: ie stock block
06:09 AM XXCoder: even with my discovery its hard to figure tool also
06:10 AM XXCoder: man
06:10 AM XXCoder: linuxcnc example should be split into "techinical examples" and "fun visual examples"
06:25 AM XXCoder: umm
06:25 AM XXCoder: jthornton: maybe im a dumbass, I set g28 x500. and it goes there, but then returns to home?
06:25 AM XXCoder: what am I missing?
06:27 AM jthornton: G28 axes - makes a rapid move to the position specified by axes including any offsets, then will make a rapid move to the absolute position of the values in parameters 5161-5166 for all axes specified.
06:27 AM jthornton: what did you want it to do?
06:27 AM XXCoder: just move to end of table
06:28 AM jthornton: G0 X500
06:29 AM XXCoder: that would work but wouldnt it go past if it wasnt at zero but bit to right?
06:30 AM jthornton: G28?
06:30 AM XXCoder: g28 g0 x500.?
06:31 AM XXCoder: note I understand gcode in most cases as its simple but I always thought g28 is simply use machine coord?
06:31 AM jthornton: G28 is go to predefined position I don't think you can use G0 on the same line
06:32 AM XXCoder: hmm I guess I wasnt understanding g28 correctly
06:32 AM jthornton: ah no G53 G0 X500 go to absolute position
06:32 AM jthornton: absolute machine position
06:32 AM XXCoder: ahh yeah. some machines has g53 as machine position
06:32 AM jthornton: http://linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g53
06:32 AM XXCoder: unfortunately not all
06:32 AM jthornton: http://linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g28-g28.1
06:33 AM jthornton: yea once you get past G0 and G1 G code will change and even G0 can be different lol
06:34 AM XXCoder: I dont have any gcode exmaple that actually use tool height comp
06:34 AM XXCoder: h
06:34 AM jthornton: G0 some place in linuxcnc is a coordinated move while in my DX32 controller it is move Z first then move XY
06:38 AM XXCoder: some machines at work its configurable
06:38 AM XXCoder: though I like z first because I hate xz or yz moves
06:38 AM jthornton: what is?
06:38 AM XXCoder: order of rapid to home
06:38 AM jthornton: that can be nice
06:41 AM jthornton: I almost want to bring my RPi with the 7" monitor but can't think of a way to transfer via ssh from my laptop
06:43 AM Tom_L: morning
06:43 AM XXCoder: odd
06:43 AM XXCoder: something broken with my HAL or machine file
06:43 AM XXCoder: tool change causes excessive postive z movement
06:44 AM XXCoder: ah net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
06:44 AM jthornton: morning
06:44 AM XXCoder: left over from axis example
06:44 AM XXCoder: hey Tom_L
06:45 AM XXCoder: did you see imgur link? pretty awesome
06:45 AM Tom_L: yes
06:45 AM Tom_L: pretty cool
06:45 AM XXCoder: how do I change those so it works?
06:45 AM Tom_L: take a look at andy's carousel demo
06:46 AM jthornton: hmm the internet says I can just connect the laptop to the RPi with a network cable and the RPi is smart enough to sort it out
06:46 AM Tom_L: don't remembe where it is off hand but it's out there
06:46 AM Tom_L: with a name like that....?
06:47 AM XXCoder: isnt that automated?
06:47 AM Tom_L: now maybe if it were apple pi or something..
06:47 AM Tom_L: err no, that name's taken
06:47 AM Tom_L: XXCoder i'm not sure
06:49 AM jthornton: VMC_Toolchange in the Axis Sim section
06:49 AM Tom_L: jthornton, goin thru eureka springs on the way?
06:49 AM jthornton: aye
06:49 AM Tom_L: couple interesting places there
06:50 AM jthornton: it's a few miles from where I'm staying and the only place to eat lol
06:52 AM russian_troll: Tom_itx: Today's Log http://www.isaeff.net/logs/%23linuxcnc/2018-11-17.html
06:53 AM Tom_itx: that's what i get for typing in the dark
06:53 AM Tom_itx: hit the damn 'windows' button and it shut the pc down
06:54 AM Tom_itx: i think the Kelly House is one
06:55 AM XXCoder: fixed hal
06:56 AM XXCoder: cds.ngc is good example
06:56 AM XXCoder: finally found one
06:58 AM XXCoder: jthornton: only thing left is tooltip, as it doesnt change machine head position with tool length
06:58 AM XXCoder: so its still on surface of "collet"
07:00 AM XXCoder: what hbm does is have two pins:
07:04 AM XXCoder: c.newpin("tool-length", hal.HAL_FLOAT, hal.HAL_IN) and other for diameter
07:04 AM XXCoder: in HAL it has this: setp hbmgui.tool-length 2
07:04 AM XXCoder: fixed size but theres also commented out code:
07:04 AM XXCoder: #net tool-len motion.tooloffset.w hbmgui.tool-length
07:11 AM XXCoder: hey jthornton
07:12 AM XXCoder: you know what HAL entry is for tool diameter?
07:26 AM weenerdog: howdy
07:27 AM XXCoder: hey
07:31 AM weenerdog: what kinda stuff do you make?
07:31 AM XXCoder: me? lots random stuff I dont know anything about
07:35 AM weenerdog: cool
07:38 AM weenerdog: i'm weighing buy vs. build for a home setup.
07:39 AM weenerdog: or buy smaller one and use it to build a bigger one :)
07:40 AM XXCoder: yeah thats a possibility also. mill router or other?
07:41 AM weenerdog: router. i do intricate woodwork. and it starts with 3d drawings anyway. i just print the drawings as a topo map and rout right thru the paper to the line, reset depth, go to next line. making me kinda the nc controller :)
07:42 AM XXCoder: wood + router = easiest one you can do
07:42 AM weenerdog: ja it aint really rocket surgery. plenty of info.
07:43 AM gregcnc: have you checked to see what kind of machines are available?
07:43 AM weenerdog: yeah
07:43 AM gregcnc: is your time worth building one?
07:44 AM weenerdog: well i raise christmas trees and work in tourism so my winters are kinda idle. i have the time.
07:45 AM gregcnc: vs time making whatever the machine is going to make?
07:46 AM gregcnc: if it's business it's one thing, if it's starting as a hobby or testing the waters that's another
07:47 AM weenerdog: well i'm thinking buy the smallest that will do what i need to do immediately and use it to make a bigger one over time.
07:48 AM weenerdog: it is a business and a 2'x2' will pay for itself quickly
07:49 AM weenerdog: and the parts i will do with cnc are already nurbs surfaces, so thats in the bag
07:50 AM weenerdog: like i said, i just intersect the nurbs surfaces with planes at 1/32" intervals and print it out and route thru the paper. so i dont have to deal with getting my stuff ready to carve too much. cnc just makes sense. big time saver.
07:51 AM gregcnc: people do a lot with small routers. you know the scale of what you're doing and what it may be going forward
07:52 AM weenerdog: it needs to handle an archtop guitar body. i make them and mandolins.
07:54 AM gregcnc: are there multiple tools involved?
07:55 AM XXCoder: jthornton: man
07:55 AM XXCoder: it took forever for me to figure how the heck tool thing works
07:55 AM XXCoder: its still messed up but in least machine is displaying again
07:56 AM weenerdog: nah not really. one round nose router bit will do the part that would save me the biggest time
07:56 AM weenerdog: eventually i would like to automate more of the thing but carving the soundboards is the biggie. think a very precise dish front and back
07:58 AM Rab: weenerdog, what's the tool diameter? And do you use like a palm router, or a big 1.5HP thing?
07:58 AM weenerdog: big one now. but a palm router would do it
07:58 AM Rab: (This sounds like light work, but thought I'd ask)
07:58 AM weenerdog: it is
07:58 AM weenerdog: spruce and maple
07:59 AM weenerdog: like dat https://beta-static.photobucket.com/images/q306/weenerdog/top_finished1.jpg
07:59 AM Rab: weenerdog, you say a 2x2 router would pay for itself quickly. Are you calculating that on a $1K machine cost, $2K, $5K?
08:00 AM weenerdog: doesn't matter really. they sell for a lot.
08:01 AM weenerdog: $2k, a couple pieces and i'd be flush
08:01 AM Rab: Do you have high production volume? Like are you bounded only by how fast you can produce now?
08:01 AM weenerdog: no
08:01 AM weenerdog: low. it takes me about 60 hrs of handwork each. thus my desire for a computer controlled employee :)
08:02 AM XXCoder: jthornton: almost got it! its engraving at correct spot, but tool cylinder is pointing other way!
08:02 AM Rab: weenerdog, for sure. But could you sell more if you could produce faster? I guess there's still considerable manual labor in sanding and finishing.
08:03 AM weenerdog: oh the soundboards would still have considerable handwork. i just want to do the rough carving.
08:04 AM weenerdog: https://beta-static.photobucket.com/images/q306/weenerdog/last_look_inside.jpg <--- the final work is i actually tune the whole assembly so each of those skinny braces produces a different specific tone when tapped.
08:04 AM weenerdog: and now you know more than the average bear about how a mandolin is put together :)
08:04 AM XXCoder: its working! yay :) now to test it with defined tool info rather than hardcoded
08:05 AM Rab: weenerdog, I suppose I would steer away from a DIY project unless that's interesting to you. It could take months or a year to have a usable machine, and that activity will take time from your actual business. Any money saved would be canceled out by lost production, and then some.
08:06 AM weenerdog: well it would certainly be a detour
08:06 AM Rab: weenerdog, nice. Any pics of finished instruments?
08:06 AM weenerdog: sure
08:07 AM weenerdog: https://beta-static.photobucket.com/images/q306/weenerdog/finished_front.jpg
08:07 AM weenerdog: https://beta-static.photobucket.com/images/q306/weenerdog/finished_back.jpg
08:08 AM Rab: weenerdog, cool!
08:08 AM weenerdog: but i have other things i'd like to make as well
08:09 AM weenerdog: complex little things :)
08:12 AM XXCoder: jthornton: help? lol
08:12 AM XXCoder: hey gloops making big progress but having problems
08:12 AM XXCoder: i can't find ANY hal entry to get tool diamerter
08:12 AM XXCoder: only length
08:13 AM gloops: good XXCoder - about the progress, not the problems lol
08:16 AM miss0r: When was the last time anyone saw diverdude in here?
08:17 AM gloops: hmm, cant say ive noticed him for a week or so
08:17 AM MarcelineVQ: nov 05
08:22 AM XXCoder: motion.tooloffset.diam dont exist though it is part of tool offset table
08:22 AM XXCoder: x to w, diam etc
08:24 AM XXCoder: tool length updates work now!
08:24 AM XXCoder: if only I knew how to get tool diameter or radius
08:24 AM XXCoder: then it is done period lol
08:25 AM weenerdog: that last 100 yards :)
08:25 AM XXCoder: yeah
08:26 AM XXCoder: for lols I have set radius to velocity
08:27 AM XXCoder: lol
08:27 AM XXCoder: its changing with speed
08:27 AM XXCoder: imange the nightmare for machinists if that was true
08:29 AM gloops: hmm, mrs away for weekend, made a big batch of stuff for meatballs, took some with her left me the rest, been frying it as burgers, not sure how long one should eat burgers for every meal for lol
08:29 AM weenerdog: once upon a time i ran wire edms and had a comedian in the office upstairs who did things to make life interesting, xx
08:30 AM weenerdog: gloops, til its gone
08:30 AM XXCoder: lol
08:30 AM gloops: yeah thats what i thought
08:30 AM weenerdog: damn i bet meatball burgers are good
08:31 AM weenerdog: you just got about 1000 man points for that one
08:31 AM MarcelineVQ: XXCoder: are you trying to get the dia from the tool table?
08:31 AM XXCoder: in HAL yeah
08:31 AM XXCoder: motion.tooloffset.z is for z offset, but theres nothing on diameter so far
08:32 AM weenerdog: there is no screw off job like 2nd shift wire operator.
08:33 AM XXCoder: its probably not in tooloffset group but there is NO listing of aviliable info anywhere anyway
08:34 AM XXCoder: umm http://www.machinekit.io/docs/common/python-interface/#reading-machinekit-status
08:37 AM MarcelineVQ: in 2.8+ halui has tool diameter info http://linuxcnc.org/docs/devel/html/man/man1/halui.1.html I don't know where it gets that from though
08:38 AM XXCoder: halui.tool.diameter
08:38 AM XXCoder: might work
08:38 AM XXCoder: looks like no
08:39 AM MarcelineVQ: What is the goal?
08:40 AM XXCoder: somehow get diameter value in HAL
08:40 AM XXCoder: so my machine can correctly display tool diameter
08:41 AM XXCoder: it does exist apparently
08:41 AM XXCoder: halui anyway
08:42 AM XXCoder: diameter one dont seem to work though or maybe im just using it wronmg
08:42 AM MarcelineVQ: check tool number to see if it's looking at the right one, then check to see if that dia is filled in on the tool table. that's all I got hehe, never done that stuff myself
08:43 AM MarcelineVQ: fwiw found that hal info via grep -ira "diam" ./docs/man
08:44 AM XXCoder: in what directory?
08:44 AM MarcelineVQ: the linuxcnc source dir
08:44 AM MarcelineVQ: rather, the main dir of linuxcnc if you grab the source
08:45 AM MarcelineVQ: not like, src/ dir
08:48 AM XXCoder: it needs NMI file
08:48 AM XXCoder: *NML
08:48 AM XXCoder: dunno what it ius
08:48 AM gregcnc: tool diameter is in the tool table, where else could it come from?
08:48 AM XXCoder: gregcnc: yeah but I cant find a way to get it in HAL
08:49 AM XXCoder: so it can send info to vismach to render
08:49 AM XXCoder: lthis one works correctly for length:
08:49 AM XXCoder: net tool_len motion.tooloffset.z rolfmill.toollength
08:49 AM XXCoder: I tried similiar but with d, dia or diam but didnt work
08:53 AM enleth_ is now known as enleth
08:56 AM XXCoder: yes!
08:56 AM XXCoder: halmeter
08:56 AM XXCoder: it shows all possible pins
09:00 AM XXCoder: none of em is radius or diameter.
09:00 AM gregcnc: 5410?
09:01 AM XXCoder: 5410?
09:02 AM weenerdog: whut about 'width'?
09:06 AM XXCoder: gregcnc: so thats tool diameter parameter?
09:06 AM XXCoder: how do I access it in HAL if so?
09:08 AM XXCoder: tried #5410, says pin required, not given
09:19 AM XXCoder: man apparently halui.tool.number exists but not diameter
09:21 AM MarcelineVQ: wonder if it's a version discrepency
09:21 AM XXCoder: hmm what is \f special charactor of?
09:21 AM MarcelineVQ: could be worth checking with a newer version
09:22 AM MarcelineVQ: https://en.wikipedia.org/wiki/Page_break#Form_feed
09:22 AM XXCoder: oh. well this is page been reading https://github.com/LinuxCNC/linuxcnc/blob/master/docs/man/man1/halui.1
09:22 AM MarcelineVQ: that escape characters depend on the langguage
09:22 AM MarcelineVQ: *though escape
09:23 AM MarcelineVQ: But is that the version of software you have
09:23 AM XXCoder: a second
09:24 AM XXCoder: 2.7.14-47
09:24 AM MarcelineVQ: you goofer, I said earlier that documentation is for 2.8 and newer :>
09:25 AM XXCoder: isnt 2.28 still unstable?
09:25 AM XXCoder: 2.8
09:25 AM XXCoder: so there is nothing for 2.7?
09:25 AM MarcelineVQ: dev doesn't mean unstable, though it does mean the potential is higher
09:26 AM MarcelineVQ: Realistically it can also means the potential is lower, come to think of it. dev just means things are being changed more often
09:26 AM XXCoder: gmoccapy.tool-diameter doesnt work either drat
09:28 AM Tom_itx: you're not cutting chips so i'd use 2.8 for your testing
09:28 AM Tom_itx: even so, i think 2.8 would cut chips
09:28 AM XXCoder: I dont want examples that specify latest only
09:28 AM XXCoder: I suppose can always just set tool diameter to 10 and leave it there
09:29 AM XXCoder: with commented out halai diameter line
09:29 AM XXCoder: can HAL grab any of gcode parameter like 5410?
09:31 AM XXCoder: lol https://forum.linuxcnc.org/20-g-code/32723-reading-hal-pins-from-gcode-solved this is exactly opposite direction
09:32 AM Tom_itx: http://linuxcnc.org/docs/html/gcode/overview.html#sub:numbered-parameters
09:33 AM XXCoder: indeed
09:33 AM XXCoder: its for usage in gcode unfortunately not hal file
09:33 AM XXCoder: unless im wrong
09:33 AM Tom_itx: why do you need it in the hal file?
09:33 AM XXCoder: vismach tool display
09:33 AM XXCoder: I got length down but not diameter
09:34 AM Tom_itx: how did you do length?
09:34 AM XXCoder: net tool_len motion.tooloffset.z rolfmill.toollength
09:36 AM Tom_itx: have you tried using x or y?
09:36 AM XXCoder: would that change with diameter? ok ill try
09:36 AM Tom_itx: i dunno
09:36 AM Tom_itx: but it's in that workplane
09:41 AM XXCoder: guess not
09:42 AM Tom_itx: it doesn't alter the diameter, rather the path offset so i can see why it wouldn't work
09:43 AM XXCoder: http://linuxcnc.org/docs/html/man/man9/motion.9.html moton group
09:44 AM jthornton: XXCoder: I'll catch up with you this evening, loading up the car to head out
09:44 AM XXCoder: jthornton: later :)
09:45 AM Tom_itx: have fun
09:49 AM Tom_itx: length is a part of motion but diameter is a mystery to me
09:49 AM XXCoder: 2.8 does seem to have HAL for diameter
09:49 AM XXCoder: but not 2.7
09:49 AM weenerdog: that has to be frustrating
09:51 AM MarcelineVQ: 2.8 reads it right from the tooltable https://github.com/LinuxCNC/linuxcnc/commit/c76c69194a15c3f78e47a62919a58c6b8f16542a#diff-94362bef9633e87b6f03675e077f146a
09:52 AM XXCoder: interesting
09:52 AM XXCoder: can HAL handle differently based on linuxcnc version?
09:53 AM XXCoder: say if 2.7 just give fixed diameter, if 2.8 use this line?
09:53 AM MarcelineVQ: you could, with python, maybe with haltcl. I'm not sure since I don't know how to use tcl
09:55 AM MarcelineVQ: https://www.forum.linuxcnc.org/38-general-linuxcnc-questions/32538-conditional-postgui-hal
09:56 AM XXCoder: hmm cool but ill just set fixed size and comment out the 2.8 versionb
09:56 AM XXCoder: show what is possible in 2.7 as well as 2.8
09:57 AM Tom_itx: you're not in the devel channel are you?
09:57 AM XXCoder: no
09:57 AM Tom_itx: http://tom-itx.no-ip.biz:81/~tom-itx/irc/logs/%23linuxcnc-devel/2018-11-17.html
09:57 AM Tom_itx: last comment
09:58 AM Tom_itx: but you can't address G codes from hal can you?
09:59 AM XXCoder: yeah and special gcode in order to make vismach work slightly better isnt really worth effort also
09:59 AM Tom_itx: read the var from hal
09:59 AM Tom_itx: #5410
09:59 AM XXCoder: how do I do that?
10:02 AM Tom_itx: when hal is started there are not tools loaded so the value would be zero anyway
10:02 AM Tom_itx: i'm not sure there is a way
10:03 AM Tom_itx: s/not/no
10:04 AM Tom_itx: i think you may be stuck giving it an arbitrary value
10:04 AM XXCoder: yeah
10:04 AM XXCoder: with that gone whats left is work.
10:04 AM XXCoder: I dont know what to do with that
10:05 AM XXCoder: no examples so far I know does besides call Collect()
10:05 AM Tom_itx: however you said motion worked
10:05 AM Tom_itx: so where is motion getting the value from?
10:05 AM XXCoder: its a existing pin
10:05 AM Tom_itx: if there is no tool loaded yet
10:05 AM XXCoder: oh its just set to zero
10:06 AM XXCoder: so tool is showing as zero length
10:06 AM Tom_itx: as is the diameter :)
10:06 AM XXCoder: yeah. unfortunately there is no diameter pin
10:06 AM Tom_itx: make 2 vars at the top of your file and let the user define them prior to running
10:06 AM XXCoder: unless its 2.8 version
10:07 AM Tom_itx: http://linuxcnc.org/docs/devel/html/man/man9/motion.9.html
10:07 AM Tom_itx: for 2.8
10:08 AM Tom_itx: i dunno what motion.eoffset is for
10:08 AM XXCoder: external offset. weird
10:08 AM XXCoder: halui.tool.diameter is aviliable in 2.8
10:09 AM XXCoder: gmoccapy.tool-diameter is unknown
10:09 AM XXCoder: didnt exist on my 2.7 though
10:10 AM Tom_itx: so they saw a need for it and added it in 2.8
10:10 AM XXCoder: apparently yeah
10:11 AM Tom_itx: so write a comp to add that pin and load it in 2.7
10:11 AM Tom_itx: :)
10:12 AM XXCoder: how?
10:12 AM XXCoder: unfortunately I learned a lot about how vismach works but not HAL side
10:12 AM Tom_itx: http://linuxcnc.org/docs/html/hal/comp.html
10:12 AM MarcelineVQ: Why even bother with pins if you're using a fixed size
10:13 AM Tom_itx: that's kinda my point
10:13 AM MarcelineVQ: this is for http://linuxcnc.org/docs/html/gui/vismach.html yeah? Can't you just define the part size to what you want?
10:13 AM XXCoder: marc yeah I left diameter in anyway as its supported in 2.8, just uncomment and comment other one
10:13 AM XXCoder: length works fine though
10:15 AM Tom_itx: https://github.com/LinuxCNC/linuxcnc/tree/master/configs/sim/axis/vismach/VMC_toolchange
10:16 AM Tom_itx: i think that's andy's carousel demo
10:16 AM Tom_itx: may or may not help any
10:17 AM XXCoder: yeah though he didnt actually display tool
10:17 AM XXCoder: mine does
10:17 AM XXCoder: it took me quite a while to figure how
10:17 AM XXCoder: biggest help is hbm even with tough to figure code
10:19 AM XXCoder: heh I expected to do this for week or more
10:19 AM XXCoder: not just one day
10:19 AM XXCoder: though it needs LOT of polishing before I make it tutorial
10:20 AM XXCoder: some of comments are messy
10:20 AM XXCoder: holy cow its 8 am
10:20 AM XXCoder: I normally sleep at 4
10:20 AM XXCoder: nig err morning all
10:20 AM XXCoder: laters
10:34 AM gloops: i can see youre getting into it now XXCoder lol
12:16 PM flyback: https://www.youtube.com/watch?v=eNSN6qet1kE
12:16 PM flyback: OWNS YOUR "CANUCK"
12:35 PM sensille: Loetmichel: do you think this machine is a waste of money? https://www.ebay.de/itm//113283051459
12:51 PM CaptHindsight: I'd say the Mach3 part is a waste of money
12:51 PM sensille: or this one? https://www.aliexpress.com/item//32918220639.html
12:52 PM sensille: it would help to know what to look for :-/
12:52 PM CaptHindsight: as far as the rest it depends on what you want to do with it
12:52 PM sensille: milling aluminum
12:52 PM sensille: but i have time, so slow is good enough
12:53 PM CaptHindsight: milling aluminum <2mm thick?
12:53 PM sensille: no, but taking it in 2mm steps or smaller
12:53 PM sensille: or 0.2mm
12:54 PM CaptHindsight: it's difficult to tell from pictures from China
12:54 PM sensille: does the thickness matter if i don't wan't to mill it in one go?
12:54 PM CaptHindsight: they often ship something that looks similar
12:54 PM CaptHindsight: but not with the exact features shown
12:55 PM sensille: is there a known good source?
12:55 PM CaptHindsight: the big difference I've found with cheap Chine routers is how they fix the ballscrews
12:55 PM CaptHindsight: NO
12:56 PM CaptHindsight: https://postimg.cc/w1bvqpWk this one did bot have threads or nuts on the ends of the ballscrews
12:56 PM CaptHindsight: they just float and have ~1mm of end play
12:57 PM CaptHindsight: https://postlmg.cc/jnhmsRhq and they arrive with rusty fasteners
12:58 PM CaptHindsight: the bearings are often crunchy, like their shop has dirt floors and they store the bearing in sand before assembly
12:59 PM CaptHindsight: https://postlmg.cc/Mv7KQB9X so you have to spend a few days cleaning and squaring everything
12:59 PM gregcnc: but other than that....
01:00 PM CaptHindsight: https://postimg.cc/56QYXjCR
01:02 PM CaptHindsight: Newton's Third Law https://www.physicsclassroom.com/class/newtlaws/Lesson-4/Newton-s-Third-Law
01:03 PM sensille: does mach3 actually cost money? "please don't upgrade the software" sounds like i at least don't spend any extra on it :P
01:03 PM CaptHindsight: some assume that the router has magical qualities of infinite stiffness
01:05 PM CaptHindsight: look for a router that has adjustment for the bearing preload on the ballscrews
01:07 PM sensille: do they have that in that price range? or is it easier to replace the nut later on?
01:08 PM CaptHindsight: nut, some don't have nuts or the threads on the screws
01:08 PM CaptHindsight: some show the nuts in the pics but arrive without the threads or nuts
01:10 PM CaptHindsight: https://ae01.alicdn.com/kf/HTB1w1dcX21TBuNjy0Fjq6yjyXXat.jpg you can see the nut on the front of this one
01:11 PM CaptHindsight: https://ae01.alicdn.com/kf/HTB1HKxdX1uSBuNjSsziq6zq8pXam.jpg and on the side here
01:13 PM CaptHindsight: some arrive with the connectors like this https://postimg.cc/7bqwTvvy
01:13 PM CaptHindsight: not a strain relief
01:14 PM CaptHindsight: often they could have assembled it properly, but did not know how or did not care to
01:16 PM CaptHindsight: https://www.linearmotiontips.com/ball-screw-preload-what-you-need-to-know/
01:16 PM CaptHindsight: https://www.linearmotiontips.com/a-users-guide-to-preload/
01:16 PM sensille: yeah, i understand the preload part, from the theory
01:17 PM sensille: gregcnc: other than that?
01:17 PM CaptHindsight: he jokes
01:18 PM CaptHindsight: since I mention that most of the machine is crap
01:18 PM sensille: hm
01:18 PM CaptHindsight: "other than that, how was you time in the concentration camp?"
01:18 PM CaptHindsight: you/your
01:20 PM sensille: there are so many good reviews of the machines on youtube, but mostly 'see, it mills, isn't it beautiful'
01:22 PM sensille: so do i have a chance to get a decent machine in that price range? building myself would be ok, but i wouldn't trust myself to make the plans for it
01:22 PM CaptHindsight: are you making artwork or precision parts?
01:22 PM sensille: functional parts
01:24 PM sensille: i don't know where 'precision' starts, but 0.1mm would be great for a start
01:33 PM sensille: maybe something like this makes more sense: https://www.ebay.de/itm//113373017352
01:34 PM sensille: used without controller, but with motors
01:35 PM gregcnc: that's an interesting design
01:42 PM CaptHindsight: probably selling it since it's such a wiggly cantilever
01:45 PM CaptHindsight: all fine designs for "routering" or for non contact (dispensing, printing, etc)
01:46 PM sensille: there are not that many options for used ones in that price range... https://www.ebay-kleinanzeigen.de/s-anzeige/isel-cnc-gravier-fraese/989550707-249-797
01:48 PM CaptHindsight: possibly the stiffest one so far but who knows how they assembled it
01:51 PM sensille: but quite small
01:52 PM sensille: (which is probably good for stiffness)
01:55 PM CaptHindsight: https://www.ebay.de/itm//113373017352 there might be enough parts here to make this work
01:55 PM gambakufu: you're doing it wrong. judging by his name, you should be asking for CaptHindsigh's opinion after you've bought the machine.
01:57 PM CaptHindsight: ceratinly
01:57 PM sensille: you mean rebuilding a new machine from those parts?
01:57 PM CaptHindsight: I would have gotten something else or modified that last link
01:58 PM Loetmichel: sensille: that machine is about the same i have two of
01:59 PM Loetmichel: the rotation axis is a bit different, but that isnt that good anyways
01:59 PM CaptHindsight: support the other end of the cantilever,so it's a gantry
01:59 PM Loetmichel: the rest is pretty much the same
01:59 PM CaptHindsight: rotate the Z 90 deg
01:59 PM Loetmichel: the machine youi linked to me above
02:00 PM Loetmichel: one of them does its job well at my company now for over six years, and i think it was QUITE well worth the 2000 eur the company paid back then
02:01 PM Loetmichel: CaptHindsight: the Mach3 copy "sold" with them is a pirated version anyways. best to be discarded immediatly after copying of the config files of the CD to convert to linuxCNC
02:32 PM tiwake: hmm
02:32 PM tiwake: I kind of need a cellphone case thats good for not getting metal shavings on the phone
02:33 PM tiwake: for the xperia xa2
02:33 PM CaptHindsight: plastic bag?
02:33 PM tiwake: iunno
02:36 PM CaptHindsight: it works, low cost, not stylish, replace weekly
02:37 PM CaptHindsight: I bought a few leather jackets to wear while welding...
02:38 PM CaptHindsight: all i have to do is remember to wear one when doing so
02:38 PM MarcelineVQ: and to cut the backs out? that gets hot pretty quick
02:39 PM CaptHindsight: i could, they were ~$3ea used
02:40 PM CaptHindsight: the flame resistant welding shirts are >$40ea
02:41 PM CaptHindsight: was doing some overhead MIG last night, my shirt looks like it will fall apart in the wash
02:46 PM Rab: I used a ziploc bag to keep desert sand out of my phone, worked great. Capacitive touchscreen worked through the bag.
02:50 PM Loetmichel: yes, i would have said "ziplock bag", too
02:51 PM Loetmichel: @ tiwake
02:52 PM Loetmichel: if you get a bigger one ans "soldering iron weld" it to your exact phone size it will not even look that different
02:53 PM Loetmichel: just push all the air out before closing and it will be nearly invisible but for the actual zipper at one ned
02:55 PM andypugh: Well, the £150 portable bandsaw from Aldi did its first real job today. 12 cuys through 60x60x4mm box section with the original blade, and no sign of trouble.
02:56 PM andypugh: Making this table: https://photos.app.goo.gl/HfyLPUsRUEeCHSPS8
02:56 PM SpeedEvil: :)
02:57 PM andypugh: You can tell I am running out of space, the main design criterion for this fly-press stand was that my bicycle had to fit underneath it… https://photos.app.goo.gl/RRrnURE8rYz2waTT9
03:05 PM Loetmichel: andypugh: fly press?
03:05 PM Loetmichel: interesting
03:05 PM andypugh: I drilled a bunch of holes in the legs to use for a hydraulic press later.
03:05 PM Loetmichel: i would have taken a wager taht that be a rack/pinion type press
03:06 PM andypugh: I have a lot of silicone caskets to punch out.
03:06 PM andypugh: (gaskets)
03:07 PM * Loetmichel was trying to imagine a casket made of silicone... Tupperware suddenly came to mind ;)
03:07 PM Tom_itx: andypugh do you know a way to read the tool diameter of the current tool in the hal file?
03:08 PM Tom_itx: other than 2.8 (they added a pin)
03:08 PM Tom_itx: in motion
03:09 PM andypugh: Create a component that creates a HAL pin that reports the diameter?
03:09 PM Tom_itx: :)
03:09 PM Tom_itx: i suppose i could see what they did in 2.8 and duplicate it as a single comp
03:10 PM Tom_itx: XXCoder was trying to do something with a vismach demo
03:10 PM Tom_itx: and wanted to show the tool
03:11 PM andypugh: linuxcnc.stat().tool_offset looks like it has what you want. (if userspace is acceptable for this)
03:13 PM andypugh: As a workaround, copy the diamter into the (largely pointless) tool A-offset and use the haui.tool-offset.a pin
03:15 PM Tom_itx: i'll have to wait til he wakes up and see
03:19 PM Tom_itx: are there docs on linuxcnc.stat().tool_offset somewhere?
03:19 PM Tom_itx: i'm not finding it
03:21 PM andypugh: http://linuxcnc.org/docs/2.7/html/config/python-interface.html
03:21 PM andypugh: It just says “it’s a tuple” so I guess you will need to look at the tuple to see which is which.
03:21 PM Tom_itx: thanks i was looking under the comp doc
03:22 PM Tom_itx: odd it took this long to add that pin to motion
03:23 PM andypugh: Yes, considering that we have had the tool A-offset for years. I wonder if anyone has _ever_ used angular tool offsets?
03:23 PM Tom_itx: maybe for a lathe?
03:23 PM Tom_itx: i wouldn't know how really
03:24 PM Tom_itx: i told him just to add a length and diameter var in the demo file
03:24 PM Tom_itx: he did get the length read from the tool table using motion
03:25 PM Tom_itx: but when hal starts it's still always gonna be zero
03:25 PM Tom_itx: since no tool was selected yet
03:26 PM andypugh: Yes, that’s something of a problem with tools whatever you do. The tool offset data propogates oddly. Exactly as required, but maybe not as you might expect.
03:36 PM Deejay: re
04:01 PM {HD}: My 3mm 1flutes showed up should I complain? https://i.imgur.com/s4e9XAe.jpg
04:02 PM andypugh: Well, they do appear to have one flute..
04:07 PM gloops: theyre the unbreakable ones that cut anything and never wear out right?
04:09 PM MarcelineVQ: they must be, if they're that hard to grind
04:10 PM gloops: slight variance on the bevel on the top
04:10 PM MarcelineVQ: the single pointers are for sheet metal ;>
04:11 PM gloops: i use the downcuts, good for a sharp edge on top, if thats what you want
04:15 PM gloops: theyre also usually 3.175?
04:16 PM {HD}: Yes 3.175 and they have corrosion on 3 of the 10
04:17 PM gloops: that will soon rub off when theyre cutting
04:17 PM {HD}: Good to know. I’ve not used single flutes before. I have a bunch of 2 flute stuff.
04:20 PM gloops: someone in here visits china occasionally he says the conditions this stuff is kept in are a real eye opener
04:20 PM gloops: some photos - your ballscrews and tooling is strewn about in open boxes or just heaps outide
04:20 PM MarcelineVQ: well, there's a reason you don't buy bearings off ali
04:21 PM {HD}: Wow
04:22 PM gloops: but at a tenth of the cost, whos going to complain
04:24 PM Deejay: gn8
04:28 PM {HD}: Not me. I have chinese ball screws and they are fine.
04:30 PM gloops: i got them too, no problems so far, for what i do anyway
04:33 PM JT-Shop: test
04:34 PM JT-Shop: lol left jthornton online
04:46 PM XXCoder: hey all
04:59 PM XXCoder: andypugh: dont seem able to use import linuxcnc in HAL
05:04 PM XXCoder: JT-Shop: how was trip
05:13 PM XXCoder: Tom_itx: tool length thankfully updates as tool changes
05:15 PM XXCoder: had a probably dumb idea
05:15 PM XXCoder: try linuxcnc.stat in vismach
05:15 PM MarcelineVQ: well that's just silly
05:15 PM XXCoder: no error
05:15 PM XXCoder: now to make it actually grab data
05:40 PM XXCoder: dammit I may have finally done it, BUT apparently tool change freezes linuxcnc even when I disable tool length and diameter code
05:40 PM XXCoder: so something is broken in my HAL
05:42 PM andypugh: I am not sure what you mean by “import linuxcnc in HAL”
05:43 PM andypugh: HAL is a script, it runs once to connect the pins, then never again.
05:43 PM XXCoder: yeah that didnt work so I removed it and tried it in vismach file. worked
05:43 PM XXCoder: im havung different issue, linuxcnc almost freezes on tool change so trying to fix hal
05:44 PM XXCoder: tried to use this for HAL http://linuxcnc.org/docs/html/man/man1/hal_manualtoolchange.1.html but didnt work
05:44 PM XXCoder: iocontrol.0.tool−change dont exist it says
05:45 PM andypugh: That’s wierd
05:45 PM andypugh: Where are you trying to link to it?
05:45 PM XXCoder: a second
05:46 PM andypugh: I am noy sure when iocontrol gets loaded, but you probably have to wait until after motion is loaded
05:46 PM XXCoder: http://dpaste.com/0G9RJKF
05:48 PM andypugh: Put “show pin” above the problem line, to get a list of all the pins that do exist at that point in time.
05:48 PM XXCoder: just show pin by itself?
05:49 PM XXCoder: oh nice
05:49 PM XXCoder: it showed in list
05:50 PM XXCoder: the pin it says it dont exist? looking again making sure it is same
05:50 PM XXCoder: wish I can copy off error window.
05:51 PM andypugh: You can
05:51 PM XXCoder: 6 bit IN FALSE iocontrol.0.tool-changed ./rolfmill.hal:52: Pin 'iocontrol.0.tool−change' does not exist
05:51 PM andypugh: Ctrl-A / Ctrl-C
05:52 PM XXCoder: yeah only if entire window
05:52 PM XXCoder: not just one line. so I jus lol yeah
05:52 PM XXCoder: exactly that
05:52 PM andypugh: changed / chenge
05:52 PM andypugh: changed / change I mean
05:53 PM andypugh: But there should be both.
05:53 PM XXCoder: interesting. changing
05:54 PM andypugh: There should be a tool-change which is motion requesting a tool change, then you set tool-changed to tell it that the change is done
05:54 PM andypugh: If you have changed but not change then something very odd has happened
05:56 PM XXCoder: both change and changed exist and from what I see usage direction is correct also
05:57 PM XXCoder: if I remove entire hal section on tool change then linuxcnc works but super lags
05:58 PM andypugh: your tool-change has an em-dash (hex e2) rather than hyphen (hex 2d)
05:59 PM XXCoder: bleh lol ok
06:00 PM XXCoder: different error yay
06:00 PM andypugh: Don’t know how that happened, perhaps copying and pasting from a web page?
06:00 PM XXCoder: says pin already exists
06:00 PM XXCoder: indeed that was what I did lol
06:01 PM XXCoder: ./rolfmill.hal:52: Signal 'tool-change' can not add OUT pin 'hal_manualtoolchange.changed', it already has OUT pin 'iocontrol.0.tool-change'
06:03 PM XXCoder: oops fixed
06:03 PM XXCoder: just removed d at end
06:05 PM XXCoder: different error now, in linuxcnc "linear move on line 0 would exceed joint 2 postive limit"
06:06 PM XXCoder: I guess parking for tool change is in some postive number?
06:06 PM XXCoder: if so how do I change it>
06:07 PM andypugh: Are you homed and touched-of?
06:07 PM XXCoder: homed but not touched off
06:07 PM XXCoder: just did mdi t1m6
06:07 PM andypugh: Try touching off.
06:08 PM XXCoder: just did same error
06:08 PM andypugh: (either that or tool 1 has a really long length)
06:08 PM XXCoder: hmm might be it a second
06:09 PM XXCoder: length is 30mm
06:09 PM andypugh: No chance it is 30 inches?
06:09 PM XXCoder: nah its metric machine
06:09 PM XXCoder: diameter correctly showed size when it was working (hardcoded diameter)
06:10 PM XXCoder: length that is lol
06:13 PM andypugh: Do you have LOOL_CHANGE_AT…… in the INI?
06:13 PM XXCoder: no, I guess that might be reason?
06:13 PM andypugh: No, if you don’t it isn’t that. Probably
06:14 PM XXCoder: or maybe I do have to define it to 0?
06:14 PM XXCoder: maybe default is some postive number
06:14 PM andypugh: Does it say that regardless of where your Z axis is when you command the tool change?
06:14 PM XXCoder: yeah
06:14 PM XXCoder: tried various positions and also touched off at various places no change
06:15 PM andypugh: I assume it’s the same if you have the tool change in G-code rather than MDI?
06:15 PM XXCoder: is this applicable? http://linuxcnc.org/docs/html/gui/gmoccapy.html
06:16 PM XXCoder: change position select
06:16 PM andypugh: I don’t know. Are you using Gmoccapy?
06:16 PM XXCoder: hmm dont think so no, using axis
06:16 PM andypugh: Gmoccapy does a number of things in the GUI that I don’t think belong in the GUI
06:17 PM XXCoder: how do i define tool change position anyway
06:18 PM andypugh: It’s all in the INI config page
06:18 PM andypugh: http://linuxcnc.org/docs/2.7/html/config/ini-config.html#_emcio_section
06:18 PM XXCoder: TOOL_CHANGE_POSITION = 0 0 2
06:19 PM andypugh: Hmm, is 2 actually inside the limits?
06:20 PM XXCoder: z is 0 or negative
06:20 PM XXCoder: 0 is highest it can go
06:20 PM andypugh: Ah, well, there you are then...
06:20 PM XXCoder: found it
06:20 PM XXCoder: its very last line so no wonder I missed it in ini file
06:21 PM XXCoder: worked
06:24 PM XXCoder: andypugh: diameter worked! but length is broken just gonna fix that
06:40 PM XXCoder: know what I hate about manual tool change? it always goes to wrong montior
06:47 PM XXCoder: andypugh: works!
06:47 PM XXCoder: diameter and length both
06:47 PM andypugh: Cool
06:48 PM XXCoder: for some reason motion stopped working so I used .tool_table[s.tool_in_spindle]. ... for both
06:49 PM XXCoder: hmm table tool is in diameter not radius correct?
06:50 PM XXCoder: diameter it looks like
06:51 PM XXCoder: just unsure if CylinderZ uses radius or diameter. looks like radius so far..
07:04 PM JT-Shop: hola
07:06 PM XXCoder: hey
07:06 PM infornography: ello
07:07 PM JT-Shop: XXCoder: did you figure out anything?
07:11 PM XXCoder: yeah
07:12 PM XXCoder: habign problems with motion.tooloffset.z
07:12 PM XXCoder: but mostly working
07:12 PM XXCoder: halmeter shows that as zero all time now
07:13 PM JT-Shop: try show hal watch window
07:14 PM XXCoder: where do i get that?
07:14 PM JT-Shop: trying to connect to the RPi with an ethernet cable lol
07:15 PM JT-Shop: in
07:15 PM JT-Shop: axis
07:15 PM XXCoder: hal configuration?
07:15 PM JT-Shop: yea
07:16 PM JT-Shop: hmm I thought I had the rt preempt kernel installed on this laptop
07:17 PM XXCoder: it stays at 0
07:18 PM JT-Shop: hmm offset should only change when you touch off
07:19 PM XXCoder: touched off still 0
07:20 PM gregcnc: G43 HXX?
07:20 PM JT-Shop: I usually to Tn M6 G43
07:20 PM gregcnc: oops
07:20 PM XXCoder: hmm maybe im an moron a second
07:21 PM XXCoder: confirmed im a moron
07:21 PM andypugh: That was a fast confirmation
07:21 PM XXCoder: g53h1 worked
07:21 PM JT-Shop: lol
07:21 PM XXCoder: :)
07:21 PM XXCoder: it is finally done besides massive cleanup
07:23 PM * JT-Shop is FD & H
07:38 PM XXCoder: hey andypugh can I name pins for axis anything besides joint0 .. 2?
07:39 PM XXCoder: i want name to be more olvious
07:39 PM andypugh: The pins are called what they are called. Changing the names means recompiling.
07:39 PM JT-Shop: you can name them anything you like except names that are used
07:39 PM XXCoder: c.newpin("joint0", hal.HAL_FLOAT, hal.HAL_IN) #x
07:56 PM Tom_itx: so XXCoder how did you get diameter to work?
07:56 PM Tom_itx is now known as Tom_L
07:56 PM XXCoder: rad = s.tool_table[s.tool_in_spindle].diameter #workaround for 2.7
07:57 PM Tom_L: what is s. ?
07:57 PM XXCoder: s = linuxcnc.stat()
07:57 PM Tom_L: ok
07:57 PM Tom_L: so is there a description of linuxcnc.stat() output somewhere>
07:57 PM Tom_L: ?
07:58 PM XXCoder: yeah its a long list of many different stuff
07:58 PM Tom_L: in the docs anywhere?
07:58 PM XXCoder: yeah looking still
07:58 PM XXCoder: http://linuxcnc.org/docs/html/config/python-interface.html
07:58 PM XXCoder: apparently it works in vismach file
07:59 PM XXCoder: so for physical respention of tool I use diameter and tool length
07:59 PM XXCoder: but it uses motion one for placement of where tip is. so if h gcode is missing, it would crash
07:59 PM XXCoder: ie get tool below table
08:00 PM XXCoder: just like real machine really
08:00 PM Tom_L: that list should appear in the linuxcnc comp
08:00 PM Tom_L: http://linuxcnc.org/docs/2.7/html/man/man1/linuxcnc.1.html
08:00 PM Tom_L: but it doesn't
08:00 PM XXCoder: theres easy way to get diameter by comp.. un 2.8
08:00 PM XXCoder: 2.7 does not have one
08:00 PM Tom_L: i know, it's a pin in motion
08:00 PM Tom_L: i realize that
08:02 PM XXCoder: okay now testing theory I had above
08:02 PM XXCoder: okay t3m6 has long and fairly thin tool
08:02 PM XXCoder: its showing
08:02 PM XXCoder: now to run it with gcode that doesnt have g43h3
08:04 PM XXCoder: heh tooltip marking is way above toop end
08:05 PM XXCoder: HMM looks like tooltip placement calcuation is slightly off
08:07 PM XXCoder: fixed.
08:22 PM XXCoder: jthornton: editing is so much fun lol
08:22 PM XXCoder: Tom_L: its looking very nice now lol still working on it though
08:23 PM Tom_L: glad you figured it out
08:25 PM XXCoder: yeah
08:26 PM XXCoder: tooltip is now very solved
08:26 PM XXCoder: work is only remaining total unknown. I left it as just point like all other examples.
08:26 PM XXCoder: I suspect it should be way for linuxcnc where stock is
08:26 PM XXCoder: and what size etc but...
08:27 PM Tom_L: is a tuple just an array?
08:27 PM XXCoder: yeah
08:28 PM XXCoder: accessed by [N]
08:28 PM XXCoder: whatever.arrays[1] is specific entry in array
08:28 PM Tom_L: so the diameter would be s[11] ?
08:28 PM Tom_L: s.tool_table[11]
08:28 PM XXCoder: nah its tool table, its list of tools
08:29 PM XXCoder: s.tool_table[s.current_tool_number].diameter
08:29 PM XXCoder: essentally its list of tools, each with list of data, some of em also arrays, but diameter is not one
08:30 PM XXCoder: this is actual example from my vismach:
08:30 PM XXCoder: rad = s.tool_table[s.tool_in_spindle].diameter
08:30 PM Tom_L: so a multi-dimensional array
08:30 PM XXCoder: yeah
08:30 PM MarcelineVQ: rad?
08:30 PM XXCoder: radius
08:30 PM MarcelineVQ: conventially, rad is half of dia
08:31 PM XXCoder: it later divides by 2
08:31 PM MarcelineVQ: ehe k
08:31 PM XXCoder: rad = rad / 2 #change it to rad
08:31 PM Tom_L: wannabe_rad = s.tool_table[s.tool_in_spindle].diameter
08:31 PM XXCoder: lol
08:32 PM XXCoder: I suppose I can do ( ... ) / 2
08:32 PM XXCoder: so you guys feel better
08:32 PM Tom_L: i could care less either way
08:32 PM Tom_L: just so it works
08:33 PM XXCoder: yeah though as well as do it, as its tutorial should be super clear
08:33 PM Tom_L: more fun if you add humor to your code
08:33 PM XXCoder: there is little in it
08:33 PM XXCoder: # color it red, as in danger, tool!
08:34 PM XXCoder: that is for cat30 (red part you see in imgur)
08:35 PM Tom_L: you have any cat50 at your work?
08:35 PM XXCoder: couple
08:35 PM XXCoder: its heavy mofo
08:35 PM Tom_L: my bud had a few
08:36 PM XXCoder: heaviest tool I had to put on spidle were 8" facemill on cat50
08:36 PM Tom_L: all the rest were cat40
08:36 PM XXCoder: I could just barely lift it with knee, leg on tab;e
08:36 PM Tom_L: yeah i think he had an 8" cutter
08:36 PM Tom_L: some 2-3" insert drills
08:36 PM XXCoder: work largest drill is 6" I think
08:37 PM Tom_L: for cutting Ti
08:37 PM XXCoder: looks ricious
08:40 PM Tom_L: you do alot of boeing work out there?
08:40 PM XXCoder: quite a bunch
08:41 PM XXCoder: somewhat less than 50%
08:41 PM Tom_L: i know we send the tubes out from here
08:41 PM Tom_L: from spirit
08:41 PM XXCoder: one section left to write
08:41 PM XXCoder: # Concept of machine design
08:41 PM XXCoder: bleh no code just explaining
08:45 PM XXCoder: still refining other areas. much more clean and clear now
08:45 PM XXCoder: no more # wtf is this?" lol
08:45 PM XXCoder: well besides work
08:54 PM XXCoder: oops minor error found
08:54 PM XXCoder: work point is inside table lol
08:54 PM XXCoder: but changed machine so its grouped together when table top is on zerop
08:54 PM XXCoder: so move it upwards and work follows with it.
09:13 PM XXCoder: Tom_L: know whats fun?
09:13 PM XXCoder: making ascii tree by hand lol
09:16 PM XXCoder: changed tool2 to toolassembly much more clear
09:20 PM XXCoder: done.
09:21 PM XXCoder: wow. done. now running it see if I didnt break something
09:25 PM XXCoder: looks ok though tool model only shows up if tool was changed, AND h used
09:30 PM XXCoder: so....
09:31 PM XXCoder: what do I do with it now? not too sure what is best place to upload or write article about it?
10:30 PM Tom_L: you could do a wiki thing on it
10:30 PM XXCoder: yeah just not too sure
10:30 PM XXCoder: which secton etc
10:38 PM Tom_L: Links -> Tutorials ?
10:38 PM Tom_L: meh, maybe not
11:13 PM XXCoder: hmm
11:13 PM XXCoder: whats good screen recorder?
11:13 PM XXCoder: for ubuntu based