NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me

TOPIC: GUI's

GUI's 27 Jul 2010 05:53 #3496

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4964
  • Thank you received: 88
  • Karma: 134
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
The administrator has disabled public write access.

Re:GUI's 28 Jul 2010 18:46 #3514

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1495
  • Thank you received: 40
  • Karma: 89
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.
The administrator has disabled public write access.

Re:GUI's 29 Jul 2010 08:21 #3517

  • step4linux
  • step4linux's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Karma: 5
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
The administrator has disabled public write access.

Re:GUI's 29 Jul 2010 15:35 #3520

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4964
  • Thank you received: 88
  • Karma: 134
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
The administrator has disabled public write access.

Re:GUI's 30 Jul 2010 07:07 #3525

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4964
  • Thank you received: 88
  • Karma: 134
Looks like keystick.cc might be a good place to start the search for how the connections are made to EMC.

John
The administrator has disabled public write access.

Re:GUI's 01 Aug 2010 10:01 #3547

  • step4linux
  • step4linux's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Karma: 5
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
The administrator has disabled public write access.
Time to create page: 1.057 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.