#hazzy Logs
Nov 20 2019
#hazzy Calendar
01:35 AM Guido[m]: I'm not a developer of qtpyvcp, but as far as I recall, the tool lib (tool.tbl) is core element of linuxcnc. What is the nature of your issue?
07:32 AM TurBoss: helo pnimbus: what issues are you having?
12:13 PM Lcvette: pnimbus: the tool table should be no different, it is just a storage for the tool data. fusion should output gcode with the m6 t# which should be no different then an mdi command for a tool change
12:13 PM Lcvette: it will also have the tool length offset setting G43 which sets the tool length offset
12:14 PM Lcvette: there is a glitch currently in fusion i know with mach3 that requires you adjust the post processor to output tool changes with M6 T# order correctly or there can be issues. perhaps this is what you are experiencing?
12:15 PM Lcvette: i have not yet used a fusion post with probe basic
12:15 PM Lcvette: so please let us know!
12:15 PM Lcvette: endcnc has been using probe basic with success but im not sure what cam software he is using
12:16 PM Lcvette: that tells me the tool table is working correctly and it may be a post issue you are seeing
12:20 PM Lcvette: I am running a quick test and will report back
12:49 PM * Lcvette sent a long message: < >
12:49 PM Lcvette: the stock post is outputting T# M6 may eb the issue
12:51 PM * Lcvette posted a file: 1001.ngc (5KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/poTbqgSpZlGeUkuONarCYFli >
12:57 PM Lcvette: TurBoss: I am getting some more issues with vtk
12:58 PM Lcvette: looks like the z axis is off from where the tool length offset is
12:58 PM TurBoss: where in what branch?
12:58 PM TurBoss: master?
01:00 PM Lcvette: latest vtkgx
01:01 PM TurBoss: ok
01:01 PM Lcvette: trying master
01:03 PM Lcvette: master displays correctly
01:09 PM TurBoss: ok
01:14 PM TurBoss: Lcvette: whats wrong the tool or the path?
01:16 PM Lcvette: in vtkgx, tool in z is wrong
01:18 PM * Lcvette uploaded an image: Screenshot_2019-11-20_14-11-59.png (6KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KqQKgVyAPAOtignCQmYeKwoU >
01:19 PM Lcvette: TurBoss: ^^^
01:27 PM TurBoss: Lcvette: I'm about to push the fix
01:27 PM Not-5e4d: [02qtpyvcp] 07TurBoss pushed 031 commit to 03VtkGx [+0/-0/±1] 13https://git.io/Je68P
01:27 PM Not-5e4d: [02qtpyvcp] 07TurBoss 03213972b - fix tool position
01:27 PM Lcvette: \o/
01:28 PM Lcvette: testing
01:29 PM Lcvette: \o/
01:29 PM Lcvette: success!
01:29 PM TurBoss: great
01:29 PM TurBoss: thanks
01:29 PM Lcvette: hurray!
01:30 PM Lcvette: does linuxcnc like t#m6 or m6t#
01:30 PM Lcvette: ?
01:30 PM TurBoss: I still don't know how to manage the rapids of the multiple offset
01:30 PM TurBoss: # ?
01:30 PM TurBoss: \#=
01:31 PM Lcvette: ?
01:31 PM Lcvette: oh the extra rapid line?
01:31 PM Lcvette: dunno
01:31 PM Lcvette: does it hurt anything?
01:31 PM TurBoss: visual incorrect
01:32 PM Lcvette: sek lemme test something
01:32 PM * Lcvette uploaded an image: Screenshot_2019-11-20_14-26-07.png (8KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BGewZQjTTSqLsvOXqoBzLFHP >
01:32 PM Lcvette: this rapid?
01:33 PM TurBoss: \#1 = 12
01:33 PM TurBoss: T#1 M6
01:33 PM TurBoss: works
01:33 PM TurBoss: thata?
01:33 PM TurBoss: * that?
01:33 PM Lcvette: t3 m6 or m6 t3
01:33 PM Lcvette: mach3 cannot acept t3 m6
01:33 PM TurBoss: same
01:33 PM Lcvette: doesn't matter?
01:34 PM TurBoss: i just tried on mdi
01:34 PM Lcvette: ok
01:34 PM TurBoss: and works
01:34 PM Lcvette: ok
01:34 PM TurBoss: I was isung M6 T1 allways
01:34 PM TurBoss: * I was usung M6 T1 allways
01:34 PM Lcvette: so post does not need to be changed
01:34 PM Lcvette: thats how i am acustomed to doing it
01:35 PM Lcvette: m6 t#
01:35 PM TurBoss: but you are using t#1 M6 ?
01:35 PM TurBoss: is # defined?
01:35 PM Lcvette: the fusion360 post processor outputs t# M6
01:35 PM Lcvette: for linuxcnc
01:35 PM TurBoss: does that work?
01:36 PM TurBoss: mdi doesn't accept that
01:36 PM Lcvette: it does the same thing with mach3, so you must change the post config to output m6 t# or it won't accept the post
01:36 PM Lcvette: it seemed to work
01:36 PM TurBoss: by hand?
01:37 PM * Lcvette uploaded an image: Screenshot_2019-11-20_14-30-34.png (81KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QdOaTvzgmSAFjOPHXZPNxHOQ >
01:37 PM Lcvette: in this post it is t# m6
01:37 PM Lcvette: and it seemed to wrok
01:37 PM Lcvette: work
01:37 PM TurBoss: is # any number?
01:37 PM Lcvette: ``` }
01:37 PM Lcvette: writeComment("T" + toolFormat.format(tool.number) + " " + mFormat.format(6));
01:37 PM TurBoss: i'm confused
01:38 PM Lcvette: i think this is the place in the post that determines the order
01:39 PM Tom_L[m]: What's up?
01:39 PM TurBoss: hey
01:39 PM Lcvette: but in probe basic it seems it doesn't matter which way you format it, it changes the tool with both
01:39 PM Lcvette: sup tom_l
01:41 PM TurBoss: i was thinking that you where using a variable to determine the tool number like T#1 M6
01:41 PM TurBoss: and #1 = 13
01:41 PM TurBoss: lol
01:43 PM Lcvette: no
01:43 PM Lcvette: just the order it posts
01:43 PM Lcvette: T or M first
01:43 PM Lcvette: but doesn't appear to matter
01:47 PM Lcvette: i like M6 T# personally
01:48 PM Lcvette: but for no better reason than that is what i learned from the beginning of gcode writing
01:51 PM * Lcvette posted a file: 1002.ngc (5KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/rWTKNEyatysZgvGpKNhMBmWL >
01:58 PM TurBoss: http://linuxcnc.org/docs/html/gcode/other-code.html#sec:select-tool
01:59 PM TurBoss: It is an error if:
01:59 PM TurBoss: a negative T number is used,
01:59 PM TurBoss: T number is used that does not appear in the tool table
02:01 PM Lcvette: so it looks like linuxcnc likes to have t# first
02:01 PM TurBoss: The T word may appear on the same line as the M6 or on a previous line
02:01 PM Lcvette: correct
02:01 PM TurBoss: that says
02:01 PM Lcvette: t3
02:01 PM TurBoss: ok
02:01 PM Lcvette: m6
02:04 PM Tom_L: busy in here today!
02:05 PM Tom_L: i've always designated the tool first
02:05 PM Tom_L: if on 2 lines the T must come first i think
02:09 PM Lcvette: yup
02:10 PM Tom_L: what's that file for?
02:17 PM Tom_L: was that fusion generated?
02:18 PM Lcvette: that was an adjusted fusion file
02:18 PM Lcvette: i changed the order
02:18 PM Lcvette: but have since removed the change
02:18 PM Lcvette: made it back to T# M6
02:21 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/Can_Holder/A9_New/A9.txt
02:21 PM Tom_L: one from my post
02:21 PM Tom_L: works 100% with lcnc
02:23 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/Can_Holder/A9_New/A9_new2.jpg
02:37 PM Lcvette: Tom_L: cool thanks!
02:44 PM Tom_L: there may be a couple preamble codes you could add but it works good
02:47 PM Tom_L: one does imperial and i have a matching one for metric
02:59 PM * Lcvette sent a long message: < >
02:59 PM Lcvette: g20 is output from the post
02:59 PM Lcvette: for imperial
02:59 PM Lcvette: if it was a metric derived part it would output G21
03:00 PM Tom_L: same with mine
03:00 PM Lcvette: so why need 2 posts?
03:00 PM Lcvette: one should be doing that automatically
03:24 PM Lcvette: TurBoss: i think that odd rapid line is also in mster
03:24 PM Lcvette: with single offset used
03:34 PM Lcvette: or maybe not
03:34 PM Lcvette: just retested and it is not there
03:34 PM Lcvette: but it shows up even with only one offset
03:35 PM Lcvette: in the vtk branch
04:09 PM TurBoss: for the first part is only one extra rapid
04:09 PM TurBoss: the second has more
04:15 PM Lcvette: ah
04:15 PM Lcvette: have you looked at the difference bvetween the backplot.py files to see where it may be picking up that extra rapid?
04:16 PM Lcvette: i compared the master and vtk backplot.py files in meld and saw a few places that might be the cause
04:16 PM Lcvette: but not sure i want to break anything
04:16 PM Lcvette: lol
04:30 PM Not-5e4d: [02qtpyvcp] 07Gnevko opened issue 03#26: Problem with vtk pachake by installation - 13https://git.io/Je60Z
04:32 PM Not-5e4d: [02qtpyvcp] 07Gnevko edited issue 03#26: Problem with vtk pachake by installation - 13https://git.io/Je60Z
05:12 PM Lcvette: hazzy, seems a better installation method is sorely needed!
05:13 PM Lcvette: you gonna be back on dev anytime soon?
07:19 PM Tom_itx is now known as Tom_L