#hazzy | Logs for 2018-10-24
Back
[01:24:40] -!- hazzy has quit [Ping timeout: 264 seconds]
[09:34:15] <Lcvette> morning
[09:34:44] <hazzy-m> Morning
[09:48:57] -!- hazzy has joined #hazzy
[09:48:57] -!- mode/#hazzy [+o hazzy] by ChanServ
[09:54:52] <jthornton> morning
[10:09:26] <Lcvette> hazzy, i was checking out the new changes and added the probe tool into the tool table, maybe im doing something wrong, but when i add tool 99 as probe tool, and call it up, linuxcnc closes unexpectedly
[10:11:02] <hazzy-m> Interesting, I think I might have an idea what is happening ..
[10:11:49] <Lcvette> i gave it a sequential pocket number
[10:11:54] <Lcvette> pocket 14
[10:12:40] <hazzy-m> I'm on windows, just booting back to Linux to check
[10:13:13] <Lcvette> it works if i give it a tool number of 14 though
[10:13:48] <Lcvette> maybe it doesn't like gaps in the tool numbers?>
[10:13:59] <hazzy-m> OK, that confirms my suspicion, its an index error in the tool data labels
[10:14:31] <Lcvette> i did it?
[10:15:57] <Lcvette> no thats not it
[10:16:17] <Lcvette> because if i skip 14 and put tool number and pocket number as 15 and 15 it takes it fine
[10:16:44] * hazzy-m sent a long message: < https://matrix.org >
[10:18:54] <Lcvette> if i make it tool 22 and pocket 15, it doesn't close, but also does not recognize the z and diameter
[10:19:00] <Lcvette> wait
[10:19:12] <Lcvette> it recognizes it in the dro but not in the tool length box
[10:20:08] * Lcvette uploaded an image: image.png (34KB) < https://matrix.org >
[10:20:36] <Lcvette> i set the tool length in the z box of the tool table at 4.0000"
[10:20:59] <hazzy-m> aha!
[10:21:12] <hazzy-m> It is because of the 56 tool limit on the tool table
[10:21:54] <hazzy-m> I'm getting the values from the tooltable provided by the python interface, which I guess only has 56 entires
[10:22:29] <Lcvette> so you can't have a tool number 99?
[10:22:50] <Lcvette> even if you have fewer than 56 tools in the table?
[10:22:59] <hazzy-m> well you can. but you can't get the tool data the way I am
[10:28:42] <Lcvette> ok it will accept up to 55 as the tool number
[10:28:46] <Lcvette> at 56 it shuts down
[10:29:05] <Lcvette> that is sad
[10:29:09] <Lcvette> :(
[10:29:14] <Lcvette> sad face tool table
[10:29:15] <Lcvette> lol
[10:29:44] <Lcvette> i can understand a limit of 56 pockets
[10:30:20] <Lcvette> oh that makes sense too because i was using 0-55
[10:30:30] <Lcvette> which is 56 tools
[10:30:44] <Lcvette> but tools usually can have really big numbers
[10:31:01] <Lcvette> the reason being is you generally have them preet up in your cam software
[10:31:17] <Lcvette> preset*
[10:31:56] <Lcvette> designed with the holder and everything so you can use collision and gouge avoidance successfully
[10:32:13] <Lcvette> so if i have 158 tools setup
[10:32:18] <Lcvette> in cam
[10:32:35] <Lcvette> that means i have to rearange my cam tool crib to suit linuxcnc
[10:32:42] <Lcvette> each time i cam a program
[10:32:50] <Lcvette> thats a disaster
[10:34:51] <hazzy-m> No, linuxcnc will support arbitrarily large tool numbers, the problem is with the way I am getting the tool data
[10:35:03] <hazzy-m> Not sure how to solve this ..
[10:35:49] <Lcvette> hmmm.. there are two issues affot
[10:35:58] <Lcvette> afoot
[10:36:10] <Lcvette> one is the tool information boxes
[10:36:25] <Lcvette> they don't seem to report if the tool and pocket numbers are different
[10:36:43] <Lcvette> but the tool number being higher than the 55 will shut down linuxcnc
[10:37:06] <Lcvette> just wanted to be sure i expressed the issues correctly
[10:37:55] <Lcvette> did that make sense?
[10:37:56] <Lcvette> lol
[10:40:14] <hazzy-m> yes, so internally LCNC has a concept of 56 tools (0-55). It stores them in an array that always has 56 entires, and the entries are based on order of appearance in the tooltable file, rather than on tool or pocket number it appears
[10:40:17] <hazzy-m> Tools that aren't specified in the tooltbale are given values of 0.0 for all entries
[10:41:16] <Lcvette> 0.0?
[10:41:59] <hazzy-m> I foolishly tried to index that array with the tool number to get the current tool data, which fails then the toolnumber is over 55 since there are only 56 entries in the array, and also gives zeror values when the tool the current tool number happens to index is not defined in the tooltable
[10:42:37] * hazzy-m sent a long message: < https://matrix.org >
[10:42:47] <hazzy-m> oops
[10:42:56] <hazzy-m> well, that is what the array looks like, lol
[10:45:08] <Lcvette> ok, the 0.0 is the offset
[10:45:25] <hazzy-m> yes
[10:45:59] <Lcvette> (tool_result(id=-1, xoffset=0.0, yoffset=0.0, zoffset=0.0, aoffset=0.0, boffset=0.0, coffset=0.0, uoffset=0.0, voffset=0.0, woffset=0.0, diameter=0.0, frontangle=0.0, backangle=0.0, orientation=0),
[10:46:39] <hazzy-m> IDK why all the ids are -1 ...
[10:46:39] <Lcvette> so this is tool 0
[10:46:40] <Lcvette> orm -1
[10:46:41] <Lcvette> or -1
[10:47:15] <Lcvette> somehow it is not assigning the id i think
[10:47:33] <Lcvette> ?
[10:47:34] <hazzy-m> I think so, its a mess
[10:47:46] <Lcvette> turboss did it\
[10:47:48] <Lcvette> lol
[10:47:58] <hazzy-m> lol
[10:48:29] <hazzy-m> that is all LCNC stuff, I guess the best thing would be to add current tool data to the python interface
[10:48:40] <hazzy-m> But I am lazzy ..
[10:49:31] <Lcvette> how did you get that data?
[10:50:24] <hazzy-m> that was from the python interface's `stat.tool_table`
[11:04:58] <Lcvette> i just looked through the tool sections of the lcnc docs and it is very olimited
[11:05:00] <Lcvette> :(
[11:05:13] <Lcvette> nt much fu to be gathered there from what i see
[11:05:40] <hazzy-m> no, its not good
[11:05:57] <hazzy-m> we realy need a new tool table system ..
[11:06:13] <hazzy-m> rene, get busy!
[11:06:13] <hazzy-m> :D
[11:10:14] <Lcvette> Rene... you can be a hero!
[11:10:42] <hazzy-m> *a more better hero
[11:10:45] <hazzy-m> :D
[11:11:06] <Lcvette> a tool hero
[11:11:13] <Lcvette> you are a gui hero
[11:11:19] <Lcvette> :D
[11:11:25] <Lcvette> vcp hero
[11:11:35] <Lcvette> probe basic hero
[11:11:35] <hazzy-m> lol
[11:11:39] <Lcvette> maNY HEROS
[11:12:04] <Lcvette> TOO MANY HEROS
[11:12:10] <Lcvette> lol
[11:12:18] <Lcvette> you need hero helpers
[11:12:30] <Lcvette> you are like superman
[11:12:38] <Lcvette> you need a justice league
[11:13:20] <Lcvette> http://wiki.linuxcnc.org
[11:13:22] <Lcvette> ?
[11:13:29] <Lcvette> anyhelp?
[11:15:23] <Lcvette> ooooh oooh
[11:15:41] <Lcvette> i think i found it
[11:15:58] * Lcvette sent a long message: < https://matrix.org >
[11:17:05] <Lcvette> so this would make sense as to why tools above 55 are not accepted
[11:17:46] <Lcvette> if it is not set as random tool changer, tool number and pocket numbers are made the same so there can be no pocket numbers greater than 55
[11:18:41] <Lcvette> http://linuxcnc.org
[11:18:54] <Lcvette> under standard glue
[11:18:58] <Lcvette> routines
[11:19:04] <hazzy-m> yep, that explains it!
[11:20:16] <Lcvette> i have research fu
[11:20:22] <Lcvette> if not codefu
[11:21:32] <Lcvette> also, it states this which may explain the -1
[11:21:42] <Lcvette> If tool number zero is requested (meaning Tool unload), the corresponding pocket is passed as -1.
[11:22:42] <Lcvette> is that because the pocket numbers are being ignored?
[11:22:51] <Lcvette> so they report as zero?
[11:23:00] <hazzy-m> ah. yes
[11:23:07] <hazzy-m> because it it non random I guess
[11:23:10] <Lcvette> and subsequently as a -1 in the data
[11:23:36] * hazzy-m sent a long message: < https://matrix.org >
[11:23:39] <hazzy-m> more better new tooltable
[11:23:43] <hazzy-m> :D
[11:24:00] <hazzy-m> oops
[11:24:05] <hazzy-m> I need to strip the \n
[11:24:32] <Lcvette> yeah?
[11:24:43] <Lcvette> you did it? you rebuilt the tool table?
[11:24:49] <Lcvette> you are superman
[11:25:04] <hazzy-m> yes, but this is just for internal use in QtPyVCP
[11:25:20] <Lcvette> oh
[11:25:22] <hazzy-m> but at least it will let us get the tool date we need for the DROs
[11:25:36] <Lcvette> hurray
[11:28:04] <hazzy-m> T9 P9 Z3.1 D0.125 ;hulk smasher
[11:28:05] <hazzy-m> xD
[11:28:12] <hazzy-m> Was that you?
[11:29:38] <Lcvette> of course
[11:29:46] <Lcvette> lol
[11:29:52] <Lcvette> i was having fun
[11:30:04] <hazzy-m> yeah, why did I even ask
[11:30:05] <hazzy-m> LOL
[11:30:05] <Lcvette> i figured i would pop in some easter eggs for laughs and smiles
[11:30:19] <hazzy-m> it worked!
[11:31:37] <Lcvette> excellent!!
[11:31:57] <Lcvette> if i can bring that to the team i did good!
[11:33:47] <Lcvette> ok, my tool has landed, i need to get back to wrenching and repairs
[11:33:57] <Lcvette> i will check in poeriodically!
[11:34:00] <Lcvette> :D
[11:34:22] <Lcvette> use my name Lcvette if you need me
[11:34:27] <Lcvette> it makes my phone ding
[11:34:31] <Lcvette> lol
[11:54:08] <hazzy-m> ok, good luck!
[11:54:24] * hazzy-m thinks he might go pull the engine on the corvair
[12:57:22] <JT-Shop> we used to use 10c a gallon oil in the corvair lol as it ran out as fast as we put it in
[13:00:58] <hazzy-m> I've heard that they tend to leak like a sieve, this one doesn't leak a drop though, probably too gunked up, lol
[13:01:41] <JT-Shop> pushrod tube seals were dry rotted on that one
[13:02:58] <JT-Shop> I mostly had VW's back in the day
[13:03:50] <hazzy-m> I think this one has relatively new (80s) viton seals. It's still at the full line and the oil hasn't been changed in over 8 years and several 1000 miles, lol
[13:05:37] <JT-Shop> ours didn't have any seats you had to sit on a milk crate to drive it lol
[13:06:16] <hazzy-m> no seats is better than no floors ...
[13:06:40] <JT-Shop> lol most of my beetles had wood under the battery
[13:07:28] <hazzy-m> I figure with iffy brakes no floors is a safety feature
[13:07:28] <hazzy-m> lol
[13:07:54] <JT-Shop> yep a reverse fred flintstone car
[13:09:41] <JT-Shop> geez it's going to cost me a grand to wire up the new shop at 210' from the disconnect
[13:17:28] <hazzy-m> just in wire ..
[13:17:58] <JT-Shop> aye, still trying to sort out what size neutral I need but #1 for the power conductors
[13:18:01] <hazzy-m> depending on how many amps you need
[13:18:43] <JT-Shop> I have a 100a panel in the new shop
[14:40:28] -!- hazzy1 has joined #hazzy
[14:40:28] -!- mode/#hazzy [+o hazzy1] by ChanServ
[14:48:55] -!- hazzy has quit [*.net *.split]
[14:49:01] -!- JT-Shop has quit [*.net *.split]
[14:49:28] hazzy1 is now known as hazzy
[14:54:34] -!- JT-Shop has joined #hazzy
[14:55:16] -!- JT-Shop has quit [Quit: Leaving]
[14:55:36] -!- JT-Shop has joined #hazzy
[18:27:53] -!- Roguish has joined #hazzy
[19:33:24] -!- Roguish has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]