I’m working on a couple of projects.
I’m trying to improve GWiz. I started trying to tweak the UI – but the wxPython screens wasted so much of my time I gave up and just re-wrote it in Qt. I want to add a GCode preview so I can see what the wizards are doing (I use GWiz for my cnc-lathe – I have collection of wizards that I use to build up a simple lathe program). My other project is a QT UI. Originally I started with my own XML format mixed with Qt’s jscript. I made some progress with this, but got distracted on other projects. This was using 4.7. I read that the scripting I was using was going to be discontinued, so, as you suggested, I started version 2 using Qt 2 and QML. I’ve only done a small amount of work, but QML, although flexible, seems a bit slow. When I get the preview working in my GWiz port, I’ll then add it to the Qt UI. The main reason I started writing a new UI was to work with my small LCD screens on my pendant. I also found out that Qt GUI apps don’t need X11 to work. They can use the frame buffer directly – which is what my USB LCD uses. It should also work with RPi and BBB. I was aware of your changes the NML infrastructure, and I’ve always had them in the back of my mind as to how they would affect my code. Frank From: Michael Haberler [mailto:[email protected]] Sent: Wednesday, 26 March 2014 9:33 PM To: Frank Tkalcevic Subject: Re: [Emc-developers] GCode preview in C++ (Qt) Hi Frank, indirectly related: you probably know that I've been working on replacing the NML infrastructure with a zeroMQ/protobuf layer; the mapping of the HAL layer being pretty complete and we're now turning to queued command execution (motion, task, interp etc) as a first application of the HAL messaging API is done but not public yet; I still have to spin out a branch with cleaned history and some readme for prerequisites you can see it here: https://github.com/strahlex/QtQuickVcp this video shows this app on android, running in parallel (synched) with gladevcp http://youtu.be/1z9Cw_1hqRg eventually preview and progress display should be integrated as well I think qt5/qml is the most promising route; what will you be using? - Michael Am 25.03.2014 um 05:00 schrieb "Frank Tkalcevic" <[email protected]>: I want to add a linuxcnc gcode preview to my C++ Qt application. So the first question is, has anyone already done this, so I can reuse the code? Failing that, I've been looking at implementing it myself. I can see some examples such as, gcodemodule.cc and saicanon.cc, which seem to just implement a whole series of global functions like ARC_FEED and STRAIGHT_FEED. Does that sound correct? If so, my issue seems to be that the class that they rely on, class Interp, is private to linuxcnc. I like to keep my code separate from the linuxcnc git blob - I still don't know how best to manage my changes and the rest of the world's changes. Any suggestions on how I can proceede? I was thinking of writing a public (to linuxcnc) pure virtual class that wraps the global functions so I would then create a derived class from that. Thanks, Frank ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
