#hazzy Logs
Feb 09 2020
#hazzy Calendar
12:25 AM Lcvette: TurBoss: is it possible to have an html viewer in probe basic for looking at fusion setup sheets?
01:05 AM Guido[m]1: That would be a great idea!
01:32 AM Lcvette: Guido: guido do you know python?
02:02 AM Lcvette: turboss or hazzy, i added a stacked widget to the file page for use with an html viewer. it would be awesome if whatever file you had selected also opened the html doc with the same name in the viewer automatically wouldn't it!
02:02 AM Lcvette: is that a possibility?
02:02 AM * Lcvette uploaded an image: Screenshot_2020-02-09_02-53-37.png (96KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ULtzWTSkxYblIpqXJaPqmHmp >
02:10 AM Lcvette: pushing to gitkraken
02:12 AM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/±2] 13https://git.io/JvcJ3
02:12 AM Not-c468: [02probe_basic] 07Lcvette 03db71f8d - added stacked widget for html viewer for fusion setup sheet viewing
02:13 AM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvcJs
02:13 AM Not-c468: [02probe_basic] 07traviscibot 033a01871 - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
02:15 AM Lcvette: https://stackoverflow.com/questions/36738223/load-a-local-html-file-into-a-qwebview-in-python
02:15 AM Lcvette: maybe something like this? ^^^
02:26 AM Guido[m]1: @Lcvette: Not really - wish I could do something meaningful. At the moment my CNC isn't even operational:/
02:35 AM Lcvette: i found the QWebView widget in the left selection bar and added the local file destination and this popped up but i am getting errors trying to load probe basic, i am pushing this to a new branch, maybe Hazzy turboss can see if its something that could be easily implemented?
02:35 AM * Lcvette uploaded an image: Screenshot_2020-02-09_03-26-37.png (174KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/pTVIGmMToOrkboixBuasATGn >
02:36 AM Lcvette: any ways this would be soo badass! would be nice to have a quick in gui image for remembering where your work offset was set
02:37 AM Lcvette: i know when i cam multiple pieces of something i never remember and am running bck and forth between the windows pc and the fusion pc to see where it was..
02:40 AM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03html_setup_file_viewer [+2/-0/±1] 13https://git.io/JvcJQ
02:40 AM Not-c468: [02probe_basic] 07Lcvette 03382678b - tried adding QWebView to probe basic, but have errors, need help!
02:40 AM Not-c468: [02probe_basic] 07Lcvette created branch 03html_setup_file_viewer - 13https://git.io/JeDwL
02:41 AM travis-ci: kcjengr/probe_basic#276 (html_setup_file_viewer - 382678b : Chris): The build passed.
02:41 AM travis-ci: Diff view : https://github.com/kcjengr/probe_basic/commit/382678bd17fd
02:41 AM travis-ci: Build details : https://travis-ci.org/kcjengr/probe_basic/builds/647963683
08:55 AM Lcvette: Morning
09:12 AM Lcvette: o/
09:33 AM Lcvette: Everyone's sleeping in today
09:37 AM dremeier[m]1: still tired 😂
09:40 AM Lcvette: yes
09:40 AM Lcvette: im still tired
09:40 AM Lcvette: :)
10:23 AM dremeier[m]1: Lcvette: you are the Hal and macro Profi, right
10:24 AM Lcvette: not hal
10:24 AM Lcvette: macros im very comfortable with
10:24 AM Lcvette: hal i get lost
10:24 AM Lcvette: qtdesigner im very comfortable with
10:24 AM Lcvette: until it requires hal or python
10:24 AM Lcvette: then im lost
10:25 AM dremeier[m]1: lol ok
10:25 AM Lcvette: graphics
10:25 AM Lcvette: i did all the probe basic graphics and buttons and images and layout etc
10:25 AM Lcvette: hazzy and turboss make the widgets
10:25 AM Lcvette: know the rules
10:25 AM Lcvette: i know some in the rules but i have already forgotten most of it
10:26 AM Lcvette: jt is also very good with python stuff
10:26 AM Lcvette: i actually had to search back to remember how to do the stacked widget switches with buttons for the new setup sheet viewer last night
10:29 AM Lcvette: o/
10:30 AM Lcvette: hazzy!
10:30 AM Lcvette: did you see my things?
10:30 AM Lcvette: about setup sheet viewer?
10:49 AM Lcvette: dremeier: what was your question?
10:49 AM Lcvette: some things i may have in probe badsic and can show examples
10:52 AM dremeier[m]1: I figured out that if an error occurred, the e-Stop_button in pb does not change. So the iocontrol.0.user-enable-out pin does not goes to false.
10:53 AM Lcvette: oh
10:53 AM Lcvette: yes that is definitely a hazzy or turboss thing
10:59 AM * Lcvette uploaded an image: Screenshot_2020-02-09_11-52-19.png (144KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/PMtdPRXBPFFNMyIhKgJLNnRh >
10:59 AM Lcvette: i customized the setup sheet to give pertinent data ad fit better
11:00 AM Lcvette: but the setup sheet output is pretty customizable in fusion360
11:00 AM Lcvette: pretty cool
11:00 AM dremeier[m]1: very nice!!
11:01 AM Lcvette: but i still can't get it to launch without errors
11:01 AM Lcvette: gonna need the power code fu team for that
11:01 AM * TurBoss is at the shop
11:02 AM TurBoss: hello
11:02 AM Lcvette: \o/
11:02 AM Lcvette: you working on stuff at the shop turboss?
11:02 AM Lcvette: take pictures and vids!!
11:02 AM TurBoss: yes
11:02 AM Lcvette: they are like candy!
11:02 AM Lcvette: :D
11:02 AM Lcvette: \o/
11:03 AM * TurBoss uploaded an image: VectorImage_2020-02-09_055556.jpg (337KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/NxfvQNbeYpIwSOvEXKBnemxL >
11:03 AM * TurBoss uploaded an image: VectorImage_2020-02-09_055631.jpg (34KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/dXWJMFTvWMMyUjjUFTgIAlCZ >
11:04 AM TurBoss: xD
11:04 AM Lcvette: nice!!!
11:04 AM Lcvette: turboss is rocking linear rails!
11:05 AM Lcvette: we are linear rail machine buddies!!
11:05 AM Lcvette: \o/
11:05 AM TurBoss: i have 30mm steel bars on X
11:06 AM TurBoss: anf rails on y and z
11:06 AM Lcvette: steel bars?
11:06 AM * TurBoss uploaded an image: VectorImage_2020-02-09_055917.jpg (296KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/hBiWcCfIvIYPpVRldoOqJLxr >
11:10 AM Lcvette: oh round profile rails
11:10 AM Lcvette: with bearings
11:10 AM TurBoss: no
11:10 AM Lcvette: no bearings?
11:10 AM Lcvette: plastic slides
11:10 AM TurBoss: on X no
11:10 AM TurBoss: no
11:10 AM TurBoss: that metal
11:11 AM TurBoss: i dont know in english
11:11 AM Lcvette: round rail with bearing slides
11:15 AM TurBoss: brass metal
11:15 AM * Lcvette uploaded an image: Screenshot_2020-02-09_12-08-18.png (331KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/bxoTbvfPLdMokRPeFggSecTp >
11:15 AM Lcvette: oh brass bushings
11:15 AM TurBoss: yes
11:16 AM Lcvette: nice!
11:16 AM Lcvette: works good?
11:16 AM Lcvette: no slop?
11:16 AM TurBoss: nope works like u charm
11:16 AM TurBoss: but I would like linear rails
11:17 AM Lcvette: how long do you need?
11:17 AM Lcvette: i will keep a lookout for some
11:18 AM TurBoss: I don't plan any modificatoins
11:18 AM Lcvette: ah ok
11:18 AM TurBoss: thanks!
11:18 AM Lcvette: what size work do you ormal have
11:19 AM Lcvette: envelope
11:19 AM Lcvette: * what size work do you normally have
11:19 AM TurBoss: work area=
11:19 AM Lcvette: * work envelope
11:19 AM TurBoss: ?
11:19 AM Lcvette: work cube
11:19 AM Lcvette: x y z
11:19 AM Lcvette: l x w x h
11:19 AM TurBoss: 410 360 160
11:20 AM Lcvette: tiles
11:20 AM TurBoss: aprox
11:20 AM Lcvette: gotcha
11:20 AM TurBoss: just hobby
11:20 AM TurBoss: :D
11:20 AM Lcvette: you do tiles for work no?
11:20 AM TurBoss: just samples
11:21 AM TurBoss: tiles are made in a bigger machine
11:21 AM Lcvette: ah
11:21 AM Lcvette: right
11:21 AM Lcvette: i assumed you did the patterns or something
12:47 PM dremeier[m]1: where do I change the Default_linear_velocity in pb? If I change the Default_linear_velocity ini it has no effect. If I Jog it´s always 600mm/sec.
01:12 PM dremeier[m]1: * where do I change the Default_linear_velocity in pb? If I change the Default_linear_velocity in the .ini it has no effect. If I jog it´s always 600mm/sec.
01:13 PM Lcvette: Let me have a look
01:14 PM dremeier[m]1: would you lie to come to my pc?
01:14 PM dremeier[m]1: * would you like to come to my pc?
01:15 PM Lcvette: no i can look on my dev
01:16 PM Lcvette: ok so let me understand you dilema clearly
01:16 PM Lcvette: you want to set max velocity?
01:17 PM * dremeier[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/CchVVZKocebkVGIGZhyTIduB >
01:17 PM dremeier[m]1: my INI
01:17 PM dremeier[m]1: DEFAULT_LINEAR_VELOCITY is for joggin, right
01:17 PM Lcvette: you have some typos
01:18 PM Lcvette: MAX_LINEAfR_VELOCITY = 280.000000
01:18 PM Lcvette: MAX_LINEAR_VELOCITY = 280.000000
01:18 PM dremeier[m]1: ah, yes this i corrected already, no effect
01:20 PM dremeier[m]1: oh sorry it has effect, I forgott to safe the changes , dam
01:22 PM Lcvette: do you have the jog slider?
01:22 PM dremeier[m]1: yes
01:22 PM dremeier[m]1: 100%
01:22 PM Lcvette: my default linear speed is set at 10ips andmy default jog slider position is 50%
01:22 PM Lcvette: my default linear jog velocity is there fore 300ipm
01:24 PM Lcvette: ok i think i figured
01:24 PM Lcvette: we gave the slider control for jog over the max_linear_velocity
01:25 PM Lcvette: so you can use the slider for max linear velocity and the jog slider tracks with it
01:26 PM dremeier[m]1: ok, so DEFAULT_LINEAR_VELOCITY has no effect on pb
01:26 PM Lcvette: its the defaul feed rate
01:27 PM Lcvette: f#
01:28 PM dremeier[m]1: ok fine , thx
01:29 PM TurBoss: dremeier: hey you jumped over the matrix 😁
01:30 PM Lcvette: dremeier: you can set the jog slider default position which would do the same thing as the default_linear_setting
01:30 PM dremeier[m]1: yeah, I got it, didn´t know that before 😂
01:30 PM Lcvette: does dame thing as the ini setting
01:30 PM Lcvette: oh but you were doing buttons
01:30 PM Lcvette: 25,50,75,100 etc
01:31 PM Lcvette: so you could do a default button as the checked hjog selection speed
01:31 PM Lcvette: make them into a button group and set them auto expclusive and set the one you want as default to checked
01:31 PM dremeier[m]1: would like to do that, but not passible for the time you said
01:32 PM Lcvette: would need some code i think maybe
01:32 PM Lcvette: for connecting to the jog widget
01:32 PM Lcvette: the jog widget is coded
01:32 PM Lcvette: not just buttons and rules etc
01:32 PM Lcvette: has a big py file
01:32 PM dremeier[m]1: hazzy sais, a custom witget wo do the trick
01:33 PM Lcvette: so lcvette is shackled on it
01:33 PM Lcvette: yes
01:33 PM Lcvette: but you could add buttons that moved the jog slider to set positions maybe jkust in designer]
01:34 PM Lcvette: like the sliders in the other box have a 100% button
01:34 PM TurBoss: I think i can do a very basic widget
01:34 PM Lcvette: maybe could make buttons for those preset psotions to control the slider
01:34 PM dremeier[m]1: <Lcvette "but you could add buttons that m"> that would be fine, but no clue how to do
01:34 PM dremeier[m]1: <TurBoss "I think i can do a very basic wi"> that would be amazing 😁
01:34 PM Lcvette: i don't remember but will look at the ones i did already and see if it "jogs" my memory
01:39 PM Lcvette: dremeier: i just tested something that may be an alternative
01:39 PM Lcvette: i set the steps of the slider to 25%
01:40 PM Lcvette: so clicking on the slider moves it in 25% increments
01:40 PM Lcvette: not so finishy, would work on touch screen too
01:42 PM * Lcvette posted a file: jog_slider.mkv (976KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QwfAHxswgSWjZElMUpgIDnPu >
01:43 PM Lcvette: dremeier: ^^^ see video
01:44 PM Lcvette: maybe a compromise solution that gives both options of qucik speed setting and finite adjustment if wanted
01:47 PM dremeier[m]1: not to bad, could be a solution
01:47 PM dremeier[m]1: nice!
01:48 PM Lcvette: Those settings are in designer on the slider itself
01:48 PM Lcvette: In the properties
01:48 PM dremeier[m]1: I´ve seen :-)
01:48 PM Lcvette: Can set it for whatever 10% 20% 25% ets
01:48 PM dremeier[m]1: will discuss this with my friends
01:49 PM Lcvette: Could also maybe try mdi buttons with F(feedrate desired)
01:52 PM dremeier[m]1: good idea
01:52 PM dremeier[m]1: will be out for a while
02:03 PM Lcvette: Fword sets the feedrate but not the jograte
02:03 PM Lcvette: looking for jograte parameters but i don't see any way to command a jograte in the linuxcnc docs
02:10 PM Lcvette: turboss you here or at shop still?
02:11 PM TurBoss: here
02:12 PM Lcvette: \o/
02:12 PM TurBoss: trying to use actionbuttons with machine actions
02:13 PM Lcvette: did you see my thing on the html viewer?
02:13 PM TurBoss: what?
02:14 PM Lcvette: im trying to add an html viewer so you can open html job setup sheets in probe basic
02:14 PM TurBoss: webview
02:14 PM TurBoss: ??
02:14 PM * Lcvette uploaded an image: Screenshot_2020-02-09_11-52-19.png (144KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LWmkuzJchhzWUgCvbLdMglgW >
02:15 PM TurBoss: oh nice!
02:15 PM Lcvette: i got it to at least pull a static file in designer
02:15 PM Lcvette: but it gives alot of errors when i tried to run it in probe basic
02:15 PM Lcvette: and i was wanting to make it auto open the setup file with the same name as the ngc file
02:15 PM Lcvette: would be really cool and helpful i think
02:16 PM Lcvette: for remembering how parts are setup from cam
02:16 PM Lcvette: where orgigin is
02:16 PM Lcvette: etc
02:17 PM Lcvette: i made a branch on probe basic
02:25 PM TurBoss: cool just tested
02:25 PM * TurBoss uploaded an image: image.png (89KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/gOFUmIzifYrXUulxlsnIPXGd >
02:29 PM Lcvette: :o
02:29 PM Lcvette: is there a way to make it use files from the file box on the left?
02:30 PM TurBoss: 😐️
02:30 PM Lcvette: if not easy don't worry about it
02:30 PM Lcvette: more important to do the bug we found in plotter
02:31 PM TurBoss: ok
02:31 PM TurBoss: I merged vtk g5x on master
02:31 PM TurBoss: and pushed to my fork
02:32 PM Lcvette: pulled it
02:32 PM TurBoss: if we are goin to spend some time on the plot better if is the g5X branch
02:32 PM Lcvette: sure
02:33 PM Lcvette: maybe fix two bugs at once
02:33 PM Lcvette: maybe they are related
02:33 PM Lcvette: both seem like load problems
02:33 PM Lcvette: hazzy said the cannons are not firing
02:33 PM Lcvette: or something
02:33 PM Lcvette: but whats cannons
02:34 PM TurBoss: 😐️
02:34 PM TurBoss: something the backplot uses
02:35 PM Lcvette: hazzy help fix the cannons!
02:35 PM TurBoss: they are not shooting and the enemy is close
02:35 PM TurBoss: /o\
02:36 PM TurBoss: :P
02:36 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/spMYpfXKabcsQiVNydGLWbEw >
02:36 PM TurBoss: notice the comments
02:36 PM TurBoss: this is where the magic happens
02:37 PM TurBoss: result variable is filled with the error code the gcode.parse function return
02:37 PM TurBoss: and if is in the error range it triggers
02:37 PM * Lcvette uploaded an image: image.png (163KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KcHAbbluBZVlvhWAlQvmEemD >
02:37 PM TurBoss: a syntax erro
02:38 PM Lcvette: what file?
02:38 PM TurBoss: qtpyvcp/widgets/display_widgets/vtk_backplot/base_backplot.py
02:40 PM TurBoss: sorry dremeier i headed to this issues
02:40 PM TurBoss: it has more priority
02:40 PM TurBoss: they*
02:41 PM Lcvette: line 76
02:41 PM Lcvette: thats the error message
02:41 PM TurBoss: yes
02:41 PM Lcvette: :o
02:41 PM TurBoss: yes
02:41 PM Lcvette: raise SyntaxError("Error in %s line %i: %s" % (fname, seq - 1, msg))
02:41 PM TurBoss: its trigered because the result was error
02:41 PM TurBoss: line 71
02:42 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/TptublsBgWrKEadOoPSUDzLY >
02:42 PM Lcvette: fixed?
02:42 PM Lcvette: lol
02:42 PM TurBoss: lol
02:42 PM TurBoss: but gcode.parse fucntion fired an error
02:43 PM TurBoss: result was not valid
02:43 PM Lcvette: so we have to trace it back to where the error originated
02:43 PM Lcvette: this is the result of the error
02:43 PM TurBoss: this is the last step if figured
02:43 PM Lcvette: so how do we find what triggered it?
02:44 PM TurBoss: gcode.parse
02:44 PM TurBoss: if you find where in the linuxcnc sources is defined
02:44 PM TurBoss: i can take a look
02:44 PM Lcvette: https://github.com/cncjs/gcode-parser
02:44 PM Lcvette: ?
02:45 PM TurBoss: nope
02:45 PM TurBoss: github.com/linuxcnc/linuxcnc
02:45 PM TurBoss: there
02:46 PM Lcvette: https://forum.linuxcnc.org/41-guis/28956-custom-gui-gcode-parser
02:48 PM dremeier[m]1: > sorry dremeier i headed to this issues
02:48 PM dremeier[m]1: No Problem👍
02:50 PM Lcvette: turboss maybe a queue-buster
02:51 PM TurBoss: ????
02:51 PM Lcvette: http://linuxcnc.org/docs/html/remap/remap.html#_queue_busters_break_position_prediction
02:53 PM Lcvette: TurBoss: ^^^
02:54 PM Lcvette: deals with tool and how interpereter reads
02:54 PM Lcvette: says o<words can present issues andmay require a queue buster to stop it from rolling past an operation
02:54 PM Lcvette: maybe like returning the tool to the carousel?
02:56 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ArICTiViWDLwoAedQNmDFQmR >
02:57 PM TurBoss: looks like that
02:58 PM Lcvette: so now what?
02:58 PM Lcvette: that link you sent ws github page
02:58 PM Lcvette: dunno what to look for in there
03:04 PM Lcvette: im looking through that whole link you sent but im not sure what im supposed tobe looking for
03:11 PM TurBoss: we need to find where is the code of the gcode.parse function
03:12 PM Lcvette: https://sourceforge.net/p/emc/mailman/emc-users/thread/91E407E9-41C4-44F2-8224-5155A68961AF%40mah.priv.at/
03:18 PM TurBoss: :/
03:19 PM Lcvette: https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/rs274ngc/tool_parse.cc
03:20 PM Lcvette: turboss ^^^
03:20 PM Lcvette: ?
03:21 PM TurBoss: that save/load tooltable to file
03:21 PM TurBoss: I think... that we hit what you said
03:21 PM TurBoss: http://linuxcnc.org/docs/html/remap/remap.html#_queue_busters_break_position_prediction
03:22 PM Lcvette: fprintf(stderr, "Unrecognized line skipped: %s", orig_line);
03:22 PM Lcvette: oh
03:23 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/nfQbesXGcGppsHCkgglFkliY >
03:23 PM Lcvette: not this?
03:23 PM Lcvette: turboss seems similar
03:24 PM Lcvette: %s
03:24 PM TurBoss: no
03:24 PM TurBoss: thats from the tooltable
03:25 PM Lcvette: https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/rs274ngc/interp_remap.cc
03:25 PM Lcvette: interp remap
03:42 PM -!- #hazzy mode set to +o by tolkien.freenode.net
04:14 PM TurBoss: back with food
04:15 PM Lcvette: \o/
04:17 PM Lcvette: lcvette had some chips and dip
04:36 PM Not-c468: [02probe_basic] 07HeinerV forked the repository - 13https://git.io/Jvc4B
04:51 PM Lcvette: Find anything Turboss?
04:52 PM Lcvette: I'm reading through every file line by line in the interp folder
04:52 PM TurBoss: nope...
04:53 PM Lcvette: Not site what I'm hunting for except the error %s %i
04:54 PM Lcvette: Anything you can tell me to hunt for?
04:56 PM TurBoss: no
04:56 PM TurBoss: ☹︎
04:57 PM TurBoss: maybe the queue buster
04:57 PM TurBoss: not sure....
05:02 PM * TurBoss heads to bed
05:02 PM TurBoss: n8
05:02 PM Lcvette: Night
05:04 PM Lcvette: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?QueuebustersRevisited
06:00 PM Lcvette: o/
06:04 PM Lcvette: Hello hazzy
06:15 PM Lcvette: https://forum.linuxcnc.org/20-g-code/38344-program-load-error-when-a-tool-is-used-twice-machine-uses-atc-with-m6-remap#156915
06:15 PM Lcvette: Curtis Morley suggested this
06:17 PM Lcvette: Chris Morley recommended this
06:24 PM Lcvette: Hazzy
06:24 PM Lcvette: Does this make sense to you?
07:30 PM Lcvette: hazzy you here?
07:30 PM Lcvette: ```
07:30 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/FynvktHBDTIaUJDjawKLyfYo >
07:31 PM Lcvette: ImportError: No module named QtWebKitWidgets
07:31 PM Lcvette: what do i need to do to make this module be found when starting probe basic?