#hazzy | Logs for 2018-12-05
Back
[01:02:35] <Lcvette> holy moly
[01:02:51] <Lcvette> hazzy went nuts!
[01:12:13] <hazzy-m> Lol
[01:12:24] <hazzy-m> Already was nuts 😂
[01:12:31] <Lcvette> lol
[01:12:43] <Lcvette> im playing changing tools watching the numbers change
[01:13:00] <hazzy-m> It's nice, eh?
[01:13:11] <Lcvette> yeah
[01:13:51] * hazzy-m goes back to sleep
[01:14:05] <Lcvette> night bud!
[05:48:48] <jthornton> morning
[10:01:51] <hazzy-m> morning
[10:02:22] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 031 commit to 03master [+0/-1/±3] 13https://gitlab.com/Hazzy/qtpyvcp/compare/3dd67fecbff2db7d254bfc08d20ba32215f30f0b...64e29c527a681dfa36d6a6939d5f53099c83f988
[10:02:23] <Not> [02QtPyVCP] 07Kurt Jacobson 0364e29c5 - delete old actions module
[10:06:36] <TurBoss> morning
[10:06:47] <TurBoss> hazzy: was busy
[10:07:00] <TurBoss> lol
[10:15:53] <hazzy-m> hey
[10:19:25] <hazzy-m> TurBoss: Hurray! DROs and sliders in JCNC
[10:31:45] -!- Roguish has joined #hazzy
[10:35:11] -!- Roguish has quit [Client Quit]
[10:52:36] -!- Roguish has joined #hazzy
[11:47:28] -!- jthornton has quit [Quit: Leaving]
[13:21:41] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 033 commits to 03master [+2/-0/±3] 13https://gitlab.com/Hazzy/qtpyvcp/compare/64e29c527a681dfa36d6a6939d5f53099c83f988...2c421e60fb7c043d8a1ffe5f3378f084a20c398b
[13:21:42] <Not> [02QtPyVCP] 07Kurt Jacobson 03f5b227f - simplify data plugin loading
[13:21:44] <Not> [02QtPyVCP] 07Kurt Jacobson 03eb82368 - plugins, catch exceptions and assert subclass
[13:21:45] <Not> [02QtPyVCP] 07Kurt Jacobson 032c421e6 - rename plugins
[13:23:34] <TurBoss> hello!
[13:23:56] <hazzy-m> hey, what are you working on?
[13:24:17] <TurBoss> nothing just arraived home
[13:24:21] <TurBoss> what can I do?
[13:24:38] <TurBoss> remember the missing signal on the 3dplot
[13:24:49] <TurBoss> I should take a look
[13:24:59] <hazzy-m> yes, that would be great!
[13:25:07] <hazzy-m> I think it might be a proble in QtPy ...
[13:25:08] <TurBoss> ok
[13:25:08] <hazzy-m> :(
[13:25:23] <TurBoss> I'll do my magic
[13:25:34] <TurBoss> https://youtu.be
[13:25:44] <hazzy-m> excellent, thank you!
[13:26:19] <TurBoss> do you still use pycharm?=
[13:26:30] <TurBoss> or resigned?
[13:26:42] <hazzy-m> yes, I'm loving it!
[13:26:49] <TurBoss> Great!
[13:26:53] <TurBoss> is very helpfull
[13:27:40] <hazzy-m> it is, i had never used a debuger before, it is very usefull
[13:28:11] <TurBoss> PLC ones?=
[13:28:19] <TurBoss> like CX-programer
[13:28:29] <TurBoss> omron
[13:31:49] <TurBoss> got this on the QtDesigner
[13:31:51] <TurBoss> ´´´
[13:31:57] * TurBoss sent a long message: < https://matrix.org >
[13:32:07] * TurBoss sent a long message: < https://matrix.org >
[13:32:22] * TurBoss sent a long message: < https://matrix.org >
[13:32:23] <TurBoss> fu
[13:32:30] <TurBoss> bad matrix fu
[13:32:35] <TurBoss> sorry for the spam
[13:32:58] * TurBoss sent a long message: < https://matrix.org >
[13:33:43] <hazzy-m> which VCP are you using?
[13:33:50] <TurBoss> JCNC
[13:33:59] <TurBoss> sek I'll try brender
[13:34:02] <hazzy-m> ok, sorry :(
[13:34:02] <TurBoss> or mini
[13:34:27] <hazzy-m> in the UI file change the `channel` key in rules to `url`
[13:34:44] <TurBoss> hmmm I not familiar with rules yet
[13:34:46] <TurBoss> where
[13:34:56] <hazzy-m> sek
[13:35:00] <TurBoss> in the ui?
[13:35:05] <hazzy-m> yes
[13:35:08] <TurBoss> by hand you mean?
[13:35:09] <TurBoss> ok
[13:35:17] <hazzy-m> yes
[13:36:04] <hazzy-m> replace `"channel"` with `"url"`
[13:36:31] * TurBoss sent a long message: < https://matrix.org >
[13:36:46] <TurBoss> not channels ?
[13:37:20] <hazzy-m> not sure why I changed to URL ..
[13:37:25] <hazzy-m> maybe I should change it back
[13:37:30] * TurBoss sent a long message: < https://matrix.org >
[13:37:33] <TurBoss> not this
[13:37:36] <TurBoss> now**
[13:37:46] <hazzy-m> ok
[13:38:06] <hazzy-m> now change `status.*` to `status:*`
[13:38:11] <hazzy-m> that should be it
[13:38:17] <TurBoss> ok
[13:38:28] <TurBoss> FINE!!1
[13:38:31] <TurBoss> ty
[13:38:36] <hazzy-m> np
[13:38:46] <hazzy-m> sorry for the braking changes
[13:38:55] <TurBoss> no problem
[13:38:56] <TurBoss> :)
[13:41:47] <TurBoss> breaking changes are welcome
[13:42:18] <hazzy-m> only if they are improvements :)
[13:42:29] <TurBoss> :D
[13:49:51] <TurBoss> ok fixed
[13:50:11] <TurBoss> ```
[13:50:12] <TurBoss> @Slot(str)
[13:50:13] <TurBoss> ```
[13:50:20] <TurBoss> decorator in setView
[13:50:32] <TurBoss> are the other slots required?
[13:50:47] <hazzy-m> cheking
[13:50:54] <TurBoss> aka setdro set dgt set metric etc
[13:51:44] <hazzy-m> yes, I guess they should all have slots
[13:51:48] <TurBoss> ok
[13:51:52] <TurBoss> I'll add then
[13:51:57] <hazzy-m> thank you
[13:52:20] <TurBoss> but
[13:52:29] <TurBoss> I don't know what type should be
[13:52:35] <TurBoss> eg estate
[13:52:41] <TurBoss> *state
[13:52:46] <hazzy-m> hmm
[13:52:47] <TurBoss> int?
[13:52:54] <hazzy-m> ok, just fix that one for now
[13:53:03] <TurBoss> xD
[13:53:03] <hazzy-m> I think it is int, but not sure
[13:53:12] <TurBoss> I leave it commented
[13:55:30] <Not> [02QtPyVCP] 07TurBoss deleted branch 03FixSlot
[13:56:01] <TurBoss> ready!
[13:56:51] * TurBoss uploaded an image: image.png (121KB) < https://matrix.org >
[13:57:05] <hazzy-m> hurray!
[13:57:06] <TurBoss> hmmmm
[13:57:08] <TurBoss> question
[13:57:24] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 032 commits to 03master [+0/-0/±2] 13https://gitlab.com/Hazzy/qtpyvcp/compare/2c421e60fb7c043d8a1ffe5f3378f084a20c398b...ba7170b376d71885c15137a0cad3a0ab105f465f
[13:57:26] <Not> [02QtPyVCP] 07TurBoss 03060a1eb - fix setView slot added the others but I need to know what kind of data they can handle leave commented
[13:57:27] <Not> [02QtPyVCP] 07Kurt Jacobson 03ba7170b - Merge remote-tracking branch 'kcjengr/FixSlot'
[13:57:28] <TurBoss> how can I add the axis letter to the dro without adding a label
[13:57:44] <Not> [02QtPyVCP] 07Kurt Jacobson deleted branch 03FixSlot
[13:58:16] <hazzy-m> you mean like `X 0.0000`?
[13:58:20] <TurBoss> yes!
[13:58:43] <hazzy-m> easy with rules, but I don't have axis value useable in the rules yet
[13:58:53] <TurBoss> ok
[13:59:00] <TurBoss> no worries
[13:59:00] <hazzy-m> I'll do that next
[13:59:03] <TurBoss> I'll wait
[13:59:16] <TurBoss> Thanks!
[13:59:46] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 031 commit to 03master [+2/-0/±2] 13https://gitlab.com/Hazzy/qtpyvcp/compare/ba7170b376d71885c15137a0cad3a0ab105f465f...d85fbc1cc51e3c874a675849c13bff3f946e3e96
[13:59:48] <Not> [02QtPyVCP] 07Kurt Jacobson 03d85fbc1 - DOC: fix build of plugin docs
[14:01:01] <TurBoss> this weeks I was busy installing a Point of sale for a friend
[14:01:07] <TurBoss> now I should have more time
[14:01:28] <hazzy-m> Nice!
[14:01:33] <TurBoss> and tomorrow is vacational so until monday..... PARTY!!!
[14:02:03] <hazzy-m> hurray!
[14:02:09] <TurBoss> we have vacational bridges
[14:02:31] <TurBoss> so friday too
[14:02:42] <TurBoss> the day of the constitution
[14:02:58] <TurBoss> somo drunk guys redacted it
[14:03:01] <TurBoss> *some
[14:03:13] <TurBoss> in 1978 wow
[14:03:26] <TurBoss> when franky died
[14:03:52] <TurBoss> we still in stone age thanks to franky
[14:04:14] <hazzy-m> LOL
[14:04:16] <TurBoss> hopefully you didn't have a military government in the USA
[14:04:28] <hazzy-m> no, not yet
[14:04:30] <hazzy-m> :D
[14:04:36] <TurBoss> time...
[14:04:37] <TurBoss> lol
[14:04:42] <TurBoss> oh shity
[14:04:45] <TurBoss> I'm baned
[14:04:47] <TurBoss> on the US
[14:05:14] <TurBoss> NSA: was a joke
[14:05:31] <hazzy-m> LOL
[14:05:48] <hazzy-m> france is having problems I hear ..
[14:06:03] <TurBoss> yes because some carburant tax
[14:06:13] <TurBoss> police run away
[14:06:19] <TurBoss> lol
[14:06:29] <hazzy-m> the police are participating in the riots
[14:06:34] <hazzy-m> ghahaha
[14:06:53] <TurBoss> french people have a very revolutionary idealism
[14:07:05] <TurBoss> they love itscountry
[14:07:17] <TurBoss> not like here
[14:07:18] <hazzy-m> its true, and they have for a long time
[14:08:01] * hazzy-m uploaded an image: image.png (60KB) < https://matrix.org >
[14:08:25] <TurBoss> so M6T1 will change that?
[14:08:39] <TurBoss> acording to the tooltable?
[14:08:40] <hazzy-m> see how the 'in' units are added to the tool diameter? you could do smething similar for the DRO
[14:08:49] <hazzy-m> yes
[14:09:11] <TurBoss> I don't get it
[14:09:14] <TurBoss> i'm dumb
[14:09:19] <TurBoss> rules confuse me
[14:09:28] <hazzy-m> no, its confusing to me too
[14:09:35] <hazzy-m> stolen from PyDM
[14:09:37] <hazzy-m> xD
[14:10:03] <TurBoss> you can
[14:10:06] <TurBoss> :)
[14:10:11] <TurBoss> you have contacts
[14:10:15] <TurBoss> lol
[14:10:47] <hazzy-m> so basicaly the rules "expression" is evalueted and the result is used to set the text in the label
[14:11:02] <hazzy-m> so you can use any python code in the expression
[14:12:10] <hazzy-m> the channels refer to dataPlugin datachanels and you can use the channels value in the expression by ch[chan_num]
[14:12:20] <TurBoss> Oo
[14:12:22] <TurBoss> ok...
[14:12:27] <TurBoss> XD
[14:12:33] <hazzy-m> you can add as many channels as you want
[14:12:35] <TurBoss> I'll investigate
[14:12:51] <TurBoss> so will add the axis letter to the dro
[14:13:02] <hazzy-m> ok, its easy
[14:13:13] <TurBoss> but wasn't implemented?
[14:16:19] <hazzy-m> this works for ABS position
[14:16:22] * hazzy-m uploaded an image: image.png (60KB) < https://matrix.org >
[14:16:36] <hazzy-m> but not implemented for REL position
[14:44:09] * TurBoss leaves
[14:44:10] <TurBoss> latter
[14:44:26] <hazzy-m> cu
[15:55:23] <TurBoss> whats up
[15:55:38] <hazzy-m> I got it working
[15:55:43] <TurBoss> what=
[15:55:59] <hazzy-m> but need to make it convert the values to match the program units
[15:56:16] <TurBoss> what thing
[15:56:31] <hazzy-m> The axis positions
[15:56:37] <TurBoss> the letter?
[15:56:41] <hazzy-m> yes
[15:56:43] <TurBoss> i asked befor?
[15:56:44] <TurBoss> ahhh
[15:56:56] <TurBoss> oki!
[15:57:45] * hazzy-m uploaded an image: image.png (18KB) < https://matrix.org >
[15:57:51] <hazzy-m> I that what you were thinking?
[15:57:53] <TurBoss> ohhhhh
[15:57:54] <TurBoss> coool!
[15:58:27] <TurBoss> this lappy does not have a lcnc dev env ðŸ˜
[15:59:01] <hazzy-m> I'm not done with it yet,
[16:04:58] * TurBoss uploaded an image: Captura de pantalla de 2018-12-05 22-04-30.png (258KB) < https://matrix.org >
[16:04:59] * TurBoss uploaded an image: Captura de pantalla de 2018-12-05 22-04-43.png (259KB) < https://matrix.org >
[16:05:21] <hazzy-m> oohhh
[16:05:28] <hazzy-m> that is how you are making them!
[16:05:35] <TurBoss> its a secret
[16:05:39] <TurBoss> :P
[16:05:57] * hazzy-m needs to learn blender
[16:06:03] <TurBoss> experience in videogames is what has :D
[16:06:34] <hazzy-m> hehe, are you saying I should play Factorio?
[16:06:34] <TurBoss> did you saw my videogame videos?
[16:06:35] <hazzy-m> :D
[16:06:40] <TurBoss> lol
[16:06:41] <hazzy-m> Yes!
[16:06:57] <TurBoss> cool
[16:18:42] <Roguish_desk> hazzy-m: you added some action or something to the button widget thing, right? how the heck do I make sure I have that change?
[16:19:40] <hazzy-m> a git pull should work
[16:20:26] <hazzy-m> were you able to play with QtVCP?
[16:21:21] <Roguish_desk> can i do the git pull in gitkraken?
[16:21:24] <Roguish_desk> how?
[16:22:28] <hazzy-m> yes
[16:22:40] <Roguish_desk> got errors in pull
[16:22:43] <hazzy-m> I think all you need to do is hit the pull button ad the top
[16:22:54] <hazzy-m> ouch, ok
[16:23:03] <hazzy-m> did you make any changes?
[16:23:08] <Roguish_desk> was going to take a picture, but the notice slid off to the side
[16:23:41] <hazzy-m> I mean changes you want to save?
[16:23:52] <Roguish_desk> i have not idea if i made any changes. lololo
[16:24:05] <hazzy-m> lol
[16:24:11] <hazzy-m> so none intentionaly
[16:24:13] <hazzy-m> good
[16:24:20] <Roguish_desk> no, correct
[16:25:05] * hazzy-m uploaded an image: image.png (232KB) < https://matrix.org >
[16:25:21] <hazzy-m> so it should be safe to right click on master and reset changes
[16:25:26] <hazzy-m> like above
[16:26:34] <Roguish_desk> ok, just did that. like it. full reset !!!
[16:26:50] <hazzy-m> perfect!
[16:27:35] <Roguish_desk> does that pull in probebasic also?
[16:27:42] <hazzy-m> yes
[16:28:38] <Roguish_desk> where????
[16:29:03] <hazzy-m> it will be in the examples/probe_basic folder
[16:29:21] <hazzy-m> are you trying to run it or just look?
[16:29:51] <Roguish_desk> both
[16:30:09] <Roguish_desk> is it now probebasic_1920 ??
[16:30:27] <hazzy-m> no, it is now included in the master branch
[16:30:52] <hazzy-m> I should probably delete probebasic_1920 to prevent confusion ..
[16:31:16] <hazzy-m> are you able to get the VCP Chooser to pop up when launching LCNC?
[16:32:10] <Not> [02QtPyVCP] 07Kurt Jacobson deleted branch 03probe_basic_1920
[16:33:12] <Roguish_desk> ok, found the correct qtpyvcp directory
[16:33:45] <Roguish_desk> yes
[16:34:54] <Roguish_desk> I have a windows 7 machine rebuilding itself, so i have a bit of time.....rofl
[16:35:47] <Roguish_desk> in brender, when the estop is clicked, it changes color. that's good.
[16:35:58] <Roguish_desk> hows' that done?
[16:36:52] <hazzy-m> it is done in the QSS style sheet
[16:38:06] <hazzy-m> here: https://github.com
[16:38:53] <hazzy-m> you can also set the style using rules, so pretty much any LCNC status item or HAL pin can change the style of a widget
[16:39:06] <hazzy-m> dynamicaly
[16:39:36] * hazzy-m uploaded a video: home_indicators.mp4 (589KB) < https://matrix.org >
[16:40:05] <Roguish_desk> in the designer, if I right click on the 'estop' button, i can 'change the styleSheet' is that it?
[16:40:14] <hazzy-m> yes
[16:40:33] <hazzy-m> you can do it there, OR in the global style sheet
[16:40:48] <hazzy-m> examples/brender/ui/brender.qss
[16:41:27] <hazzy-m> Did you see I added homing indicaers? Those are also done with style sheet. Is that kinda what you were thinking?
[16:42:15] <Roguish_desk> that's waht i'm looking in to....
[16:45:08] * TurBoss uploaded an image: setamini.gif (4KB) < https://matrix.org >
[16:45:10] <TurBoss> yeah!
[16:45:20] <hazzy-m> nice!
[16:45:25] <hazzy-m> much better
[16:45:29] <TurBoss> better true
[16:48:45] * hazzy-m uploaded an image: Peek 2018-12-05 16-48.gif (60KB) < https://matrix.org >
[16:49:11] <TurBoss> amazing
[16:52:16] <Roguish_desk> ok, one more? how do I make sure when I run lcnc that it's gettting the correct brender or probebasic gui?
[16:52:42] <Roguish_desk> some environment variable or something?
[16:53:21] <hazzy-m> not sure I follow. Do you mean how do you select which GUI to launch?
[16:55:10] <Roguish_desk> no. unfortunately I have several qtvyvcp directories.... i found the one gitkraken is linked to, how do I make sure when I start 'launcher....' it's getting that one?
[16:55:39] <hazzy-m> ah, best solution is delete the other directories
[16:56:46] <Roguish_desk> duh. do i need to edit files within gitkraken?
[16:57:10] <hazzy-m> no, you shoudn't need to
[16:57:20] <TurBoss> I store the source in ~/projects/qtpyvcp
[16:57:31] <TurBoss> then I run
[16:58:16] <TurBoss> linuxcnc ~/projects/qtpyvcp/sim/xyz.ini ~/projetcjs/myvcp/vcp.py
[17:22:14] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 032 commits to 03master [+2/-0/±4] 13https://gitlab.com/Hazzy/qtpyvcp/compare/d85fbc1cc51e3c874a675849c13bff3f946e3e96...3e754e136fc63fbbc55e3731ce6e83bc86087b23
[17:22:16] <Not> [02QtPyVCP] 07Kurt Jacobson 034b5cd56 - Don't crash this exception is handled elsewhere, so we can just pass here.
[17:22:17] <Not> [02QtPyVCP] 07Kurt Jacobson 033e754e1 - add smart axis positions plugin
[17:32:53] <Roguish_desk> how can i force a modified .css to be used?
[17:33:02] <Roguish_desk> because i can
[17:33:11] <Roguish_desk> can't get it to change.
[17:33:37] <hazzy-m> did creat a qss new file?
[17:33:37] <Roguish_desk> i mean i can edit it no problem, but the changes do not show.
[17:33:40] <hazzy-m> you can pass it on the command line
[17:33:41] <hazzy-m> sek
[17:33:47] <Roguish_desk> ok
[17:34:47] <hazzy-m> try `--stylesheet=/path/to/my_custom_style.qss`
[17:35:17] <hazzy-m> which GUI are you playing with?
[17:35:31] <Roguish_desk> right now i'm messing with brender.
[17:36:02] <hazzy-m> great!
[17:36:04] <hazzy-m> hmmm
[17:36:14] <hazzy-m> how did you install QtPyVCP?
[17:37:12] <Roguish_desk> running my lcnc set up with qtpyvcp in the DISPLAY
[17:37:19] <hazzy-m> you need to have a development install otherwize the file changes won't be picked up
[17:37:53] <Roguish_desk> you mean a RIP from a pull and complile?
[17:38:01] <hazzy-m> do you remember if you installed qtpyvcp with pip?
[17:38:13] <Roguish_desk> yes i think
[17:38:31] <hazzy-m> no, I talking about qtpyvcp, which is seperate from linuxcnc
[17:39:50] <hazzy-m> what does `pip show qtpyvcp` show?
[17:40:12] -!- jethornton has joined #hazzy
[17:41:37] -!- jethornton has quit [Client Quit]
[17:41:57] -!- jthornton- has joined #hazzy
[17:42:15] <Roguish_desk> nothing
[17:42:46] <hazzy-m> hmmm
[17:42:58] <Roguish_desk> it may be easier to just start over......but not sure where to even start that.
[17:43:18] <Roguish_desk> this is my regular 'master' test setup.
[17:43:54] <hazzy-m> probably all you need to to is run (from the top level QtPyVCP dir)
[17:44:14] <hazzy-m> `sudo pip install -e .`
[17:45:05] <hazzy-m> -e is for an "editable" install, meaning it links the files to it pickes up any changes
[17:46:28] -!- jthornton- has quit [Client Quit]
[17:50:50] * hazzy-m uploaded an image: image.png (154KB) < https://matrix.org >
[17:51:01] <hazzy-m> TurBoss ^
[17:51:44] <TurBoss> Thanks!!
[17:58:08] <Roguish_desk> TurBoss.. nice
[17:58:39] <Roguish_desk> or hazzy-m. who ever made that ui
[17:58:44] <Roguish_desk> nice, simple
[17:58:49] <Roguish_desk> clean
[17:59:00] <hazzy-m> TurBoss made it
[17:59:12] <hazzy-m> I'm falling in love with it :)
[18:06:47] <hazzy-m> TurBoss: I pushed the changes to the DROs to a DROs branch my github
[18:06:59] <hazzy-m> if you'd like to look
[18:19:55] <TurBoss> I'll try latter :(
[18:20:24] <hazzy-m> no rush
[18:20:56] <hazzy-m> I just won $300!!!
[18:21:12] <hazzy-m> LOL
[18:30:51] <TurBoss> wow
[18:31:56] <Lcvette> hurray!
[18:32:00] <Lcvette> you won!
[18:32:04] <TurBoss> hey
[18:32:13] <hazzy-m> I never have that kinda luck
[18:32:27] <hazzy-m> it was for a modern machine shope workholding survey
[18:34:45] <Lcvette> nice!
[18:34:51] <Lcvette> thats awesome!
[18:39:24] <Lcvette> whats crackin
[18:42:26] <Lcvette> its crashing when you try and zero the axis in a G5x state
[18:42:40] <Lcvette> :O
[18:45:14] * Lcvette sent a long message: < https://matrix.org >
[18:45:28] <Lcvette> supposed to have errors on this screen?
[18:45:36] <Lcvette> or am i missing something?
[18:45:43] <Lcvette> that i need to download?
[18:45:58] <hazzy-m> hmmm
[18:46:02] <hazzy-m> are you up to date?
[18:46:16] <Lcvette> just reset latest master to local here
[18:47:24] <hazzy-m> does it actualy crash, or just errors?
[18:47:33] <Lcvette> mine shuts down
[18:47:51] <hazzy-m> hmm
[18:48:27] <hazzy-m> that error is because you you are running a 5 axis screen with a three axis config, so not a bid deal
[18:48:35] <hazzy-m> but not good if it crashes
[18:49:24] <Lcvette> thats in the terminal after it crashes
[18:50:04] <Lcvette> did that last one make it through?
[18:50:15] * Lcvette sent a long message: < https://matrix.org >
[18:50:22] <Lcvette> there is the tail where it crashes
[18:51:08] <hazzy-m> aha, there is the error!
[18:51:42] <Lcvette> o broke it?
[18:51:56] <hazzy-m> I can reproduce it here
[18:52:00] <Lcvette> naughty Lcvette
[18:52:01] <hazzy-m> now to fix it
[18:52:17] <hazzy-m> yeah, stop digging up bugs
[18:52:23] <Lcvette> better now
[18:52:24] <hazzy-m> they'd rest there just fine
[18:52:26] <Lcvette> lol
[18:52:27] <hazzy-m> :D
[18:55:41] <Lcvette> Lcvette wife is working late and the neighbor brought over holiday fudge brownies
[18:56:02] <hazzy-m> uh oh
[18:56:10] <hazzy-m> there goes the years worth of dieting
[18:56:11] * Lcvette uploaded an image: VectorImage_2018-12-05_065553.jpg (32KB) < https://matrix.org >
[18:56:47] <hazzy-m> those look like proper brownies!
[18:57:53] <Lcvette> they have giradelli sp? peppermint bark chocolates melted into them
[18:58:32] <hazzy-m> STOP!!!
[18:58:35] <hazzy-m> I can't take it!
[18:58:41] <Lcvette> they are devine
[18:59:15] <Lcvette> lcvette can't eat the second brownie
[18:59:19] <Lcvette> they are soo rich
[18:59:35] <hazzy-m> email it to me, I'll take care of it
[18:59:37] <hazzy-m> LOL
[18:59:46] <Lcvette> hahaha
[18:59:57] <Lcvette> i have to destroy the evidence
[19:00:13] <Lcvette> lol
[19:01:47] <Lcvette> we'll see
[19:01:56] <Lcvette> heading there tomorrow
[19:19:31] <hazzy-m> LOL, you did destroy the evidance, of something
[19:21:08] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 031 commit to 03master [+0/-0/±1] 13https://gitlab.com/Hazzy/qtpyvcp/compare/3e754e136fc63fbbc55e3731ce6e83bc86087b23...34bf1dba48f1520ff3b47913ad7865eeffcb0c89
[19:21:10] <Not> [02QtPyVCP] 07Kurt Jacobson 0334bf1db - quick n dirty fix for ProbeBasic crash then zero offsets
[19:24:08] <Lcvette> hazzy can you fix the mdi colors
[19:24:15] <Lcvette> lol
[19:24:42] <Lcvette> i fixed them but you have the master and i can't fix nuthin no more cuz of conflicts
[19:25:04] <Lcvette> so when i update its reversed
[19:25:13] <Lcvette> i get blue matric again
[19:25:17] <hazzy-m> MDI colors are?
[19:25:26] <Lcvette> the light gray
[19:25:31] <Lcvette> background
[19:25:46] <hazzy-m> hoho
[19:25:53] <hazzy-m> the gcode editor colors
[19:25:55] <hazzy-m> sure!
[20:49:20] * TurBoss is back
[20:49:51] <TurBoss> the new DROs are status labels?
[20:51:18] <hazzy-m> yes
[20:51:55] <TurBoss> ok playing with it
[20:57:40] <TurBoss> amazing they work like a charm
[20:58:00] <hazzy-m> great!
[20:58:32] <hazzy-m> What do you think about the rules? Too confusing?
[20:58:43] <TurBoss> hmmm
[20:58:48] <TurBoss> a bit.. :=
[20:58:58] <hazzy-m> I agree
[20:58:59] <TurBoss> I'm heading to it now
[21:01:14] <TurBoss> why there are 2 rules with the same expression ?
[21:01:54] <hazzy-m> are there?
[21:01:55] <hazzy-m> oops
[21:02:03] <TurBoss> in mini
[21:03:41] <hazzy-m> probably a mistake
[21:03:54] <hazzy-m> mini is a mess
[21:03:56] <hazzy-m> lol
[21:04:09] <TurBoss> lol
[21:07:27] * TurBoss uploaded an image: image.png (42KB) < https://matrix.org >
[21:07:41] <TurBoss> both have the same expresion
[21:07:50] <hazzy-m> oh!
[21:08:22] <hazzy-m> those are two "data channels" whos values can be used in the expression
[21:08:33] <hazzy-m> there values are ch[0] and ch[1]
[21:09:22] <hazzy-m> look at the expression, there is both ch[0] which is the value of the first chan, and there is ch[1] which is the value of the second one
[21:10:25] <hazzy-m> ch[0] => tuple of relitive axis positions
[21:10:31] <TurBoss> and from where the chan comes?
[21:10:40] <hazzy-m> ch[1] => str of units
[21:11:12] <hazzy-m> the channels are defined in "data plugins", look in the qtpyvcp/plugins directory
[21:11:20] <TurBoss> ah
[21:12:18] <hazzy-m> the idea is that people can easily add custom plugins to extend waht can be done
[21:12:49] <TurBoss> is the gui of rule editor from QtDesigner?=
[21:13:45] <hazzy-m> it is a custom GUI defined in widgets/qtdesigner/rules_editor.py
[21:14:12] <TurBoss> could expresion be multiline?
[21:14:14] <TurBoss> maybe ...
[21:14:15] <TurBoss> :D
[21:14:37] <hazzy-m> that would be great! But I am not sure how
[21:14:38] <TurBoss> or has no sense
[21:14:55] <hazzy-m> right now it is a single python expression, I guess it could also be a function ...
[21:15:09] <hazzy-m> I eval the expression with eval ...
[21:15:21] <hazzy-m> don't think that would work with a multi line function
[21:15:42] <hazzy-m> If you have other ideas they are welcome!
[21:15:56] <TurBoss> is fine
[21:16:45] <hazzy-m> it is still a proof of concept, not polished at all
[21:23:34] * hazzy-m is making external stylesheets work in designer
[21:23:37] * hazzy-m uploaded an image: image.png (19KB) < https://matrix.org >
[21:29:16] * TurBoss uploaded an image: image.png (48KB) < https://matrix.org >
[21:29:18] <TurBoss> oh!
[21:29:42] <hazzy-m> whoa!
[21:29:45] <hazzy-m> does it work?
[21:29:48] <TurBoss> duno
[21:29:51] <TurBoss> :D
[21:30:09] <TurBoss> it seems
[21:30:19] <TurBoss> can you test?
[21:30:31] <hazzy-m> sure!
[21:30:34] <hazzy-m> that is great
[21:30:54] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 032 commits to 03master [+0/-0/±3] 13https://gitlab.com/Hazzy/qtpyvcp/compare/34bf1dba48f1520ff3b47913ad7865eeffcb0c89...c9373a22c694d5b7aeae3f941703542f285a8d5a
[21:30:56] <Not> [02QtPyVCP] 07Kurt Jacobson 03c35ea03 - stop brender from running prog at startup
[21:30:57] <Not> [02QtPyVCP] 07Kurt Jacobson 03c9373a2 - enable StyleSheet designer hook
[21:31:17] <TurBoss> pushed to mine
[21:31:27] <Not> [02QtPyVCP] 07TurBoss created branch 03RuleEditor
[21:31:33] <TurBoss> and gitlab
[21:31:35] <TurBoss> why not
[21:31:43] <hazzy-m> perfect
[21:33:32] <hazzy-m> yes, it works!
[21:33:55] <hazzy-m> but the expression can't have a \n in it ....
[21:34:12] <TurBoss> hmmm
[21:35:10] <TurBoss> afk one min
[21:43:24] <TurBoss> back
[21:44:15] <hazzy-m> I moved the help button to give more room
[21:44:19] * hazzy-m uploaded an image: image.png (38KB) < https://matrix.org >
[21:45:04] <TurBoss> what are you using to eval
[21:45:08] <TurBoss> eval, exec?
[21:45:15] <hazzy-m> eval
[21:45:22] <hazzy-m> it's evil
[21:45:37] <hazzy-m> but I limit its enviroment to just what is needed
[21:47:10] <hazzy-m> I use `val = eval("lambda: expression")` so I don't have to eval each time
[21:47:18] <hazzy-m> val() is very fast that way
[21:47:40] <TurBoss> where is that code
[21:47:42] <hazzy-m> 10x faster than val = eval("expression")
[21:47:49] <TurBoss> OO
[21:47:50] <TurBoss> amazing
[21:48:04] <hazzy-m> I was very surprised
[21:48:51] <hazzy-m> it is in /widgets/base_widgets/base_widget.py
[21:49:10] <hazzy-m> in registerRules
[21:49:30] <hazzy-m> its not very good, it would be great if you can look at it
[21:50:41] <TurBoss> just reading this
[21:50:45] <TurBoss> https://docs.python.org
[21:52:24] <hazzy-m> interesting
[21:52:52] <hazzy-m> looks like exec can do a whole function
[22:06:58] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 031 commit to 03master [+1/-0/±2] 13https://gitlab.com/Hazzy/qtpyvcp/compare/c9373a22c694d5b7aeae3f941703542f285a8d5a...5b85297d8178bd631c8a8913bd6a33c35ebb7dcd
[22:07:00] <Not> [02QtPyVCP] 07Kurt Jacobson 035b85297 - move widget rules help button and make it work
[22:17:55] * hazzy-m uploaded an image: image.png (260KB) < https://matrix.org >
[22:18:07] <TurBoss> woah
[22:18:10] <TurBoss> qss in designer
[22:18:13] <hazzy-m> `export QSS_STYLESHEET=.../JauriaCNC/style.qss`
[22:18:28] <hazzy-m> before running designer
[22:19:26] <hazzy-m> need to add a file watch now so it reloads the style sheet if you edit it
[22:20:13] <TurBoss> oh very cool!"
[22:24:17] <TurBoss> n8
[22:24:25] <hazzy-m> night!
[23:40:48] <Lcvette> sweet!
[23:43:45] <Lcvette> where is the code for the G%x and zero buttons located?
[23:43:51] <Lcvette> G5x
[23:44:54] <hazzy-m> In the UI file, you can edit it win designer
[23:45:23] <Lcvette> win designer?
[23:45:32] <Lcvette> whoa
[23:45:52] <hazzy-m> win => in
[23:45:54] <hazzy-m> lol
[23:47:37] * Lcvette uploaded an image: image.png (18KB) < https://matrix.org >
[23:47:49] <Lcvette> I GET LIKE A TON OF THESE WHEN I OPEN SAD FACE
[23:48:25] <hazzy-m> that is not good
[23:48:36] <hazzy-m> did you set up the linuxcnc rip env?
[23:49:13] <Lcvette> oh hazzy
[23:49:20] <Lcvette> when will you learn
[23:49:45] <Lcvette> rest in peace envelope?
[23:50:08] <hazzy-m> hahaha
[23:50:11] <Lcvette> realt time???
[23:50:17] <Lcvette> wtf
[23:50:20] <Lcvette> lol
[23:50:20] <hazzy-m> run in place enviroment
[23:50:24] <hazzy-m> xD
[23:50:26] <Lcvette> ru in place
[23:50:31] <Lcvette> i do own a treadmill
[23:50:43] <hazzy-m> LOLOLOLOLOL
[23:50:52] <Lcvette> no clue
[23:50:57] <Lcvette> did you make me set it up?
[23:51:16] <hazzy-m> something like this
[23:51:22] <hazzy-m> `/home/kurt/dev/cnc/linuxcnc-dev/scripts/rip-environment`
[23:51:47] <hazzy-m> `. /home/chris/dev/cnc/linuxcnc-master/scripts/rip-environment`
[23:52:12] <hazzy-m> not sure if I have the path right for you
[23:52:34] * Lcvette uploaded an image: image.png (77KB) < https://matrix.org >
[23:52:43] <Lcvette> apparantly not?
[23:53:10] <hazzy-m> thanks
[23:53:37] <hazzy-m> hey, I remembered!
[23:53:49] <hazzy-m> so in the terminal you launch designer from run
[23:53:50] <hazzy-m> `. /home/chris/dev/cnc/linuxcnc-master/scripts/rip-environment`
[23:53:53] * Lcvette uploaded an image: image.png (154KB) < https://matrix.org >
[23:54:01] <hazzy-m> perfect!
[23:54:12] <Lcvette> no cnc
[23:55:25] <hazzy-m> oh, I missed that
[23:55:45] <Lcvette> do i need to add cnc?
[23:55:51] <hazzy-m> no
[23:55:57] <Lcvette> move everything?
[23:56:08] <Lcvette> or change a path
[23:56:29] <hazzy-m> no, you don't need to to anything
[23:56:36] <Lcvette> ok
[23:56:48] <hazzy-m> just run `. /home/chris/dev/linuxcnc-master/scripts/rip-environment`
[23:57:02] <hazzy-m> how are you launching designer? sad face?
[23:57:09] <Lcvette> yeah
[23:57:12] <Lcvette> blah
[23:57:49] * Lcvette uploaded an image: image.png (28KB) < https://matrix.org >
[23:58:06] <Lcvette> the sh blah/. method in terminal
[23:58:30] <Lcvette> i co cntrl R the hit the / key and it pops up
[23:58:59] <hazzy-m> perfect! that is how I do it
[23:59:03] <hazzy-m> good fu 😃
[23:59:37] * Lcvette uploaded an image: image.png (28KB) < https://matrix.org >
[23:59:53] <Lcvette> guess there is no blah anymore
[23:59:58] <Lcvette> used to say blah
[23:59:59] <hazzy-m> yep, that should work