#hazzy | Logs for 2018-10-05

Back
[01:09:51] <hazzy-m> gn8
[05:01:51] <TurBoss> morning
[05:50:37] <jthornton> morning
[05:50:41] <Lcvette> Morning
[07:45:44] <TurBoss> what are aceptable latency numbers for 6i25/7i76 ?
[07:45:47] <TurBoss> getting 40k
[08:30:57] <jthornton> 100k
[08:31:37] <TurBoss> great
[08:31:39] <TurBoss> thanks
[08:33:42] <jthornton> latency is usually not an issue with hardware step generation
[09:42:59] -!- Roguish has joined #hazzy
[09:46:07] -!- jthornton has quit [Quit: Leaving]
[10:07:05] -!- emc has quit [Quit: Leaving]
[10:14:57] -!- JT-Shop has quit [Quit: Leaving]
[10:38:05] -!- JT-Shop has joined #hazzy
[10:38:21] -!- JT-Shop has quit [Client Quit]
[12:41:29] <Not-778c> [02QtPyVCP] 07Kurt Jacobson pushed 0310 commits to 03master [+22/-1/±11] 13https://gitlab.com/Hazzy/qtpyvcp/compare/b9bdf1f783e9f05d6a969e376ec17ca1b53502cf...ff174fecf99efabe3a813c52f7df531aef29504f
[12:41:31] <Not-778c> [02QtPyVCP] 07Kurt Jacobson 03954c478 - docs: add some starter docs
[12:41:32] <Not-778c> [02QtPyVCP] 07Kurt Jacobson 0391d3d0d - Merge branch 'docs'
[12:41:34] <Not-778c> [02QtPyVCP] 07Kurt Jacobson 032cb83a8 - travis: don't keep pages history
[12:41:35] <Not-778c> [02QtPyVCP] ... and 7 more commits.
[12:44:57] <Not-778c> [02QtPyVCP] 07Kurt Jacobson pushed 031 commit to 03master [+0/-0/±1] 13https://gitlab.com/Hazzy/qtpyvcp/compare/ff174fecf99efabe3a813c52f7df531aef29504f...6f24031f75115c1ad976f4ade06108e179e66acf
[12:44:58] <Not-778c> [02QtPyVCP] 07Kurt Jacobson 036f24031 - docs: spaces in INI entries
[13:11:25] <Not-778c> [02QtPyVCP] 07Kurt Jacobson pushed 031 commit to 03master [+0/-0/±2] 13https://gitlab.com/Hazzy/qtpyvcp/compare/6f24031f75115c1ad976f4ade06108e179e66acf...c563d8fc720c73c87110cdf4cd923bf78393906b
[13:11:27] <Not-778c> [02QtPyVCP] 07Kurt Jacobson 03c563d8f - docs: update README
[13:18:38] <TurBoss> doc looks great
[13:19:22] <hazzy-m> thanks!
[13:20:22] <hazzy-m> That's on github right now and uses travis to build
[13:20:24] <hazzy-m> https://github.com
[13:20:37] <hazzy-m> I guess I should learn how to use the git lab CI
[13:21:01] <hazzy-m> I just reused what I had for hazzy :P
[13:21:03] <TurBoss> linuxcnc badge :O
[13:21:42] <hazzy-m> the badges are fun :)
[13:24:23] * hazzy-m goes afk to put a MPG on an old bridgeport Boss CNC mill
[13:25:34] <TurBoss> have fun
[18:14:07] * hazzy-m is back
[18:20:48] <TurBoss> hey
[18:20:53] <TurBoss> how went?
[18:21:10] <hazzy-m> very good
[18:21:19] <hazzy-m> got the MPG working
[18:21:22] <TurBoss> good
[18:21:47] <TurBoss> I will spend some time on the plot udate thing...
[18:22:15] <TurBoss> but if i issue the G10 L20 P0 X0.0 from the MDI of brender
[18:22:18] <TurBoss> does the same
[18:22:22] * hazzy-m uploaded an image: mpg.jpg (96KB) < https://matrix.org >
[18:22:25] <hazzy-m> :P
[18:22:28] <TurBoss> so tecnically the widget is working
[18:22:49] <TurBoss> I need a wheel like that :D
[18:23:11] <hazzy-m> yes, I think the widget it OK, the backplot needs some work ..
[18:23:52] <TurBoss> so I start a new branch of offset_widget
[18:24:13] <hazzy-m> sounds great!
[18:24:17] <hazzy-m> Thank you
[18:24:43] <TurBoss> hmmm
[18:25:06] <TurBoss> did some dialog from linuxcnc apeared to you when running any ini
[18:25:25] <TurBoss> the 2.8 ini updater tool
[18:25:55] <TurBoss> oh multispindle
[18:27:31] <hazzy-m> Oh, I have not updated yet, but yes, andy added some stuff to the update script
[18:27:40] <hazzy-m> I think the INI files are not version 1.1
[18:27:44] <TurBoss> yes
[18:27:50] <hazzy-m> now*
[18:28:02] <TurBoss> and includes changes to hal files
[18:28:31] * hazzy-m updates he RIP install
[18:34:59] <TurBoss> division by zero apeared again...
[18:35:13] <TurBoss> I supect from not correctly loaded dialogs...
[18:35:51] <TurBoss> http://dpaste.com
[19:02:02] <hazzy-m> oh no :(
[19:04:50] <TurBoss> so much breakage after the update?
[19:05:06] <hazzy-m> yes, a little
[19:05:20] <hazzy-m> working on updating for multispindle
[19:54:36] <Not-778c> [02QtPyVCP] 07Kurt Jacobson pushed 031 commit to 03master [+0/-0/±1] 13https://gitlab.com/Hazzy/qtpyvcp/compare/c563d8fc720c73c87110cdf4cd923bf78393906b...c4938e009d98cf9ea62e8909e2d8885181ae02df
[19:54:37] <Not-778c> [02QtPyVCP] 07Kurt Jacobson 03c4938e0 - docs: diplomacy
[19:56:49] * hazzy-m adds some more ram
[20:39:55] -!- robotustra has joined #hazzy
[20:40:04] <robotustra> evening
[20:49:13] <robotustra> finally managed to advance a little bit with glwidget... https://imgur.com
[20:58:43] -!- Roguish has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
[21:01:00] <hazzy-m> robotustra: Looks good!
[21:01:04] <hazzy-m> we used the same Q :)
[21:01:07] <hazzy-m> https://i.imgur.com
[21:04:53] <robotustra> but you didn't enable DEPTH_CHECK
[21:05:43] <robotustra> now I can start work on rs274 interpreter
[21:06:16] <robotustra> i.e start to work on parsing canonical g-code
[21:06:20] <hazzy-m> oh, I didn't know about DEPTH_CHECK, I'll look into it!
[21:07:25] <hazzy-m> is it the same as DEPTH_TEST?
[21:08:01] <robotustra> yes
[21:09:01] <hazzy-m> ty
[21:09:23] <robotustra> glEnable(GL_DEPTH_TEST);
[21:09:40] <robotustra> in paintGL()
[21:12:57] <robotustra> hazzy-m, do you use shaders to draw your stuff?
[21:14:47] <hazzy-m> I don't think so, but I only know a tiny bit about GL, I copied most of it from cmorely's backplot made changes from there
[21:15:45] <robotustra> what is cmorely's backplot?
[21:17:27] <hazzy-m> the Qt5 version of the backplot he made for QtVCP which is in this branch: https://github.com
[21:18:28] <robotustra> ah, ok
[21:18:49] <robotustra> I took mine from qt examples
[21:19:45] <hazzy-m> I think chris based his on the PyQt5 examples, since it has the same Qt logo
[21:22:00] <robotustra> can you show me the glwidget draw function?
[21:25:32] <hazzy-m> Not sure, I think some of it is done in in emcmodule.cc
[21:26:51] <hazzy-m> it seems to be spread all over the place, I don't understand how all the draw methods fit together
[21:26:57] <hazzy-m> https://github.com
[21:28:11] <robotustra> no, I mean your program which draws QT logo
[21:28:30] <hazzy-m> Oh, sorry, Sure!
[21:28:30] <hazzy-m> sek
[21:28:49] <robotustra> this code I'll not use because I already know how to get tool path
[21:28:55] <robotustra> from g-code
[21:30:04] <hazzy-m> https://gitlab.com
[21:33:28] <robotustra> ok, I got the way you are drawing
[21:34:00] <robotustra> # GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT)
[21:34:08] <robotustra> you should enable it
[21:34:34] <hazzy-m> I just did :)
[21:34:54] <robotustra> and I think add one more line like GL.glEnable(GL.GL_DEPTH_TEST)
[21:35:01] <hazzy-m> Also trying GL.glEnable(GL.GL_DEPTH_TEST), but it does not seems to make any diffrence
[21:35:19] <robotustra> show me the image
[21:36:18] * hazzy-m uploaded an image: Screenshot_2018-10-05_21-35-56.png (16KB) < https://matrix.org >
[21:38:14] <robotustra> 1 sec I'll try to disable depth test on mine gui
[21:39:25] <robotustra> yeah, it's exactly what you are getting
[21:40:00] <hazzy-m> ok, thanks for verifying. So somhow it is not being enabled
[21:42:26] <robotustra> if the logo data is correct, I think it is, then there is no depth test enabled
[21:42:56] <hazzy-m> did the example code you used have it enabled?
[21:43:08] <robotustra> yes
[21:43:21] <hazzy-m> I'll see if I can find the python version of the example you used
[21:43:33] <robotustra> void GLWidget::paintGL()
[21:43:33] <robotustra> {
[21:43:33] <robotustra> glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
[21:43:33] <robotustra> glEnable(GL_DEPTH_TEST);
[21:43:35] <robotustra> glEnable(GL_CULL_FACE);
[21:44:02] <hazzy-m> perfect, I'll try that first
[21:44:52] <robotustra> last line does no impact on Z sort of vertex
[21:45:02] <robotustra> sorting*
[21:45:37] <robotustra> depth test enables the sorting of vertexes with Z coordinate
[21:47:31] <hazzy-m> I see, so they don't overlap like they do with it disabled, I guess they are not sorted to begin with because of the order they are drawn in
[21:48:51] <robotustra> gl should do the sorting of vertex itself
[21:51:13] * hazzy-m uploaded an image: Screenshot_2018-10-05_21-50-59.png (10KB) < https://matrix.org >
[21:51:36] <hazzy-m> ah, that is what is is suposed to look like!
[21:52:35] <robotustra> yes