#hazzy Logs
May 14 2020
#hazzy Calendar
12:00 AM Lcvette: i have a 3ph vectory duty 1.5hp motor on it
12:00 AM Lcvette: with motor encoder feedback to run in ventor feedback mode
12:00 AM Lcvette: strong motor setup
12:00 AM Lcvette: i have a crappy vbelt pulley just to get it running to make some nice polyv pulleys
12:01 AM Lcvette: i also have an omron encoder to go direct driven to the spindle shaft for threading, tapping etc
12:01 AM Lcvette: im running some crappy closed loop stepper motors, but have two DMM 750 watt servos to go on it which should make it zippy
12:02 AM Lcvette: i also am going to build a turret for it
12:02 AM Lcvette: or buy one
12:02 AM Lcvette: not sure yet on that
12:08 AM Lcvette: they are about $1000 for an 8 tool turret to fit this lathe
12:08 AM JamesW[m]: sounds pretty full on
12:08 AM Lcvette: yeah
12:08 AM JamesW[m]: assume you are using this for a production machine?
12:08 AM Lcvette: i also have a fun little lathe with 8 tool turret project
12:08 AM Lcvette: an old teaching lathe
12:08 AM Lcvette: rhino ST8
12:08 AM Lcvette: yes
12:08 AM Lcvette: well for short runs and prototyping
12:08 AM Lcvette: i far out most of my production
12:08 AM JamesW[m]: thought so - given what you were describing
12:08 AM Lcvette: * i farm out most of my production
12:08 AM JamesW[m]: my manual lathe is a 3ph 2HP model. vector drive VFD.
12:08 AM Lcvette: its more cost effective in most cases
12:08 AM Lcvette: nice!
12:08 AM JamesW[m]: Approx 600 KG
12:08 AM Lcvette: what lathe model?
12:08 AM Lcvette: thats pretty beefy
12:08 AM Lcvette: this one is 616lbs but thats with the mill head
12:08 AM JamesW[m]: https://www.machineryhouse.co.nz/L555D
12:08 AM Lcvette: the lathe itself without the head is about 520lbs
12:08 AM Lcvette: 13x40 with D1-4 spindle
12:08 AM Lcvette: nice!
12:08 AM Lcvette: or is it D1-5?
12:09 AM Lcvette: yeah
12:09 AM Lcvette: i bet
12:19 AM * Lcvette uploaded an image: 41800.jpeg (689KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/JaFIvuGzafAzbAnRuSMRYaXJ >
12:20 AM Lcvette: JamesW: this is my little rhino lathe
12:20 AM Lcvette: i resurected it
12:20 AM Lcvette: * i resurrected it fromt he dead and got it running
12:20 AM Lcvette: but the linear rails on it were horrible round bar type
12:21 AM Lcvette: so im going t upgrade it with hiwin linear rails and a new hiwin linear cross slide, i also have servos for it
12:21 AM Lcvette: it was super old school, like from the late 80's
12:21 AM Lcvette: but it has a 5" D1-4 spindle and a fairly beefy steel frame weldment
12:22 AM Lcvette: got some castinite to fill it with and stiffen it further
12:22 AM Lcvette: the turret on it is quite unique in operation
12:22 AM Lcvette: it uses a series of air cylinder to turn and lock in place
12:22 AM Lcvette: its loud and clunky changing tools so i got a servo for it too to modernize and speed it up
12:23 AM Lcvette: the whole thing weighs about 700lbs
12:23 AM Lcvette: the whole enclosure is 14ga steel
12:23 AM JamesW[m]: cool
12:24 AM JamesW[m]: not a lot of second hand choice in NZ.
12:24 AM JamesW[m]: any thing that is old cnc
12:24 AM JamesW[m]: is $$$$
12:24 AM * Lcvette uploaded an image: 41835.jpeg (713KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/NkLMUJHusljVypOgbNqRZqLu >
12:24 AM Lcvette: got the whole thing for $1k shipped
12:25 AM JamesW[m]: something that size would be awesome. But very rare
12:25 AM Lcvette: yeah its goping to be a little beast
12:25 AM JamesW[m]: what I have seen is all about 3-4x that size and starts at $20,000NZD
12:25 AM Lcvette: putting a 1.5hp motor on it too
12:25 AM Lcvette: yeah this is a novelty
12:25 AM Lcvette: its beefier then the tiny emco lathes
12:25 AM Lcvette: but not a full size machine
12:26 AM JamesW[m]: good for small stuff?
12:26 AM Lcvette: yeah
12:26 AM Lcvette: it has a pretty healthy swing
12:26 AM Lcvette: but no tail stock
12:27 AM Lcvette: cross travel is about 7"
12:27 AM Lcvette: bed travel is 12
12:27 AM Lcvette: once this lathe is finished that will be my next project
12:31 AM JamesW[m]: just a little envious
12:38 AM * JamesW[m] is being a good coder and using pylint to drive better pthon coding habits
12:38 AM JamesW[m]: My code has gone form a 3.2 score up to a 7.22
12:39 AM JamesW[m]: out of 10
12:47 AM Lcvette: thats fantastic
12:47 AM Lcvette: lcvette only knows macro coding
12:47 AM Lcvette: lcvette can't get past hello world in the python tutorial before thinking something else is more important
12:47 AM Lcvette: lol
01:20 AM JamesW[m]: lol - I can get that
04:43 AM JT-Cave: morning
04:44 AM JamesW[m]: morning JT
04:44 AM JamesW[m]: JT-Cave: how's your python skills feeling this morning?
04:48 AM JT-Cave: needing a bit of coffee, but I'm fluent in python
04:50 AM JamesW[m]: JT-Cave: I have a widget and on it I am setting the name of another widget I need to be able to reference at run time from within the instance of the first mentioned widget. Given I only have the self reference in it how would I get a handle to this other widget?
04:52 AM JamesW[m]: I have the string name and I know there are findchild methods. Its just getting a handle to the main window instance I'm not sure on .
04:52 AM JamesW[m]: self.parent or some such?
04:53 AM JT-Cave: are you passing self to the child?
04:53 AM JamesW[m]: as part of the init I am
04:54 AM JamesW[m]: f'ing riot client.
04:54 AM JamesW[m]: ```
04:54 AM JamesW[m]: __init__'''
05:19 AM JamesW[m]: might have solved it. Will need to check how robust it is but I seem to be getting a handle and not None/Null
05:48 AM hazzy-m: Morning
05:49 AM hazzy-m: JamesW: there is an example of finding a widget by name in the subcall button
05:49 AM JamesW[m]: cheers - thanks
05:50 AM JamesW[m]: I have it working but will look at this to get a better pattern.
05:52 AM JamesW[m]: have the linkage between a "submit" button, MDIEditLine and MDIHistory all via Designer config at the moment. Have state data on each item in MDIHistory that will support queue execution. Started small changes to status.py for mdi history behaviour. Just need to work out the heart beat on the MDIHistory.
05:53 AM JamesW[m]: hazzy: you did mention about a function that return if machine/interp is idle. But is that only going to trigger when machine flicks state? Not going to keep polling?
06:06 AM JamesW[m]: <hazzy-m "JamesW: there is an example of f"> very odd - tried it and not finding the widget. But the findChild is
06:10 AM * JamesW[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/yRjpuIvzDcsoZdnMAwwKrFNa >
06:12 AM hazzy-m: are you doing this in init?
06:12 AM JamesW[m]: in initialize
06:13 AM hazzy-m: Ok, good. Do all the widgets should already be added
06:14 AM JamesW[m]: It's late here and I need to get sleep for tomorrow (yah Friday)
06:14 AM JamesW[m]: so will come back to this later. More interested in the heart beat problem. Want to crack that over lunch or during breaks tomorrow
06:16 AM hazzy-m: Ok, I should be around then
06:16 AM JamesW[m]: I think the mdi history needs a heart beat checking it for new commands that appear (queue up) that need to be executed. I'm not sure a call back from a machine state change will work. Cause as soon as the machine goes idle there will be no new trigger for commands to be picked up
06:16 AM hazzy-m: Just eating breakfast here!
06:17 AM JamesW[m]: 11:16pm here
06:17 AM hazzy-m: Yes, that's a good point
06:17 AM hazzy-m: 7:16 here :)
06:17 AM hazzy-m: Night
06:17 AM JamesW[m]: yeah.. You enjoy your day in the past. I'm off to bed and the future. :-p
06:18 AM hazzy-m: Lol
06:18 AM JamesW[m]: I've beed reading PEP8 and using pylint to improve style
06:19 AM JamesW[m]: I might need to go back over all my last code and significantly improve it. :-/
06:19 AM JamesW[m]: current work is getting scored 7.5/10
10:10 AM TurBoss: morning
10:10 AM TurBoss: hello
10:12 AM JT-Shop: morning
10:37 AM Not-944e: [02qtpyvcp] 07valeriob01 opened issue 03#32: error installing qtpyvcp - 13https://git.io/JfBaW
10:42 AM TurBoss: JT-Shop: hello!
10:55 AM * JT-Shop heads inside for lunch minute
11:05 AM JT-Cave: TurBoss, you still in lock down?
11:10 AM TurBoss: yes
01:27 PM Lcvette: TurBoss: o/
01:36 PM TurBoss: o/
01:38 PM Lcvette: lcvette is trying to find a way to make programmable coolant work when called from within a program
01:52 PM JamesW[m]: I thought that was an Standard. Code to activate and deactivate?
01:53 PM Lcvette: for some reason im not able to get it to work from inside a remapped m6
01:53 PM Lcvette: works flawlessly if doing by on screen buttons
01:54 PM Lcvette: i wonder if it can be made to move based on whatever is in the tool length offset box
01:55 PM Lcvette: automatically
01:55 PM Lcvette: turboss you still here?
01:56 PM TurBoss: yo
01:56 PM Lcvette: yo
01:56 PM Lcvette: read ^^
01:56 PM JamesW[m]: Huh? Why would you have coolant on via a tool change?
01:56 PM Lcvette: have any ideas?
01:56 PM Lcvette: programmable coolant
01:57 PM Lcvette: https://www.youtube.com/watch?v=YDJOWWI7RGs
01:57 PM Lcvette: that will vbette rhelp
01:57 PM JamesW[m]: But isnt that what M7 is for?
01:57 PM TurBoss: not sure... Lcvette
01:57 PM Lcvette: watch the coolant nozzles
01:57 PM JamesW[m]: Or M8
01:57 PM Lcvette: thats just to turn it on
01:58 PM TurBoss: defense turrent
01:58 PM TurBoss: :P
01:59 PM TurBoss: Lcvette: so it doeesn't work?=
01:59 PM JamesW[m]: Ok. So tool change also adjusts the angle of your canon
02:00 PM Lcvette: it doesn't work when a tool change is called from within a program
02:00 PM Lcvette: works in all other circumstances
02:00 PM Lcvette: correct
02:00 PM Lcvette: but a program calling a tool change is not doing that
02:00 PM JamesW[m]: Ok. And the same ngc is obviously being called in all circumstances.?
02:00 PM Lcvette: wonder if i could link it to m8
02:01 PM Lcvette: instead of m6
02:01 PM Lcvette: since thats after the fact
02:01 PM Lcvette: tool already changed
02:01 PM Lcvette: hmmmm
02:02 PM JamesW[m]: It might be cleaner to have that adjustment in an M8 override.
02:04 PM JamesW[m]: But when you say it’s not working in M6 during prog, you mean the angle doesnt change?
02:04 PM Lcvette: Correct I think it doesn't pull in data from designer labels during a remap call
02:05 PM TurBoss: :o
02:05 PM Lcvette: And it requires a good bit of data to be pulled in to make the calculations for the
02:06 PM JamesW[m]: Im not sure how your macro is coded. But when I was doing my M6 remap I sprinkled ngc print comments through it to see what was happening. Just run linuxcnc from command line and they will send to the terminal window.
02:09 PM TurBoss: good idea
02:09 PM TurBoss: print the table values
02:09 PM JamesW[m]: If it works from mdi but not from prog that implies some vars are not getting pulled. I would do the debug with prints to see what is getting missed.
02:09 PM TurBoss: to see if they come or not
02:10 PM JamesW[m]: Yup.
02:11 PM Lcvette: im pretty sure its an issue of the data not being pulled in from the designer on screen boxes
02:12 PM Lcvette: i want to say i remember hazzy saying it would not be possible
02:12 PM Lcvette: but i was thinking it was since it was working with a tool change
02:12 PM Lcvette: but now i see that its because i put the code in the m6 G43 button
02:14 PM Lcvette: siggen is being activated by M68 E20 Q[#<coolant_final_angle>]
02:14 PM Lcvette: i need a way i think to just have it calculate in designer and then just trigger the M68 E20 [designer_box_data
02:14 PM Lcvette: * i need a way i think to just have it calculate in designer and then just trigger the M68 E20 [designer_box_data]
02:14 PM JamesW[m]: Oh
02:15 PM Lcvette: think that would simplify it and it would always work that wayregardless of tool change etc
02:15 PM JamesW[m]: You passing the macro the answer?
02:15 PM Lcvette: yes
02:15 PM Lcvette: but in remap thats not permitted
02:15 PM JamesW[m]: Ah
02:15 PM Lcvette: so im tstuck
02:15 PM JamesW[m]: Well ....
02:16 PM Lcvette: i can trigger the m68 e20 q# from the remap but can't get the Q# value to it
02:16 PM JamesW[m]: You might be able to enhance the epiloge python
02:16 PM Lcvette: lkol
02:17 PM JamesW[m]: The q value is just the tool position from the tool table?
02:17 PM Lcvette: no, its a calculated value based on the tool length offset
02:18 PM JamesW[m]: Ok. And thats math that is beyond the math fucntions available in ngc?
02:18 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/vrGrnnpfOjnNarUkciwvUYen >
02:18 PM JamesW[m]: Bearing in mind ngc has trig functions
02:18 PM Lcvette: no
02:18 PM Lcvette: its done in ngc
02:19 PM JamesW[m]: Ok. So exactly what value is being passed to the M6 that it cant get itself or calc itself?
02:20 PM JamesW[m]: Sorry. Missing something
02:20 PM * Lcvette uploaded an image: Screenshot_2020-05-14_15-19-52.png (23KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/AdwYWFPtjzWrfsaJyEVChtDr >
02:21 PM Lcvette: i guess i could add those value directly into the macro
02:21 PM Lcvette: and then just need to pull in the tool length offset value
02:21 PM Lcvette: not sure how to do that though
02:21 PM Lcvette: need to look into it
02:22 PM Lcvette: was tyring to make it easily setup from within the gui
02:22 PM JamesW[m]: You could. But I am wondering why they cant be added to the ngc environment at machine start as named global vars?
02:22 PM Lcvette: hmmm
02:24 PM JamesW[m]: The other option is to enhance the prologue python in the stadard glue to collect the needed vars and make available to the called ngc
02:24 PM Lcvette: That's beyond my abilities
02:24 PM JamesW[m]: Would need to test it to see if that python can see the gui.
02:25 PM JamesW[m]: The lower change approach might be my first suggestion
02:25 PM JamesW[m]: I think the ngc intepreter starts its variable space as linuxcnc starts.
02:26 PM JamesW[m]: You would want to chexk that linuxcnc estop or power off doesmt zero it
02:26 PM Lcvette: Think I m going to try setting it in the in the remap macro first with hard settings so all I need to know grab is the tool length offset what should be available I think?
02:27 PM JamesW[m]: Less portable but will absolutely work for your install.
02:27 PM Lcvette: For the moment I think that's what I'm going to have to do because I have some production runs I have to start tomorrow that'll probably last me through Monday
02:28 PM Lcvette: But I definitely want to address it so it's available to set up in the GUI
02:28 PM Lcvette: I hope that's one of the nice things about it is that it's so user-friendly
02:28 PM JamesW[m]: Well i could have a snoop over the weekend.
02:29 PM JamesW[m]: See if the python angle is viable.
02:29 PM JamesW[m]: Or the ngc global var
02:29 PM Lcvette: that would be awesome!
02:31 PM JamesW[m]: That ngc debug eval line, that was designed for a subcall button?
02:32 PM JamesW[m]: Ie it worked from a subcall button.
02:32 PM Lcvette: that is some magic for setting values in the gui boxes
02:35 PM Lcvette: in the interim, if you don't have or use an m6 macro, the programmable coolant works
02:36 PM Lcvette: how would i casll up the current tools tool length offset?
02:36 PM Lcvette: in ngc macros
02:36 PM Lcvette: ?
02:42 PM Lcvette: #5403?
02:42 PM * Lcvette uploaded an image: image.png (4KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/yaKhkWecJaUhSsZBaZUtoXlj >
02:42 PM TurBoss: whats that? your visa pin?
02:43 PM TurBoss: #5403 should be Z
02:43 PM JamesW[m]: I think it will be one of those numbered vars
02:44 PM JamesW[m]: But that will be what is in effect after the Built in M6 processesor
02:52 PM JamesW[m]: That might be why doing the coolant canon calcs in the coolant M codes is cleaner. As at that point all tool change is done and the ngc env has the current tool data in it.
02:54 PM JamesW[m]: In my old brain that is also cleaner as you are keeping the like concerns together. Not mixing coolant related stuff with tool change stuff.
02:54 PM Lcvette: ok i have it working from within the remap
02:54 PM Lcvette: ```
02:54 PM Lcvette: 3
02:55 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ECpMqnioWNNhzxamljQuaGmp >
02:55 PM Lcvette: works on sim, going to test on machine code now
02:56 PM JamesW[m]: Works from mdi command line?
02:56 PM Lcvette: yes
02:56 PM JamesW[m]: Nice
02:56 PM Lcvette: getting ready to run a program through it to make sure sim is working that way too
02:58 PM JamesW[m]: Hmmm. If that debug statement stills sets gui during prog the you should be able to use similar pattern to get data from gui during prog run.
02:58 PM Lcvette: hurray, works from program too!
02:58 PM Lcvette: \o/
02:59 PM Lcvette: back in a few, going to test on machine
02:59 PM JamesW[m]: Rgr
02:59 PM * JamesW[m] has to get up to go to work. :-(
03:08 PM Lcvette: \o/ works on the machine hurray!
03:08 PM TurBoss: what was?
03:12 PM JamesW[m]: nice
03:13 PM JamesW[m]: Lcvette: that debug statement with the eval in it. Can you remember where you saw an example of that?
03:16 PM Lcvette: hazzy and turboss made it
03:16 PM Lcvette: you just have to name the lineedit or label in designer with the same name
03:16 PM Lcvette: TurBoss: its a dirty fix for the remap part, but works
03:17 PM Lcvette: i just put the data directly in the toolchange.ngc file
03:17 PM Lcvette: lie i showed above
03:17 PM Lcvette: ```
03:17 PM JamesW[m]: <Lcvette "TurBoss: its a dirty fix for the"> can you get data from GUI and set in ngc variable?
03:18 PM TurBoss: yes
03:18 PM Lcvette: yes thgat is easy
03:18 PM JamesW[m]: is that documented on the qtpyvcp site?
03:18 PM Lcvette: jusyt define it at the top with the same name as the box used in the gui
03:18 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/BxoMnlHTXLDLipPCxrvYpbrD >
03:18 PM JamesW[m]: <Lcvette "jusyt define it at the top with "> and that works in progs?
03:19 PM Lcvette: #<horizontal_spindle_nozzle_dist> = #1
03:19 PM TurBoss: is a secret feature lol
03:19 PM TurBoss: just forgot
03:19 PM Lcvette: this line pulls in data from the settings page in probe basic from the line edit named #horizontal_spindle_nozzle_dist
03:20 PM Lcvette: * this line pulls in data from the settings page in probe basic from the line edit named horizontal_spindle_nozzle_dist
03:20 PM Lcvette: to send out, you need the box named in the debug line
03:20 PM Lcvette: #1000 = #<coolant_final_angle>
03:20 PM Lcvette: (DEBUG, EVAL[vcp.getWidget{"coolant_final_angle"}.setValue{#1000}])
03:21 PM Lcvette: in this case the label or line edit would be named coolant_final_angle in the gui
03:21 PM Lcvette: done in the property editor
03:21 PM JamesW[m]: ok - need to remember that as could be useful
03:24 PM Lcvette: its fantabulous
03:24 PM Lcvette: i use it all opver the place
03:24 PM Lcvette: lol
03:24 PM Lcvette: if just worked in remap now
03:26 PM JamesW[m]: would love to see where it is in the docs.
03:27 PM JamesW[m]: Heck if its not I might look to try and write something. Not that I am very good at docs
03:30 PM JamesW[m]: hazzy: When you come back on line. Can you point me to where this pattern is within the doc website:
03:30 PM JamesW[m]: ```(DEBUG, EVAL[vcp.getWidget{"coolant_final_angle"}.setValue{#1000}])```
03:30 PM JamesW[m]: :-) when in doubt, hassle the boss.
03:35 PM TurBoss: the docs are in the source of qtpyvcp
03:35 PM TurBoss: they are markdown
03:35 PM TurBoss: or something...
03:35 PM JamesW[m]: yeah think markdown
03:36 PM TurBoss: the web builds the docs found in master
03:39 PM roguish[m]: TurBoss: where are the source for the linuxcnc docs?
03:39 PM TurBoss: hmmm
03:40 PM TurBoss: https://github.com/LinuxCNC/linuxcnc/tree/master/docs
03:40 PM TurBoss: not sure how are they wrote
03:40 PM TurBoss: a quick read may show
03:44 PM TurBoss: Lcvette: how do you determine if X is "up" or "down" in a lathe?
03:44 PM TurBoss: with the tooltable?
03:45 PM TurBoss: depending on Q?
03:45 PM JamesW[m]: has to be driven by Q
03:45 PM JamesW[m]: only thing that makes sense to me
03:46 PM TurBoss: yup
03:46 PM TurBoss: me too
03:46 PM * TurBoss uploaded an image: image.png (27KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/lmGgqBPMCrEybwONYyheqWNi >
03:46 PM TurBoss: repost
03:46 PM TurBoss: having this 162 down
03:46 PM TurBoss: 483 up
03:46 PM TurBoss: 5 and 7 😕
03:47 PM TurBoss: and 9
03:47 PM JamesW[m]: can you even mount for 5?
03:47 PM JamesW[m]: unless that is trying to show tool in the spindle?
03:47 PM TurBoss: if you put a tool in the spindle...
03:47 PM TurBoss: it seems
03:48 PM JamesW[m]: which means work is on the cross slide
03:48 PM TurBoss: position 9?
03:49 PM JamesW[m]: beats me what that is trying to achieve
03:50 PM JamesW[m]: tool vertically up from the tool post
03:50 PM JamesW[m]: in what the Y axis would be
03:50 PM TurBoss: 😐️
03:51 PM JamesW[m]: would be interesting to learn from a lathe cnc operator if its actually used in real world applications
03:58 PM TurBoss: 😲 managed to hide Y axis
03:58 PM JamesW[m]: well done
03:59 PM TurBoss: 🙂
04:02 PM Not-944e: [02qtpyvcp] 07TurBoss pushed 031 commit to 03VTK_Lather [+0/-0/±1] 13https://git.io/JfBy6
04:02 PM Not-944e: [02qtpyvcp] 07TurBoss 033cebdb8 - hide Y axis for Lathe
04:11 PM Lcvette: no
04:11 PM Lcvette: the tool post location determine which direction x is
04:11 PM Lcvette: the tool tip does not change the x axis direction
04:12 PM Lcvette: Q does not change x axis direction
04:12 PM Lcvette: all 9 Q tool options are relative to the x axis
04:12 PM Lcvette: in the same direction
04:12 PM JamesW[m]: ok
04:13 PM Lcvette: front tool post = x axis pointing down on screen
04:13 PM JamesW[m]: so tool post location is a setting somewhere?
04:13 PM Lcvette: rear tool post = x axis point up on screen
04:13 PM Lcvette: its an option
04:13 PM Lcvette: needs to be
04:13 PM JamesW[m]: what happens if you have multiple tool posts
04:13 PM JamesW[m]: ?
04:13 PM Lcvette: if the display is to match the machine
04:13 PM Lcvette: which it should
04:14 PM JamesW[m]: I can remember seeing cnc lathes with multiple tool holders.
04:14 PM Lcvette: you mean gang tooling?
04:15 PM JamesW[m]: yeah
04:15 PM Lcvette: gang tooling all uses one x axis plus direction too
04:15 PM JamesW[m]: one holder is rotary other is ganged
04:15 PM Lcvette: each mounted tool has its own x offset
04:15 PM JamesW[m]: ganged on the back side, rotary on front side
04:15 PM TurBoss: Lcvette: any idea why im getting "Requested tool 1 not found in the tool table"
04:15 PM Lcvette: the one closest to the far end usually has the smallest x offset
04:15 PM Lcvette: is there a tool 1 in the tool table?
04:16 PM TurBoss: yes
04:16 PM Lcvette: oh maybe the memopry is looking to start linuxcnc with the last tool, but the tool table has changed?
04:16 PM * TurBoss uploaded an image: Captura de pantalla de 2020-05-14 23-15-52.png (33KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/HUMmyrGLzdAYKevjZCZqAsla >
04:16 PM TurBoss: when I issue T1 M6
04:17 PM TurBoss: or with the Gui
04:17 PM Lcvette: save reload and restart
04:17 PM TurBoss: ok
04:17 PM Lcvette: oh, lathe is funny
04:17 PM Lcvette: try m6 t1
04:17 PM Lcvette: or iof mdi, just use t1
04:17 PM Lcvette: try maybe
04:18 PM TurBoss: same
04:19 PM TurBoss: oh
04:19 PM TurBoss: the sim
04:19 PM TurBoss: :D
04:20 PM TurBoss: ok
04:20 PM TurBoss: I wasn't using the pb sim
04:21 PM Lcvette: oh
04:21 PM Lcvette: i didn't fdo anything with pbsim?
04:21 PM Lcvette: what were you using
04:21 PM Lcvette: ive only been woprking in pb_lathe
04:21 PM Lcvette: not pb_lathe_atc
04:21 PM Lcvette: /o\
04:21 PM Lcvette: should be able to tool change though
04:22 PM Lcvette: what subroutines are in pb_lathe
04:22 PM Lcvette: maybe its trying to run remap?
04:25 PM TurBoss: nono
04:25 PM TurBoss: it works
04:25 PM TurBoss: ```
04:25 PM TurBoss: linuxcnc Proyecprobe_basic/config/probe_basic_lathe/probe_basic_latheathe.ini
04:26 PM JamesW[m]: re the eval[vcp. stuff in ngc. Found this on the doc webiste: http://www.qtpyvcp.com/plugins/notifications.html?highlight=eval%20vcp%20getwidget
04:32 PM TurBoss: ok figured the issue not the bug
04:32 PM TurBoss: if I call T1 the T2
04:32 PM TurBoss: * if I call T1 then T2
04:32 PM TurBoss: T1 is not callable anymore
04:38 PM Lcvette: oh
04:38 PM Lcvette: wonder why
04:38 PM Lcvette: :o
04:38 PM TurBoss: could be?
04:38 PM Lcvette: bug?
04:38 PM TurBoss: its confusing becaus a tool is called on boot?
04:40 PM Lcvette: maybe the persistent tool thing
04:40 PM Lcvette: feature on mill maybe is a bug on lathe
04:40 PM Lcvette: :o
04:40 PM Lcvette: /o\
04:52 PM TurBoss: I don't know
04:52 PM TurBoss: 😕
04:58 PM Lcvette: :(
05:13 PM JamesW[m]: is there a singleton instance to access the VCPApplication instance from within say a widget, plugin or the like.
05:26 PM Not-944e: [02qtpyvcp] 07TurBoss pushed 031 commit to 03VTK_Lather [+0/-0/±1] 13https://git.io/JfBHz
05:26 PM Not-944e: [02qtpyvcp] 07TurBoss 03e8d1d89 - change tool in the plotter on toolchange
05:27 PM JamesW[m]: lather? lol
05:27 PM TurBoss: yes a typo
05:28 PM TurBoss: doesn't matter once merged branch is nuked
05:28 PM JamesW[m]: oh - just had images of a a bunch of soapy bubbles
05:35 PM TurBoss: Lcvette: toolchange works fine on mill
05:39 PM TurBoss: updated linuxcnc and worked fine 😕
05:39 PM TurBoss: now toolchange works
05:39 PM TurBoss: on lathe
05:41 PM Lcvette: hurray!!
05:42 PM Lcvette: \o/
05:42 PM Lcvette: you did it!
05:42 PM TurBoss: i did nothing lol
05:46 PM TurBoss: seems not gole
05:46 PM TurBoss: * seems not gone
05:46 PM TurBoss: If i set T0
05:46 PM TurBoss: nothing works after that
05:46 PM TurBoss: i meanother tools
05:47 PM Lcvette: /o\
05:49 PM TurBoss: I can't figure
05:49 PM TurBoss: o\
05:49 PM Lcvette: maybe its macros?
05:49 PM Lcvette: i will look in designer
05:49 PM TurBoss: 🤦♂️
05:50 PM Lcvette: remove everything not needed for lathe
05:50 PM TurBoss: duno
05:50 PM TurBoss: T1
05:50 PM Lcvette: ok sek ill check it]
05:50 PM TurBoss: are you able to reproduce?
05:59 PM Lcvette: just sat down to dev
06:00 PM Lcvette: need to save something then will change to lathe rbanch and test
06:01 PM TurBoss: okk
06:01 PM Not-944e: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/±4] 13https://git.io/JfBQh
06:01 PM Not-944e: [02probe_basic] 07Lcvette 036f4eb2f - update programmable coolant code in remap ngc file
06:03 PM Not-944e: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JfB7v
06:03 PM Not-944e: [02probe_basic] 07traviscibot 0351e3caa - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
06:03 PM Not-944e: [02qtpyvcp] 07Lcvette created branch 03VTK_Lather 13https://git.io/JfB7T
06:05 PM Lcvette: TurBoss: it seems to be working fine here with the button
06:05 PM TurBoss: set t0
06:05 PM TurBoss: the try others
06:05 PM TurBoss: * then try others
06:05 PM Lcvette: yes i did, works fine
06:06 PM TurBoss: :/
06:06 PM Lcvette: i used the button and mdi line
06:06 PM Lcvette: m6 t#
06:06 PM Lcvette: are you on the most recent probe basic?
06:06 PM Lcvette: not atc one
06:06 PM TurBoss: checking
06:06 PM TurBoss: yes
06:07 PM Lcvette: and one the most recent sim for lathe?
06:07 PM * Lcvette uploaded an image: Screenshot_2020-05-14_19-06-33.png (44KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/dBAbyuKdnKBxdVMgfUCpknoL >
06:07 PM TurBoss: yes latest lathe_vcp
06:07 PM * Lcvette uploaded an image: Screenshot_2020-05-14_19-06-53.png (35KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BIGYdpgUBfijncWIUXAaTNcq >
06:07 PM TurBoss: ```
06:07 PM TurBoss: probe_basic/config/probe_basic_lathe/probe_basic_lathe.ini
06:07 PM Lcvette: i changed many things
06:09 PM TurBoss: can you send me the tooltable?
06:09 PM TurBoss: anyway has 2 tools
06:09 PM * Lcvette posted a file: lathe.tbl (0KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/AUeZntkYhSMhvSBeeAlNKMQr >
06:10 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/KPqNlRTGgwnPSwOvHmZTItMf >
06:11 PM Lcvette: what log level?
06:11 PM TurBoss: now works
06:11 PM Lcvette: yes?
06:11 PM TurBoss: duno
06:11 PM Lcvette: works?
06:11 PM TurBoss: works!
06:11 PM TurBoss: duno
06:11 PM Lcvette: what are the log options?
06:11 PM Lcvette: warn and?
06:11 PM TurBoss: I'll check again
06:11 PM Lcvette: debug
06:11 PM TurBoss: mine ar silenced i don't know why
06:12 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/WxNEZqgxAixJDGQeIjNFJHsn >
06:12 PM TurBoss: there are no diferences on the tooltable i have
06:12 PM Lcvette: you have the updated yaml?
06:12 PM TurBoss: I need that
06:12 PM TurBoss: how can i check?
06:13 PM TurBoss: were
06:13 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/bZqChoBTTIeJIfNbtwjJkJBr >
06:13 PM TurBoss: ahhhh from the launcher
06:13 PM TurBoss: okay
06:13 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ysgixVUyjuQRyBWnlvMYEDxa >
06:13 PM Lcvette: this si the current yaml
06:13 PM Lcvette: should be up tyo date in crackin
06:15 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/pAygfRgjEUHxObohilgElzgG >
06:17 PM Lcvette: in the ini change the log leavel
06:17 PM Lcvette: log level = debug
06:17 PM Lcvette: chnage from log level = warn
06:17 PM TurBoss: thanks!
06:17 PM Lcvette: \o/
06:17 PM TurBoss: I was blind
06:17 PM Lcvette: im helpful!
06:17 PM Lcvette: :D
06:18 PM TurBoss: but now I can see
06:18 PM TurBoss: thanks BIG PANDA !!
06:18 PM TurBoss: 🐼
06:18 PM Lcvette: panda power!
06:18 PM Lcvette: :D
06:18 PM Lcvette: lol
06:18 PM TurBoss: lol
06:20 PM TurBoss: Lcvette: you on dev?
06:21 PM Lcvette: yes!
06:21 PM TurBoss: if I add a tool
06:21 PM TurBoss: and save
06:21 PM TurBoss: I cant call it latter
06:21 PM TurBoss: I did save and reload
06:25 PM Lcvette: ok let me test that
06:25 PM TurBoss: ok
06:27 PM Lcvette: it needs to start with no tool loaded
06:27 PM Lcvette: i noticed it just started with the last tool loaded
06:27 PM Lcvette: but the tool dro says tool 0
06:27 PM TurBoss: how is that
06:27 PM TurBoss: yes I noticed
06:28 PM TurBoss: yes
06:28 PM TurBoss: also that
06:29 PM Lcvette: ok i get the same error
06:29 PM Lcvette: "requested tool 3 not found in the tool table"
06:29 PM Lcvette: somehow reload table is not working maybe
06:30 PM TurBoss: it seems
06:30 PM Lcvette: and once i add a new tool no tools are found
06:30 PM TurBoss: but save does?
06:30 PM TurBoss: :/
06:30 PM TurBoss: /o\
06:31 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/iyZGkPCVEExqrvAPpNmDUqRO >
06:32 PM Lcvette: but the lathe table clearly has all the tools in it
06:32 PM Lcvette: i dunno
06:32 PM Lcvette: now no tools will load
06:32 PM Lcvette: we need fesrless leader
06:32 PM Lcvette: * we need fearless leader
06:32 PM Lcvette: lol
06:32 PM JamesW[m]: There is no macro override on M6?
06:32 PM Lcvette: no, i deleted the macros
06:33 PM Lcvette: just used an mdi button
06:33 PM Lcvette: to start with was easiest
06:33 PM JamesW[m]: There is no remap
06:33 PM Lcvette: no
06:33 PM Lcvette: this is for the lathe gui
06:33 PM JamesW[m]: And nothing left over in the uni
06:33 PM JamesW[m]: Ini
06:34 PM Lcvette: its a brand new lathe ini hazzy made for sim
06:34 PM Lcvette: has no ties to the mill ini's
06:34 PM JamesW[m]: k. And axis lathe all works?
06:34 PM Lcvette: i don't have a clue how to use axis
06:34 PM Lcvette: i never have
06:34 PM Lcvette: lol
06:34 PM Lcvette: i used gmoccapy for one day
06:34 PM Lcvette: then built probe basic
06:34 PM Lcvette: :D
06:35 PM Lcvette: \o/
06:35 PM Lcvette: they were that bad
06:35 PM JamesW[m]: Where I’m heading is if one works and the other does then start looking for diffs
06:35 PM JamesW[m]: Doesn’t
06:35 PM JamesW[m]: cose Gcode is gcode.
06:36 PM TurBoss: Lcvette: both master branchs and PB works fine even adding a tool
06:37 PM TurBoss: JamesW: do you mean is a problem with m6 on lathe?
06:37 PM TurBoss: or other
06:37 PM Lcvette: ?
06:37 PM Lcvette: Those have the mill tool table
06:37 PM TurBoss: Lcvette: no mill pb works
06:37 PM TurBoss: oh
06:38 PM TurBoss: ok
06:38 PM TurBoss: so new letters
06:38 PM Lcvette: Yes
06:38 PM Lcvette: Yaml update too
06:40 PM TurBoss: lol
06:40 PM * TurBoss uploaded an image: Captura de pantalla de 2020-05-15 01-39-56.png (123KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/dxawNVsbbYJNSgLhEdZdmGHy >
06:41 PM TurBoss: only commented stuff remains
06:41 PM Lcvette: lcvette doesn't understand
06:42 PM TurBoss: is the line author
06:42 PM Lcvette: ?
06:42 PM Lcvette: still don't understand
06:42 PM TurBoss: the picture
06:42 PM Lcvette: i see it but don't know what im looking at
06:43 PM TurBoss: it shows who did each line
06:43 PM Lcvette: its hazzy faulkt
06:43 PM TurBoss: only some comments of mine remain
06:43 PM TurBoss: lol
06:43 PM Lcvette: * its hazzy fault
06:43 PM TurBoss: no
06:43 PM Lcvette: hazzy broke it
06:43 PM TurBoss: xD
06:43 PM Lcvette: :D
06:43 PM Lcvette: \o/
06:43 PM Lcvette: damit hazzy
06:43 PM Lcvette: fix it
06:44 PM Lcvette: lol
06:44 PM TurBoss: you soummoned busy leader
06:44 PM Lcvette: hazzy
06:44 PM Lcvette: :D
06:44 PM TurBoss: /o\
06:44 PM Lcvette: /o\
06:44 PM Lcvette: hahahaha
06:44 PM Lcvette: hazzy's phone is buzzing out of his pocket
06:44 PM Lcvette: lol
06:44 PM TurBoss: hahahahahah
06:45 PM Lcvette: you have an idea!
06:45 PM TurBoss: fix ourselves
06:45 PM Lcvette: /o\
06:45 PM Lcvette: lol
06:45 PM TurBoss: xD
06:45 PM Lcvette: o/ \o
06:45 PM TurBoss: so is save
06:46 PM TurBoss: or reload
07:16 PM roguish[m]: Lcvette: hey, how can I install PB ???
07:16 PM Lcvette: dev or user install?
07:17 PM Lcvette: https://kcjengr.github.io/probe_basic/quick_start.html
07:34 PM roguish[m]: yes
07:53 PM JamesW[m]: win - have a working 1 sec heart beat on the mdi history queue
08:00 PM TurBoss: \o/
08:01 PM JamesW[m]: next step is to get the mdi history entries maked as "todo" to be picked off in order and run
08:02 PM Lcvette: What's a 1 sec heartbeat
08:03 PM Lcvette: :o
08:03 PM JamesW[m]: every 1 second a function is called
08:03 PM JamesW[m]: like a heart beat
08:03 PM JamesW[m]: I can change the frequency. Could every 0.5secs or every 30secs
08:04 PM JamesW[m]: but I thought every 1 sec would be ok for MDI
08:04 PM Lcvette: Sure
08:04 PM Lcvette: Isee
08:04 PM Lcvette: Very cool
08:04 PM JamesW[m]: means not to large a delay between a command finishing and the next starting
08:04 PM Lcvette: Nice
08:04 PM Lcvette: This is gonna be awesome!
08:05 PM Lcvette: \o/
08:05 PM JamesW[m]: yup. This is one of the core elements to you MDI queued commands
08:06 PM Lcvette: I love it!
08:07 PM JamesW[m]: I reckon I will have the guts of this working tonight and might even have the styling done tomorrow if I get lucky and not too distracted
08:07 PM Lcvette: Hurray!
08:07 PM Lcvette: I can test it out tomorrow
08:08 PM Lcvette: I have lots of stock to size in the afternoon and i usually do it manually
08:08 PM JamesW[m]: my servo motor that will be my spindle motor on BF20 is with the local courier :)
08:09 PM Lcvette: Hurray!
08:09 PM Lcvette: What size again.
08:09 PM JamesW[m]: yeah - that will be a bit of a distraction this weekend. If delivered of course.
08:09 PM JamesW[m]: 750W
08:09 PM Lcvette: Rpm?
08:10 PM JamesW[m]: for my hobby mill and hobby usage should do the business. Rated for 3000rpm
08:10 PM Lcvette: Should Betty a bigger one
08:10 PM Lcvette: * Should get a bigger one
08:10 PM JamesW[m]: yeah - but my budget didn't stretch to 1kw
08:10 PM Lcvette: I have a 2.8kw on my z axis
08:11 PM JamesW[m]: there is what I would like and what I can afford
08:11 PM Lcvette: 1.8kw on x and y
08:11 PM Lcvette: I got mine cheap
08:11 PM Lcvette: China
08:11 PM JamesW[m]: nothing like that is cheap in NZ
08:12 PM JamesW[m]: even from china
08:12 PM JamesW[m]: exchange rate screws us
08:12 PM Lcvette: Have tarrifs or something?
08:12 PM JamesW[m]: and shipping
08:12 PM JamesW[m]: and taxes
08:12 PM JamesW[m]: 15% GST
08:12 PM Lcvette: Shopping gets use here to
08:12 PM Lcvette: Oh wow
08:13 PM Lcvette: * Shipping gets us here to
08:13 PM Lcvette: * Shipping gets us here too
08:14 PM JamesW[m]: I have watched vids of people with 750W brusheless and servo motors. For hobby use they will do the business. You just need to work within the envelope.
08:14 PM JamesW[m]: Accept what they are good at and not.
08:14 PM Lcvette: Yeah
08:14 PM Lcvette: Better than the stocker
08:14 PM JamesW[m]: A big ass ~1.4KW would have been lovely and blown my budget out of the water
08:16 PM JamesW[m]: So I figure it will be a good upgrade. Improve capability, better speed control. Should be able to get index control from it or I will add a separate index sensor to the spindle for taping if needed. I have spare NPN proximity switches and I have seen them used as an index for tapping purposes.
08:21 PM * hazzy-m uploaded an image: ima_1a14938.jpeg (255KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/dbloRWvPMjpFZQxOPxhkfGFK >
08:22 PM TurBoss: hurray!
08:22 PM JamesW[m]: nice
08:22 PM TurBoss: I need a big machine to plug thoose fun parts
08:22 PM JamesW[m]: I'm very tempted that one of those be a birthday present
08:23 PM TurBoss: my cdrom steppers machine doen't handle it lol
08:23 PM TurBoss: I managed to build linuxcnc using a virtualenv
08:23 PM TurBoss: \o/
08:23 PM TurBoss: some issues with dbus but fine
08:36 PM Lcvette: hazzy: hurray!
08:36 PM Lcvette: Now use probe basic!
08:36 PM Lcvette: I'm making a screen enclosure tomorrow
08:45 PM JamesW[m]: win - queued up commands working
08:49 PM hazzy-m: Hooray!!
08:50 PM * hazzy-m just got home, beer night at work
08:50 PM JamesW[m]: beer night is always
08:50 PM JamesW[m]: good
08:56 PM JamesW[m]: just playing with mdiHistory widget queue function. It's raw but it looks to be working. Just queued up 4 mdi commands and the are ticking along nicely
08:59 PM hazzy-m: > <@joco_nz:matrix.org> hazzy: When you come back on line. Can you point me to where this pattern is within the doc website:
08:59 PM hazzy-m: > ```(DEBUG, EVAL[vcp.getWidget{"coolant_final_angle"}.setValue{#1000}])```
08:59 PM hazzy-m: JamesW: its not in the docs, that I know of ...
08:59 PM hazzy-m: That's something that really needs to be improved
08:59 PM JamesW[m]: its a little hidden
09:00 PM hazzy-m: some of the best features of QtPyVCP are the most hidden
09:00 PM JamesW[m]: http://www.qtpyvcp.com/plugins/notifications.html
09:02 PM hazzy-m: any python expression can be passed in from gcode, which is not ideal since somebody could exploit it with an infected gcode file, but the environment is limited to make it harder
09:02 PM hazzy-m: sweet!
09:03 PM JamesW[m]: I think that capability in respect to vcp access could be quite powerful. Having some clearer examples or potential use cases could be useful?
09:03 PM hazzy-m: yes, extremity powerful
09:04 PM JamesW[m]: particularly if we can use the EVAL to get data from the gui (e.g. settings data) to feed into macros or a prog
09:04 PM hazzy-m: better/more advanced examples would be fantastic. Can do things like change to a certain tab widget page during a tool change etc with it
09:05 PM JamesW[m]: yup - that was one of the things I started to think alog
09:05 PM JamesW[m]: means I can get some UI space back for gui stuff that is not relevant UNTIL you do a tool change
09:05 PM hazzy-m: that's something that's harder to do, but I've been working on injecting variables into the interp
09:05 PM hazzy-m: this is why Lcvette coolant cannon does not work in auto mode
09:06 PM JamesW[m]: have it hidden or in a stacked container and pop up from within the ngc code for when it is needed
09:06 PM hazzy-m: the vars are only passed with running an MDI
09:06 PM hazzy-m: exactly
09:06 PM JamesW[m]: ahhhh
09:06 PM JamesW[m]: right
09:06 PM JamesW[m]: but this could ge around that?
09:07 PM JamesW[m]: if the EVAL is a standard part of the interpreter in lcnc
09:07 PM JamesW[m]: yeah I looked at the code and figured out what was happening with the param stuff. Its a function of the subcall button
09:08 PM JamesW[m]: Lcvette: do you need to be able to remove code from the history list to make sure it wont run again?
09:09 PM JamesW[m]: I'm thinking about popping the Z height down a little then going back to the X/Y codes and re run them. You would want to remove the Z height tweak so it doesn run again.
09:10 PM JamesW[m]: Since it would be at the top of the list being the most recent command issued.
09:19 PM hazzy-m: JamesW: EVAL is part of QtPyVCP, it looks for it in the DEBUG message, and if it's there it evaluates the python code rather than displaying the message
09:19 PM JamesW[m]: ah - poop
09:19 PM JamesW[m]: so wont work as part of a normal prog?
09:20 PM TurBoss: you can run python code on ngc programs
09:20 PM TurBoss: ;py something
09:20 PM JamesW[m]: k - will look into it.
09:20 PM JamesW[m]: https://drive.google.com/open?id=1W3ZgkmJr8r5i0EXVAgGjq-sJGpd-3gdV
09:21 PM JamesW[m]: :D
09:21 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/fxfUROETYTEFUsfNNapKBABS >
09:21 PM JamesW[m]: queued MDI commands!! Ta Dah!
09:21 PM JamesW[m]: well - the crude and raw version.
09:22 PM TurBoss: bravo
09:23 PM JamesW[m]: more polish to do but thought would show I at least have a working model
09:23 PM TurBoss: great!
09:28 PM TurBoss: JamesW: http://linuxcnc.org/docs/html/remap/remap.html#remap:executing-python-statements
09:28 PM TurBoss: not sure if what you are looking for but fun
09:30 PM JamesW[m]: will need to have a close look.
09:30 PM JamesW[m]: I did look into some of this when inestigating remap
09:42 PM hazzy-m: JamesW: yes, the EVAL will work in all programs, MDI commands and subs
09:49 PM Lcvette: JamesW: not that i can think of unless you want to add a clear history function maybe?
09:50 PM JamesW[m]: Lcvette: its a working process thing
09:50 PM Lcvette: JamesW: whoo hooo! hurray!! \o/ you did it!
09:50 PM JamesW[m]: just trying to make sure not creating a problem
09:50 PM Lcvette: TurBoss: is that text box with the read error the tool change issue?
09:51 PM Lcvette: hazzy did you see the issue with the lathe page tool change thing?
09:51 PM Lcvette: not seeing tools in the tool table file?
09:55 PM hazzy-m: no
09:56 PM Lcvette: hazzy: we are stumped
09:56 PM Lcvette: once you add tools to the tool table and save and reload it, you can no longer do tool change, it throws and error saying the requested tool is not in the tool table even though it clearly is both in the gui and in the file
09:57 PM Lcvette: restarting probe basic lathe does not resolve either
10:00 PM * Lcvette uploaded an image: Screenshot_2020-05-14_22-59-58.png (124KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BZdTlsRVEMNEfdyGZHYdymRw >
10:01 PM Lcvette: hazzy ^^^
10:03 PM Lcvette: turboss, is it possible that lathe.tbl is not the same table being called when saved and reloaded?
10:03 PM Lcvette: in some python file somewhere?
10:04 PM TurBoss: should be the same as the ini says
10:05 PM Lcvette: i'll try changing file name to tool.tbl and change in ini
10:05 PM hazzy-m: yes, TT is defined in INI
10:05 PM hazzy-m: I think it might have something to do with VTK setting interp settings
10:06 PM hazzy-m: or more likely, that error is actualy being raised by the backplot, and not the main inpter
10:06 PM Lcvette: :o
10:06 PM Lcvette: turboss broke it!
10:06 PM Lcvette: /o\
10:07 PM TurBoss: :o
10:07 PM hazzy-m: it would be worth removing VTK and testing without it
10:07 PM hazzy-m: could be it's not picking up the new tool table tike
10:07 PM TurBoss: sure
10:07 PM hazzy-m: file*
10:10 PM hazzy-m: https://github.com/kcjengr/qtpyvcp/blob/cc96df198964a8d2e180326b99538e3ceab45b8e/qtpyvcp/widgets/display_widgets/vtk_backplot/base_canon.py#L299
10:10 PM hazzy-m: might note be getting refreshed
10:10 PM Lcvette: i just reset and deleted changes from adding new tools and it works fine like this
10:11 PM Lcvette: changes tools no errors
10:11 PM Lcvette: it only breaks after adding new tools and saving and reloading
10:11 PM Lcvette: if it was an error with the vtk wouldn't it be broken now?
10:11 PM hazzy-m: strange ...
10:12 PM Lcvette: no vtk changes have occured
10:12 PM hazzy-m: so maybe its the tool table format ...
10:12 PM hazzy-m: Lcvette: what branch?
10:12 PM hazzy-m: and what TT works?
10:12 PM Lcvette: latest lathe vcp
10:12 PM TurBoss: hazzy: what about other letters begin used like Q
10:12 PM Lcvette: and vtk_Lather in qtpyvcp
10:13 PM Lcvette: tool chnages work endlessly until saving and reloading the table
10:13 PM Lcvette: see if you can repeat
10:13 PM TurBoss: https://www.youtube.com/watch?v=QpDn4-Na5co
10:13 PM TurBoss: not a joke I listen to this
10:13 PM TurBoss: :D
10:13 PM Lcvette: lol
10:13 PM Lcvette: beepbopboop
10:14 PM Lcvette: sounds like nightrider
10:14 PM TurBoss: hazzy: I made many changes to lath vtk
10:14 PM TurBoss: * hazzy: I made many changes to lathr vtk
10:14 PM TurBoss: * hazzy: I made many changes to lathre vtk
10:14 PM TurBoss: :)
10:14 PM Lcvette: is there a refresh thing in lathervtk turboss?
10:14 PM TurBoss: what?
10:15 PM Lcvette: something that handles the tool table refresh ro reload
10:15 PM TurBoss: I'll try without plot
10:15 PM Lcvette: * something that handles the tool table refresh or reload
10:15 PM Lcvette: ok
10:15 PM TurBoss: just finished comipling again for python2
10:16 PM TurBoss: hazzy: same error without plotter
10:17 PM TurBoss: Lcvette: https://www.youtube.com/watch?v=er416Ad3R1g
10:17 PM TurBoss: 4:14min
10:18 PM Lcvette: hot freckles girls!
10:18 PM TurBoss: in latin?
10:19 PM Lcvette: hotter red dress girl
10:19 PM Lcvette: :o
10:19 PM TurBoss: got it
10:19 PM Lcvette: and a jawa from starwars
10:19 PM Lcvette: drivign a corvette
10:19 PM Lcvette: :o
10:20 PM TurBoss: its TurBoKiller
10:20 PM TurBoss: well the toolchange stuff has something to do with begin lathe
10:20 PM TurBoss: :P
10:21 PM Lcvette: something to do with the save/reload
10:21 PM Lcvette: reset it
10:21 PM Lcvette: it works
10:21 PM Lcvette: only breaks after saving and reloading
10:21 PM TurBoss: ok
10:21 PM TurBoss: so reload is obiuosli not reloading correctly
10:23 PM * Lcvette posted a file: tool_table_issue.mkv (1861KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/XPNUrkFgbziJlYBkADhMmSbf >
10:25 PM Lcvette: TurBoss: ^^^
10:25 PM TurBoss: I see
10:25 PM Lcvette: hazzy ^^^
10:26 PM hazzy-m: if you add a new tool, it loads fine
10:26 PM hazzy-m: its only when loading a previously loaded tool it seems
10:26 PM hazzy-m: strange
10:27 PM TurBoss: but for milll worsk fine it seems
10:27 PM * hazzy-m PC just crashed
10:27 PM hazzy-m: And it's very late
10:27 PM TurBoss: mine is crashing too
10:27 PM TurBoss: :(
10:27 PM TurBoss: poor debian
10:27 PM hazzy-m: Will look at it tomorrow
10:27 PM TurBoss: okay hazzy Thank you, will investigate
10:28 PM Lcvette: ok
10:28 PM hazzy-m: Yes, thank you!
10:28 PM TurBoss: I'lll try to break something else
10:28 PM Lcvette: latest updates messed up my riot
10:28 PM hazzy-m: Gn8
10:28 PM Lcvette: :(
10:28 PM TurBoss: maybe it fixe
10:28 PM Lcvette: night hazzy!
10:29 PM Lcvette: turboss, how about the action page with moving tools?
10:29 PM Lcvette: :o
10:29 PM Lcvette: \o/
10:30 PM TurBoss: stills very early state
10:30 PM TurBoss: just dummy moves
10:30 PM Lcvette: ok
10:30 PM TurBoss: the lathe tool touch of?
10:30 PM TurBoss: the QML is there
10:30 PM TurBoss: what do you need
10:31 PM Lcvette: just wondering what is needed
10:31 PM Lcvette: different thing than the tool table issue
10:31 PM TurBoss: yes
10:31 PM TurBoss: I mean you need some slot and signal?
10:32 PM Lcvette: dunno
10:32 PM TurBoss: how would it work
10:32 PM Lcvette: just wondering whats needed to get working
10:33 PM Lcvette: oh, i forget
10:33 PM Lcvette: lol
10:33 PM Lcvette: im there now looking at it
10:33 PM Lcvette: hazzy suggested looking at pathpilot to see how it works
10:45 PM Lcvette: https://hub.pathpilot.com/
10:45 PM Lcvette: turboss
10:45 PM Lcvette: ^^^
10:46 PM Lcvette: im in it now playing
10:46 PM TurBoss: cool
10:46 PM TurBoss: hack the planet
10:47 PM Lcvette: }o{ tie fighter
10:47 PM Lcvette: :D
10:47 PM TurBoss: ":-)
10:47 PM Lcvette: * }o{ tie fighter
10:47 PM Lcvette: >o<
10:47 PM Lcvette: >o<
10:47 PM TurBoss: lol
10:48 PM Lcvette: ```
10:48 PM Lcvette: >o<
10:48 PM Lcvette: xwing fighter
10:48 PM Lcvette: :D
10:48 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/HAGEHFVLOXUoMxTaKbBaxHrJ >
10:49 PM Lcvette: :o
10:49 PM Lcvette: /o\
10:49 PM TurBoss: :-)
10:49 PM TurBoss: we need something like that on boot
10:49 PM Lcvette: did you do the pathpilot thing?
10:49 PM Lcvette: that would be cool
10:49 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/OtstlVYpTnXQHePSPFJIRrVy >
10:50 PM Lcvette: like 80's arcade games at startup
10:50 PM Lcvette: and we need some theme music on load
10:50 PM TurBoss: messing with the tool table
10:50 PM Lcvette: ah ok
10:50 PM Lcvette: i will figure out the pathpilot thing
10:50 PM TurBoss: cool
11:00 PM Lcvette: ok i see how it works
11:01 PM Lcvette: when you hit the touch button for x or z it updates their tool table offsets
11:25 PM TurBoss: Lcvette: !!!
11:25 PM TurBoss: i figured
11:25 PM TurBoss: tool table requires positive pockets non 0 and non repeated
11:25 PM TurBoss: Lcvette: Lcvette Lcvette Lcvette Lcvette Lcvette Lcvette Lcvette Lcvette
11:26 PM Lcvette: :o
11:26 PM Lcvette: you did it?
11:26 PM Lcvette: \o/
11:26 PM TurBoss: on save P goes 0
11:26 PM Lcvette: hurray!
11:26 PM Lcvette: /o\
11:26 PM Lcvette: to fix?
11:26 PM TurBoss: no
11:26 PM TurBoss: i found the problem not the fixl ol
11:26 PM TurBoss: * i found the problem not the fixl
11:26 PM TurBoss: * i found the problem not the fix
11:27 PM Lcvette: didn't hazzy make something in the tool table default to -1 or something?
11:28 PM TurBoss: duno
11:28 PM TurBoss: for mill should be ok
11:31 PM Lcvette: i dunno
11:32 PM Lcvette: /o\
11:46 PM JamesW[m]: YIPPEE - Servo for new spindle motor just arrived
11:47 PM TurBoss: hurray!
11:47 PM TurBoss: pics or didn't happend
11:47 PM JamesW[m]: 1HP in such a small little package
11:48 PM * JamesW[m] uploaded an image: ima_ddcfcb5.jpeg (287KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ewQzbUBRkQZqVeWJiyezRGAS >
11:49 PM TurBoss: wololo
11:49 PM TurBoss: nice!
11:50 PM JamesW[m]: Now I need to design up mounting hardware and the poly V pulleys I will need to make on the lathe
11:51 PM JamesW[m]: the poly-v will be the tricky part. Doing those by hand on manual lathe. Will need make a HSS bit for the groozes and go nice and careful like.
11:51 PM JamesW[m]: I think I have some nice chunks of 6061 ali round to make em.
11:57 PM TurBoss: Lcvette:
11:57 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/QTMFLrLdRTiCIrEqFUdEPENL >
11:57 PM TurBoss: this tooltable works
11:59 PM Lcvette: works?
11:59 PM TurBoss: ok figured
11:59 PM Lcvette: :o
11:59 PM Lcvette: you did it?
11:59 PM TurBoss: is on the yml
11:59 PM TurBoss: some colums are required
11:59 PM TurBoss: duno which ones
11:59 PM Lcvette: ah