GUI's

More
27 Jul 2010 12:53 #3496 by BigJohnT
GUI's was created by BigJohnT
What would be a good language to write a new GUI for EMC?

What are the basic steps to "connect" your GUI to EMC?

Thanks
John

Please Log in or Create an account to join the conversation.

More
29 Jul 2010 01:46 #3514 by cmorley
Replied by cmorley on topic Re:GUI's
C
C++
python

It needs to be a main stream language so a bigger base of people can maintain it.
For instance Mocca is pretty damn cool but if the originators stop maintaining it
how many people know pascal (I think it's pascal) well enough to update it?

Boy wouldn't a small manual dedicated to GUI developers be Handy.
probably see a few more GUI come along.

Please Log in or Create an account to join the conversation.

More
29 Jul 2010 15:21 #3517 by step4linux
Replied by step4linux on topic Re:GUI's
I would not focus that much on language.
From my point of view there are (at least) two other more important points:

- good documentation of the interface to EMC
- modular design with reusable elements

GUIs are often a matter of taste, and depending on the machine.
Which buttons are useful, which icons do you like, etc
But there are also common elements like 3D preview, g-code properties etc
Instead of starting the 17th GUI, maybe someone starts creating a toolchest, from which it could be more or less easy to design your own GUI.

regards, Gerd

Please Log in or Create an account to join the conversation.

More
29 Jul 2010 22:35 #3520 by BigJohnT
Replied by BigJohnT on topic Re:GUI's

Boy wouldn't a small manual dedicated to GUI developers be Handy.
probably see a few more GUI come along.

- good documentation of the interface to EMC


I think these two are the same and a possible good place to start.

I know very little about how the interface communicates with the core EMC except something about NML messages are passed back and forth in userspace or something like that. I looked at the simple interfaces but they are in tcl and that is not easy to read. A small road map would be a big help in something like this.

John

Please Log in or Create an account to join the conversation.

More
30 Jul 2010 14:07 #3525 by BigJohnT
Replied by BigJohnT on topic Re:GUI's
Looks like keystick.cc might be a good place to start the search for how the connections are made to EMC.

John

Please Log in or Create an account to join the conversation.

More
01 Aug 2010 17:01 #3547 by step4linux
Replied by step4linux on topic Re:GUI's
A GUI for EMC2 is by its nature a graphical human machine interface.
For this reason, it must be considered both the programming language plus a graphical designtool.
Unfortunately axis is written without a graphical tool as pure python text (AFAIK).
Other EMC related programs like stepconf, pncconf are created using glade + python.
This seems to be a nice combination.
Of course the Qt-Designer is also nice, but why introduce new libraries and widgets.
So natural choices could be really glade+python or glade+C++

Gerd

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum