#hazzy | Logs for 2018-12-03
Back
[00:51:37] <Lcvette> i broke my launcher
[00:51:49] <Lcvette> :(
[00:52:36] <Lcvette> i was explaining how to go to the sims to my buddy and went through it all on my computer.. applications, cnc, linuxcnc, sims etc
[00:53:01] <Lcvette> then i went to go into the regular launcher for probe basic and it brings up the linuxcnc options
[00:53:04] <Lcvette> :(
[00:53:08] <Lcvette> busted it
[00:54:22] <Lcvette> hazzy
[00:54:24] <Lcvette> help
[00:56:28] <Lcvette> any ideas?
[01:02:15] <Lcvette> im stupid
[01:02:22] <Lcvette> was hitting the wrong icon
[01:04:46] <hazzy-m> LOL
[01:04:58] <hazzy-m> glad it was something easy!
[01:05:03] <Lcvette> lol
[01:05:20] <Lcvette> did you know that the homing was funky again?
[01:05:38] <hazzy-m> no, I thought I'd fixed it
[01:05:44] <hazzy-m> I check it
[01:06:14] <Lcvette> it homes z but not x and y if you home then unhome or unreference the axis
[01:06:59] <hazzy-m> ah, yes. That has to do with the simulated home switches
[01:07:06] <Lcvette> the zero buttons on the offsets are wonky too
[01:07:54] <hazzy-m> I noticed that, not sure why. It on my list of things to fix
[01:08:00] <Lcvette> ok
[01:08:56] <hazzy-m> time to sleep here
[01:08:58] <hazzy-m> gn8
[01:09:01] <Lcvette> night
[09:14:45] <jthornton> yea I think I solved my timer issue with a qtimer setSingleShot(True)! now to celebrate and clean chicken poop
[09:55:43] <Lcvette> Nice JT!
[09:56:27] <Lcvette> Hazzy, I was wondering if the dro issues had anything to do with their naming convention
[09:56:39] <Lcvette> I noticed they were all named wrong
[09:57:02] <Lcvette> I played with it last night here and changed the names and if course broke it
[09:57:12] <Lcvette> But it did change things
[10:22:22] <hazzy-m> The names should not matter, but they might indicate something got messed up
[10:22:38] <hazzy-m> BTW, morning!
[10:30:20] -!- Roguish has joined #hazzy
[10:32:13] <hazzy-m> morning Roguish
[10:54:42] -!- JT-Shop2 has quit [Ping timeout: 250 seconds]
[10:55:53] -!- jthornton has quit [Read error: Connection reset by peer]
[10:57:48] -!- jthornton has joined #hazzy
[11:29:57] <Lcvette> Morning
[11:30:07] <Lcvette> xD
[11:45:24] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 0320 commits to 03DataSourcesPlugins [+9/-1/±39] 13https://gitlab.com/Hazzy/qtpyvcp/compare/8cb6bf972a6b8f2eb9298cc1acdf3c940aa2ea0c...17d82ee2ec243930eefeb4a674bc8afeff250a82
[11:45:26] <Not> [02QtPyVCP] 07Kurt Jacobson 0354ca47b - MDIButton: enable substituting data chan values into MDI command
[11:45:27] <Not> [02QtPyVCP] 07Kurt Jacobson 036df85b4 - VCP: ProbeBasic zero work coord buttons working
[11:45:29] <Not> [02QtPyVCP] 07Kurt Jacobson 0312d7443 - Merge branch 'work_coords'
[11:45:30] <Not> [02QtPyVCP] ... and 17 more commits.
[11:48:52] <hazzy-m> TurBoss: What are you planing to do for DROs on your VCP?
[11:49:55] <TurBoss> Haha
[11:49:56] <TurBoss> No idea
[11:50:13] <hazzy-m> ok xD
[11:50:25] <TurBoss> Maybe over te 3dplot
[11:50:26] <TurBoss> Duno
[11:50:45] <hazzy-m> that is what I was thinking
[12:37:35] <hazzy-m> test
[12:38:30] <hazzy-m> test
[12:44:11] <JT-Shop> kaBOOM
[12:44:54] <hazzy-m> lol
[12:48:16] <JT-Shop> I could not figure out how to get the current timer value from a qtimer so I just made a 1000ms timer and counted each time it timed out :)
[12:49:58] <hazzy-m> That works!
[12:50:45] <hazzy-m> There is a QElapsedTimer, not sue how you'd use it though
[12:50:49] <hazzy-m> http://doc.qt.io
[12:51:23] <JT-Shop> yea I looked briefly at that during lunch minute
[12:52:01] <JT-Shop> However, unlike QTime, QElapsedTimer tries to use monotonic clocks if possible. This means it's not possible to convert QElapsedTimer objects to a human-readable time.
[12:52:13] <JT-Shop> that kind of threw me off a bit
[12:55:02] -!- JT-Shop2 has joined #hazzy
[12:58:06] <hazzy-m> oh, yeah ..
[14:34:36] -!- logs has joined #hazzy
[14:34:36] -!- mode/#hazzy [+o logs] by ChanServ
[14:36:01] -!- logs has joined #hazzy
[14:36:01] -!- mode/#hazzy [+o logs] by ChanServ
[14:59:17] <Lcvette> hazzy, you did it?
[14:59:24] <Lcvette> they are working now?
[14:59:46] <hazzy-m> I did stuff, but unrelated
[14:59:52] <Lcvette> oh
[15:00:03] <Lcvette> thought i saw a zero button working commit
[15:00:33] <hazzy-m> oh, maybe! But that was just from mergin master into another branch
[15:01:01] <Lcvette> i don't know what that means
[15:01:02] <Lcvette> lol
[16:00:35] <hazzy-m> I just updated the DataSources branch so those old commits showed in the notifications
[16:02:32] <TurBoss> https://www.geodose.com
[16:03:47] <hazzy-m> whoa! That is awesome!
[16:04:34] <hazzy-m> I'm a little surprised the flight data is public, seems like it could be a security concern, "in war time and all"
[16:04:34] <hazzy-m> lol
[16:08:10] <TurBoss> Its really cool
[16:26:07] <TurBoss> hmmmm
[16:26:12] <TurBoss> found a bug
[16:26:26] <TurBoss> if you double click the window icon
[16:26:35] <TurBoss> it closes
[16:26:44] <hazzy-m> oops
[16:26:59] <TurBoss> jcnc and brender seems issuing the same
[16:27:24] <hazzy-m> sure enough
[16:27:31] <hazzy-m> that seems strange
[16:27:36] <TurBoss> question
[16:28:07] <TurBoss> how do I change the background color of the app?
[16:28:39] <hazzy-m> good question, I am not sure
[16:28:48] <hazzy-m> the QSS in jcnc does it
[16:28:56] <TurBoss> ok I'll found it
[16:29:25] <hazzy-m> look for QMainWindow
[16:30:18] <TurBoss> i used the color picker
[16:30:20] <TurBoss> and found
[16:30:21] <hazzy-m> https://github.com
[16:30:28] <TurBoss> its spamed over the whole thing
[16:30:30] <TurBoss> :D
[16:32:15] <hazzy-m> wonder if you can use SASS in QSS ..
[16:35:25] * TurBoss uploaded an image: image.png (132KB) < https://matrix.org >
[16:35:26] <TurBoss> no idea
[16:35:37] <TurBoss> stole colors from riot xD
[16:35:44] <TurBoss> they match
[16:36:02] <hazzy-m> I think it looks great!
[16:36:12] <hazzy-m> color matches the scrollbars well
[16:36:17] <TurBoss> now I have to figure how to add style to the editor
[16:36:29] <TurBoss> do you know ?
[16:37:00] <hazzy-m> it is not a standart Qt widget, so I'm not sure if it suport QSS
[16:37:10] <TurBoss> hmmmm...
[16:37:20] <hazzy-m> you can change the colors in the source code
[16:37:35] <hazzy-m> maybe those should be exposed as properties in designer
[16:38:08] * TurBoss sent a long message: < https://matrix.org >
[16:38:22] <TurBoss> I have this in the stolen qss
[16:38:33] <hazzy-m> oh, nice!!
[16:38:38] <hazzy-m> maybe it does work!
[16:38:50] <TurBoss> not sure
[16:39:04] <hazzy-m> maybe we need to remove the colors set in the code
[16:39:13] <hazzy-m> they might override the QSS colors
[16:40:02] <TurBoss> ahhhh
[16:40:04] <TurBoss> i saw
[16:40:40] <TurBoss> color picker true hacker elite tool
[16:40:40] <TurBoss> xD
[16:44:05] <TurBoss> how can we set preference to the qss instead of the hardcoded one?
[16:44:51] <hazzy-m> I am not sure
[16:44:59] <hazzy-m> gtg
[16:45:08] <TurBoss> bye
[17:00:51] * TurBoss uploaded an image: linuxcnc.png (79KB) < https://matrix.org >
[17:01:00] <TurBoss> added a cool gradient
[17:09:14] <jthornton> hazzy-m: is there any reason I should quit putzing around with pyqt4 for my chicken door and use pyqt5? I'm using python3 and the latest raspberry os... other than I still don't understand what slots/signals add to the plate over .connect()
[17:22:41] <jthornton> opps bassackwards question... any reason for me to "keep" putzing around with pyqt4?
[17:35:16] <hazzy-m> No, there shouldn't be any reason to stay with PyQt4
[17:37:51] <TurBoss> hazzy: pyqt.sourceforge.net/Docs/PyQt5/qt_properties.html
[17:38:07] <TurBoss> can I add properties to the GCodeEditor?
[17:38:34] <jthornton> ok, I'll forge on with pyqt5
[17:39:09] <TurBoss> JT ar you goin to design some GUI for the door?
[17:39:36] <jthornton> I have already a GUI for the 7" touch screen
[17:39:51] <TurBoss> ah raspi no was to play with QML :(
[17:39:54] <jthornton> some things in pyqt just make it easier to do
[17:39:58] <TurBoss> not a problem for you
[17:40:13] <TurBoss> if you go with widgets
[17:40:24] <jthornton> how's that?
[17:40:28] <TurBoss> -was + way
[17:40:41] <jthornton> QML?
[17:41:08] <TurBoss> instead of QButton Qthing
[17:41:17] <TurBoss> you have a kind of JavaScript
[17:41:32] <jthornton> oh, I've never messed with javascript lol
[17:41:50] <jthornton> I use the designer to build the GUI anyhow
[17:42:12] <TurBoss> QML allows both
[17:42:22] <TurBoss> designer + custom code
[17:43:19] <jthornton> got a link to QML?
[17:43:29] <TurBoss> sure
[17:43:49] <TurBoss> http://pyqt.sourceforge.net
[17:43:56] <TurBoss> use the QtCreator
[17:44:26] <TurBoss> but there is some problem with raspberry pi that prevents to use it
[17:44:30] <TurBoss> sad
[17:44:32] <TurBoss> :(
[17:44:42] <jthornton> something in the OS?
[17:44:53] <TurBoss> could be
[17:44:57] <TurBoss> can't remember
[17:45:23] <jthornton> looks complicated lol
[17:46:37] <jthornton> time for a roost check and lock the hens up...
[18:23:18] * TurBoss uploaded an image: image.png (126KB) < https://matrix.org >
[18:23:28] <TurBoss> hurray!
[18:23:37] <TurBoss> with properties
[18:23:41] <hazzy-m> Hurray!!!
[18:24:02] <TurBoss> QsciScintilla {
[18:24:03] <TurBoss> qproperty-thingstyle: #00ff00;
[18:24:09] <TurBoss> I'll implement all and pux
[18:24:23] <hazzy-m> excellent!
[18:24:35] <hazzy-m> you can set qproperties from QSS?
[18:24:40] <TurBoss> yes
[18:24:47] <TurBoss> thingstyle is one
[18:24:52] <hazzy-m> nice!
[18:25:08] <hazzy-m> I need to use that elswere, like for the load meter!
[18:25:36] <hazzy-m> or even the colors on the 3d plot
[18:26:44] <TurBoss> very cool
[18:26:46] <TurBoss> good Idea
[18:27:05] <TurBoss> it will take some minutes to finish
[18:52:03] <TurBoss> how can I set the text color ?=
[18:53:11] <hazzy-m> not sure, I think it is set in the highlighter
[18:53:24] * TurBoss uploaded an image: image.png (158KB) < https://matrix.org >
[18:53:33] <hazzy-m> very nice!
[18:53:35] <TurBoss> ty
[18:54:20] <TurBoss> only text text font color size etc is left :D
[19:00:22] <Not> [02QtPyVCP] 07TurBoss created branch 03DataSourcesPlugins
[19:00:36] <TurBoss> hazzy: would you like to take a look?
[19:00:59] <hazzy-m> absolutly!
[19:01:15] <hazzy-m> checking
[19:03:01] <hazzy-m> code looks fantastic!
[19:03:02] * TurBoss sent a long message: < https://matrix.org >
[19:03:13] <TurBoss> only two properties lol
[19:03:36] <hazzy-m> you cleaned it up too
[19:03:39] <TurBoss> stolen from action button
[19:05:10] <Not> [02QtPyVCP] 07TurBoss created branch 03GCE_QSS
[19:14:06] <TurBoss> works?=
[19:32:31] <hazzy-m> yes, works great!
[19:32:37] <hazzy-m> thank you!
[19:33:42] <TurBoss> hazzy: do you know how to load images from qrc?
[19:33:46] <TurBoss> in the qss?
[19:33:59] <hazzy-m> I did now how
[19:34:00] <hazzy-m> sek
[19:34:10] <TurBoss> great
[19:34:38] <Not> [02QtPyVCP] 07TurBoss pushed 031 commit to 03GCE_QSS [+0/-0/±1] 13https://gitlab.com/Hazzy/qtpyvcp/compare/bedd284676d305f15bb684b31a106bb49770a0a6...9e0d9d79b0656fc6687e63712588b7d184d67d9e
[19:34:40] <Not> [02QtPyVCP] 07TurBoss 039e0d9d7 - brender example
[19:36:09] <hazzy-m> I think it is `image: url(:/images/image.png);`
[19:36:34] <hazzy-m> where the `:/` means to use an image from the qrc file
[19:38:33] <TurBoss> ok thanks
[19:38:40] <TurBoss> the same I had but doesn't work :/(
[19:39:42] <hazzy-m> I'll test in a bit
[19:40:28] <TurBoss> no worries
[20:47:12] -!- Roguish has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
[20:47:59] <TurBoss> hmmm
[20:48:10] <TurBoss> I'm unable to load images from qrc
[20:56:40] <TurBoss> I did it
[20:56:44] <TurBoss> hurray
[20:56:49] <TurBoss> pushing to JCNC
[21:12:09] <hazzy-m> hurray!
[21:15:30] <TurBoss> master should be up
[21:15:40] <hazzy-m> I'm running it
[21:15:43] <TurBoss> requires the qss branch of Qtpyvcp
[21:15:53] <hazzy-m> its awesome!
[21:15:59] <TurBoss> well it should work without it
[21:16:07] <hazzy-m> it does
[21:16:07] <TurBoss> :D
[21:16:30] <TurBoss> I'll try to add the DRO
[21:18:13] <hazzy-m> should I merge the QSS branch?
[21:19:23] <hazzy-m> I like the e-stop button :)
[21:21:29] <TurBoss> if you aprove
[21:21:30] <TurBoss> :D
[21:21:46] <TurBoss> estop requires a bit more of work
[21:21:53] <TurBoss> the images
[21:24:24] <hazzy-m> how do you launch jcnc? just pass the path to the py file?
[21:25:20] <TurBoss> linuxcnc ../qtpyvcp/sim/xyz.ini /home/turboss/Proyectos/JauriaCNC/jcnc.py
[21:25:23] <TurBoss> this way
[21:25:32] <hazzy-m> ok
[21:25:34] <TurBoss> or vcpchooser
[21:32:45] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 035 commits to 03master [+0/-0/±6] 13https://gitlab.com/Hazzy/qtpyvcp/compare/5c2b60df5cd68ad68321c4ab091d3e5bef8804ad...17fb09a0a321df127926ccb91535bac889bd5b0a
[21:32:46] <Not> [02QtPyVCP] 07TurBoss 03e0f400c - reformat code
[21:32:48] <Not> [02QtPyVCP] 07TurBoss 0373e85c5 - the real deal
[21:32:49] <Not> [02QtPyVCP] 07TurBoss 03bedd284 - forgoten reformat
[21:32:51] <Not> [02QtPyVCP] ... and 2 more commits.
[21:32:57] <Not> [02QtPyVCP] 07Kurt Jacobson deleted branch 03GCE_QSS
[21:35:09] <TurBoss> great ty
[21:35:18] <hazzy-m> thank you!
[21:36:45] <TurBoss> hmmm
[21:37:12] <TurBoss> I have added the dro inside a Vlayout
[21:37:14] <TurBoss> but I'm unable to set the background to alpha
[21:37:36] <hazzy-m> I had the same problem :(
[21:37:44] <hazzy-m> something to do with the GL area
[21:40:04] <TurBoss> hmmm
[21:47:59] <TurBoss> it does the same if placed over GCodeEditor
[21:48:37] <hazzy-m> strange
[22:09:35] <TurBoss> duno
[22:09:58] <TurBoss> I set QWidget to transparent
[22:10:04] <TurBoss> all becomes transparent
[22:10:15] <TurBoss> but plot still covered
[22:10:21] <TurBoss> doesn't matter
[22:11:00] <hazzy-m> the DROs used to be drawn in the GL code
[22:11:28] <hazzy-m> the code is still there, but I comented it out becuase I was too lazzy to convert it from GTK to QT
[22:11:42] <TurBoss> no problem
[22:11:50] <TurBoss> I think AXIS has the same problem
[22:12:03] <hazzy-m> yes, and hazzy was the same
[22:12:20] <TurBoss> What I want is to change the GCode editor font
[22:12:22] <TurBoss> color
[22:12:33] <hazzy-m> I kinda got it to work in qcontrol
[22:12:43] <TurBoss> what
[22:12:50] <TurBoss> the font color?
[22:13:00] <hazzy-m> no, DROs over the backplot
[22:13:13] <TurBoss> ahh
[22:13:15] <TurBoss> hmmm
[22:13:27] <TurBoss> machine.home.axis:all does not home all :P
[22:13:35] <TurBoss> does nothing
[22:13:37] <TurBoss> any idea?
[22:14:13] <TurBoss> at least on jcnc
[22:14:45] <Not> [02QtPyVCP] 07Kurt Jacobson created branch 03master
[22:15:13] <hazzy-m> it works in bender
[22:15:14] <hazzy-m> hmm
[22:15:34] <TurBoss> Not is drunk?=
[22:15:57] <hazzy-m> ah
[22:15:59] <hazzy-m> should be
[22:16:05] <hazzy-m> `machine.home.all`
[22:16:10] <TurBoss> oh great
[22:16:12] <hazzy-m> all is not an axis :P
[22:16:33] <hazzy-m> https://qtpyvcp.kcjengr.com
[22:16:49] <hazzy-m> gtg
[22:16:50] <hazzy-m> bbl
[22:17:11] <TurBoss> latter
[22:54:27] * hazzy-m is back