#hazzy Logs
Apr 25 2020
#hazzy Calendar
12:57 AM JamesW: just working my way through this tutorial. Is there any typical reason why the style sheet would seem to be getting applied?
12:57 AM JamesW: https://www.qtpyvcp.com/tutorials/first_vcp.html
12:58 AM JamesW: NOT applied that is
12:59 AM JamesW: I can see the style sheet reference in the yml file. I can see the machine.estop.toggle name in the style sheet. Apply that to the actionName on the button. No red. Gray.
07:51 AM hazzy-m: JamesW we've changed some paths, especially related to the sim co fogs and location of the style sheet, Ive been really bad at updating the I the tutorial...
07:52 AM hazzy-m: I'll check when I get to a PC
07:54 AM jthornton: morning
07:54 AM hazzy-m: Morning!
07:54 AM * hazzy-m is finally home
07:55 AM jthornton: sweet
08:03 AM hazzy-m: It appears there is a problem with the website from the recent forum posts...
08:03 AM hazzy-m: But everything looks good in capable
08:03 AM hazzy-m: a panel
08:04 AM hazzy-m: Damn autocorrect lol
08:04 AM hazzy-m: cpanel
08:05 AM hazzy-m: There, had to use my android phone to type that
08:20 AM jthornton: which website?
08:23 AM hazzy-m: qtpyvcp.kcjengr.com
08:24 AM hazzy-m: the qtpyvcp.com was fine, but the redirects werent working
08:24 AM jthornton: ah
08:25 AM hazzy-m: I took the liberty to edit the links in your original QtPyVCP Tutorial and Widget Rules post to use the new domain instead of the sub domain
08:27 AM jthornton: edit all you like :)
08:28 AM hazzy-m: I guess it would be a good idea for me to add a section to the docs explaining how QtPyVCP evolved out of QtVCP...
08:28 AM jthornton: yea that would be nice and help people understand
08:29 AM jthornton: I have flask broadcasting a web page on the lan and opencv working just need to tie the two together
08:33 AM hazzy-m: Nice!
09:48 AM Not-8b5f: [02probe_basic] 07KurtJacobson pushed 031 commit to 03bundle_dynatc [+0/-0/±1] 13https://git.io/JfttV
09:48 AM Not-8b5f: [02probe_basic] 07KurtJacobson 033ac263a - fix entry point module path
09:56 AM hazzy-m: Lcvette: when you get a chance can you test the bundle dyna atc branch?
09:56 AM hazzy-m: you will need to run pip install again
11:52 AM * hazzy-m uploaded an image: image.png (74KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ClHHnagfdbnIVXLqTaHfQJws >
11:52 AM hazzy-m: dremeier: ^^
12:11 PM roguish[m]: hazzy: what's an external widget ?
12:35 PM hazzy-m: roguish: it lets VCPs supply their own custom widgets, that can also be used in other VCPs
12:36 PM hazzy-m: also allows doing things like having a seperate repo for widgets that would be used for specific applications, like VCPs fpr plasma or additive machines
12:37 PM * hazzy-m uploaded an image: image.png (41KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/vOEgvjKqSCForOWnUDpaOAfb >
12:38 PM hazzy-m: notice the Probe Basic, Computer Vision and Blue Control widgets
12:38 PM hazzy-m: those are external widgets, i.e. not widgets included with QtPyVCP
02:06 PM * hazzy-m uploaded an image: image.png (55KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/qnnjjItdqVTbDJLwgdRRfaeO >
02:25 PM TurBoss: -Hello!
02:32 PM JT-Shop: how do you add the custom widgets?
02:35 PM TurBoss: https://github.com/kcjengr/probe_basic/blob/bundle_dynatc/setup.py#L31
02:46 PM JT-Shop: that adds them to the designer?
02:46 PM TurBoss: yes
02:47 PM TurBoss: https://github.com/kcjengr/probe_basic/tree/bundle_dynatc/probe_basic/widgets
02:50 PM JT-Shop2: nice
03:53 PM TurBoss: https://github.com/KurtJacobson/blue-control/blob/master/entry_points.ini
03:53 PM TurBoss: JT check bluecontrol has more examples
03:56 PM hazzy-m: TurBoss: did you see the QtSASS?
03:56 PM hazzy-m: https://github.com/KurtJacobson/blue-control/tree/master/blue_control/ui/sass/widgets
03:56 PM hazzy-m: makes styling very easy
03:59 PM TurBoss: saw bud didn't dig
03:59 PM TurBoss: did sass long ago
03:59 PM TurBoss: :P
04:01 PM TurBoss: https://www.youtube.com/watch?v=87IBXtzgzO0
04:01 PM TurBoss: https://www.youtube.com/watch?v=AKzhe3Pvu4s
04:03 PM hazzy-m: TurBoss: Nice!
04:03 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/bCeQMJBQhvGVJeuMWvitoTsW >
04:03 PM TurBoss: cool
04:03 PM hazzy-m: Was that for the tile company?
04:04 PM TurBoss: no
04:04 PM TurBoss: just fun
04:58 PM * hazzy-m uploaded an image: image.png (44KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QEHsqZktqBOMkRgFJJiAySKw >
04:58 PM * hazzy-m uploaded an image: image.png (44KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/gKKbGyvcOIlUDWbZgnzUBsuW >
04:59 PM * hazzy-m is struggling
04:59 PM hazzy-m: sorry for deleting your mesage TurBoss, it was an accident
05:00 PM TurBoss: no problem
05:00 PM TurBoss: cool!
05:00 PM hazzy-m: working on a very simple style
05:00 PM JT-Shop2: nice wide scroll bars!
05:00 PM hazzy-m: Yes!
05:00 PM hazzy-m: I might make them wider
05:00 PM JT-Shop2: I need some
05:01 PM hazzy-m: this is for touch screen
05:01 PM hazzy-m: I'm going to try it on PB Touch
05:01 PM hazzy-m: should work very nicely
05:04 PM roguish[m]: hazzy: wide scroll bars are good. fat fingers... bad eyes.....
05:05 PM * JT-Shop2 ponders making some router bit boxes from an unknown species of wood 4" x 3 3/4"
05:10 PM * hazzy-m uploaded an image: image.png (97KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/xMuVNvRXDmPvjcZHmQlodzlM >
05:11 PM hazzy-m: needs some tweaking
05:13 PM JT-Shop2: sweet
05:14 PM JT-Shop2: found a chunck of red oak that will work better than the unknown chunch
05:14 PM JT-Shop2: chunk
05:59 PM TurBoss: there is a bug in the vtk when rotates it resets zoom
06:39 PM Not-944e: [02probe_basic] 07TurBoss commented on issue 03#11: Main window displays wrong offset when calling a subroutine from a ngc file - 13https://git.io/JftRF
06:39 PM Not-944e: [02probe_basic] 07TurBoss closed issue 03#11: Main window displays wrong offset when calling a subroutine from a ngc file - 13https://git.io/JfUL6
06:48 PM TurBoss: @hazzy is ok to merge backplot_notifications branch?
07:05 PM TurBoss: <hazzy-m "image.png"> A friend of mine gives this 9/10
08:13 PM Not-944e: [02qtpyvcp] 07TurBoss pushed 034 commits to 03master [+0/-0/±4] 13https://git.io/JftuB
08:13 PM Not-944e: [02qtpyvcp] 07TurBoss 03ef36aef - Merge branch 'backplot_notifications'
08:13 PM Not-944e: [02qtpyvcp] 07TurBoss 0303e1eb9 - fix rotation in 3d plot
08:13 PM TurBoss: done
08:13 PM TurBoss: fixed vtk plot and merged notifications stuff
08:15 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+489/-0/±0] 13https://git.io/Jftuu
08:15 PM Not-944e: [02qtpyvcp] 07traviscibot 03be3de54 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
08:34 PM hazzy-m: Thanks TurBoss !
08:34 PM hazzy-m: sorry, was cutting the grass
08:35 PM hazzy-m: TurBoss: have you tested the app dir branch?
08:35 PM hazzy-m: I think it is pretty much done and seems to not break anything
08:36 PM hazzy-m: it does require running setup.py again
08:41 PM * hazzy-m sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/HEIlFswYTbetxYPpgqZDkEzV >
08:41 PM hazzy-m: LOL
08:45 PM hazzy-m: JamesW: Are you around?
09:00 PM TurBoss: lol
09:00 PM TurBoss: sure will test
09:02 PM TurBoss: I will make the CPL carajillo public licence
09:15 PM JamesW: back
09:16 PM JamesW: been in garage making a TLO measuring device. Was having to custom make a spring the right size.
09:18 PM hazzy-m: JamesW: excellent!
09:18 PM JamesW: lol - like that license.
09:18 PM hazzy-m: do you have any pictures of your design?
09:19 PM hazzy-m: I need to make a TLO measuring device as well
09:19 PM JamesW: Just be aware it is baslically a glorified touch off tool.
09:19 PM JamesW: plate
09:20 PM JamesW: let me see if I can share a link to the plans
09:20 PM TurBoss: hello JamesW
09:20 PM hazzy-m: thank you
09:21 PM TurBoss: whats tha for?
09:21 PM TurBoss: ah
09:21 PM TurBoss: to measure tool lenght?
09:21 PM hazzy-m: JamesW: you don't happen to be James Walton from NZ?
09:23 PM JamesW: https://snaggingpixels.com/index.php/s/wcixJulFfV7j4hu
09:23 PM JamesW: this is a pdf file of the plans. Its on my private server so self signed certificate
09:24 PM JamesW: nope. James Walker from NZ
09:24 PM JamesW: live in Wellington
09:24 PM TurBoss: bad https
09:25 PM JamesW: if your browser gets all uppity about self signed certs you will have to tell it to bog off
09:25 PM TurBoss: ok
09:25 PM TurBoss: did
09:25 PM TurBoss: i see it now
09:25 PM JamesW: I might still have a google drive account. Lets see
09:26 PM * TurBoss posted a file: Z Pad Drawing v7.pdf (133KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/YSIsWIcTJIBpWkGWPuylrRun >
09:26 PM TurBoss: done
09:27 PM hazzy-m: JamesW: that's a strange coincidence, I have a good friend in NZ named James Walton, he has a CNC lathe and mill he rans with LCNC and QtPyVCP, so I thought you might have been him because of your nick
09:27 PM JamesW: https://drive.google.com/open?id=1v_8GizjmUNoQB56zB-nFwNtaNSLmd1K7
09:27 PM hazzy-m: JamesW: those links worked!
09:27 PM hazzy-m: thank you
09:28 PM JamesW: lol - small world
09:29 PM JamesW: Its a simple tool. Been made by one of my mates. there is a spring needed to tension the touch plate and you can replace the bottom pad with a magnet or whatever you want to keep it in place.
09:30 PM JamesW: how you wire it up depends on what you are connecting to
09:31 PM JamesW: I have a mesa card (7i76) so I'm going to have to do something a little more exotic than if you have a BoB
09:32 PM hazzy-m: I like it, consistent with the KISS principle
09:33 PM hazzy-m: is the base made of an insulating material?
09:33 PM JamesW: given the whole thing is based on an electrical circuit through the tool it should be pretty repeatable and accurate
09:34 PM JamesW: not so good if you use tools that are non conductive
09:39 PM TurBoss: I can made it with krion
09:41 PM TurBoss: good excuse to download new freecad
09:41 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JftgM
09:41 PM Not-944e: [02qtpyvcp] 07KurtJacobson 0357d5dc5 - ToolEditDialog - Scroll per pixel
09:42 PM JamesW: I've gotten into Fusion. For CAD/CAM system its hard to beat as a hobby user.
09:42 PM Not-944e: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+489/-0/±0] 13https://git.io/Jftg9
09:43 PM Not-944e: [02qtpyvcp] 07traviscibot 0336ce235 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
09:43 PM TurBoss: yes but not libre
09:44 PM TurBoss: :)
09:44 PM TurBoss: hard to beat fusion with FreeCAD but...
09:44 PM TurBoss: id works for me
09:44 PM JamesW: I started out on FreeCAD. But moved to Fusion when started wanting the CAM side
09:46 PM JamesW: https://drive.google.com/file/d/1W4kddO-HXxoehKGhFewqfnVVizO_C1tR/view?usp=sharing
09:46 PM JamesW: parts for the tool so far.
09:47 PM JamesW: No I need to start sorting the wiring
09:47 PM JamesW: No==Now
09:48 PM hazzy-m: looking very nice
09:49 PM TurBoss: 👍️
09:50 PM JamesW: the base with the black circle, that is a magnet that press fit into it. I had to take some liberty with the dimensions as I don't have the right sized plastic stock. I might chamber the top of the main body so chips and crap slip off it.
09:50 PM JamesW: We shall see.
09:50 PM JamesW: taking a break at the moment. late lunch and tinkering with the tutorial and a gui.
10:03 PM TurBoss: hazzy: what does app_dir branch?
10:04 PM TurBoss: file organization?=
10:04 PM TurBoss: works fine
10:04 PM TurBoss: it boots no errors
10:19 PM * hazzy-m sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ngGByuTzoojGDtxSvUrAMQSQ >
10:21 PM hazzy-m: TurBoss: thanks for testing
10:22 PM hazzy-m: I'm planning some additions to the application part of QtPyVCP, so decided to move everything into its own directory to keep it neat
10:27 PM JamesW: @hazzy-m thanks for the response re qtpyvcp and atvcp. Appreciate that. I tend to agree with your logic. Keeping lcnc as light as possible makes sense and making it easier for people to contribute is always key to keeping a community/oss effort alive.
10:32 PM JamesW: oh dear. SWMBO is demanding garden time. Back in a while.
10:33 PM hazzy-m: I guess the short answer is QtVCP is a good modern version of GladeVCP, QtPyVCP is hopefully the next level up of ease of use and extensibility
10:33 PM hazzy-m: have fun!
10:48 PM TurBoss: we tried gtk2 gtk3 but qt just works
10:50 PM TurBoss: we had many issues like opengl not working on some scenarios
11:01 PM TurBoss: was like hit a wall of brick
11:01 PM TurBoss: * was like hit a wall of bricks
11:05 PM hazzy-m: TurBoss: I forgot we tried both GTK2 and GTK3
11:05 PM hazzy-m: that was a lot of work lol
11:05 PM hazzy-m: Qt is SOOO much better
11:05 PM TurBoss: yeah lol
11:15 PM JamesW: QT has been well regarded for a long time. I remember the GTK v's QT arguments in the FOSS communities years and years ago
11:16 PM JamesW: In some respects it was a bit like watching people argue who's shade of Purple was better
11:21 PM JamesW: hmmm ... how do I tell designer and qtpyvcp where the icons/imgs are that I want it to reference?
11:21 PM JamesW: particularly since I seem to be able to get designer to see them but they are no appearing when I run in lcnc
11:22 PM JamesW: is it a yml setting?
11:51 PM TurBoss: you should use a resource file qrc
11:51 PM TurBoss: not necesary
11:52 PM TurBoss: https://github.com/TurBoss/JauriaCNC/blob/master/tnc/resources.qrc
11:52 PM TurBoss: this file can be created from designer
11:53 PM JamesW: all paths relative to the root folder of the config?
11:53 PM TurBoss: https://github.com/TurBoss/JauriaCNC/blob/master/tnc/style.qss#L117
11:54 PM TurBoss: https://github.com/TurBoss/JauriaCNC/tree/master/tnc/images
11:54 PM JamesW: can the qrc specify a generic path so you don't have to list all the files?
11:54 PM TurBoss: yes from designer you create a resource and add a directory all files get added
11:54 PM TurBoss: sek
11:55 PM JamesW: k- will look that up
11:55 PM TurBoss: https://stackoverflow.com/a/26512031