GUI Discussion
04 Jan 2012 19:16 #16311
by BigJohnT
Replied by BigJohnT on topic Re:GUI Discussion
Looks like mhaberler got it to work (was lacking a bit of code) I've tested it briefly but need to set up a mill sim with spindle feedback for further testing. BTW Andy did you notice the warning in resolver.c? Read back on the developer irc for a possible fix jepler posted.
John
John
Please Log in or Create an account to join the conversation.
05 Jan 2012 09:13 #16322
by cmorley
Replied by cmorley on topic Re:GUI Discussion
Ok as promised:
Here is a testing version of Gscreen.
It is _absolutely_ for just checking out the concepts.
Please do not try to run a real machine with this!
it has minimal functionality anyways.
- allhome, unhome
- zero or set, selected axis(s) ( or spindle) of the current system
- spinbox for setting input
- Estop/machine on, combined on a single button
- toggle coolants
- change theme
- toggle the second screen on or off
- display graphics of current loaded program
- display status of the spindle speed, coolants and coordinate system.
- double click the graphics will hide a status screen making the graphics bigger
- display a single line of error message
- Toggle the ABS,REL,DTG display so one is larger
- lotsa buttons that don't do anything:)
As it uses gladeVCP widgets it may not work with 8.04 (I haven't tested it I'm using 10.04)
If you don't have the the blue-joy theme it will look quite different - maybe better? wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GTK_Themes
Currently Gscreen must be run in tandem with another screen.
I suggest running AXIS in simulation. This allows you do test things that Gscreen won't do right now such as load programs or jog.
remember to start a SIMULATED EMC screen (eg. AXIS ) first then
unzip Gscreen somewhere, open a terminal to it, then type: python gscreen.py
play with the screen - double click buttons etc the terminal may give clues to whats happening in the background.
remember we are a conceptual - experimental at this stage
Comments welcome !
Chris M
Here is a testing version of Gscreen.
It is _absolutely_ for just checking out the concepts.
Please do not try to run a real machine with this!
it has minimal functionality anyways.
- allhome, unhome
- zero or set, selected axis(s) ( or spindle) of the current system
- spinbox for setting input
- Estop/machine on, combined on a single button
- toggle coolants
- change theme
- toggle the second screen on or off
- display graphics of current loaded program
- display status of the spindle speed, coolants and coordinate system.
- double click the graphics will hide a status screen making the graphics bigger
- display a single line of error message
- Toggle the ABS,REL,DTG display so one is larger
- lotsa buttons that don't do anything:)
As it uses gladeVCP widgets it may not work with 8.04 (I haven't tested it I'm using 10.04)
If you don't have the the blue-joy theme it will look quite different - maybe better? wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GTK_Themes
Currently Gscreen must be run in tandem with another screen.
I suggest running AXIS in simulation. This allows you do test things that Gscreen won't do right now such as load programs or jog.
remember to start a SIMULATED EMC screen (eg. AXIS ) first then
unzip Gscreen somewhere, open a terminal to it, then type: python gscreen.py
play with the screen - double click buttons etc the terminal may give clues to whats happening in the background.
remember we are a conceptual - experimental at this stage
Comments welcome !
Chris M
Please Log in or Create an account to join the conversation.
05 Jan 2012 09:28 #16324
by cncbasher
Replied by cncbasher on topic Re:GUI Discussion
ok Chris will give it a go
Please Log in or Create an account to join the conversation.
05 Jan 2012 10:15 #16327
by Rick G
Replied by Rick G on topic Re:GUI Discussion
Hello Chris,
Looks like I'll need to do some downloading to try..
File "gscreen.py", line 27, in <module>
from gladevcp.gladebuilder import GladeBuilder
ImportError: No module named gladevcp.gladebuilder
Rick G
Looks like I'll need to do some downloading to try..
File "gscreen.py", line 27, in <module>
from gladevcp.gladebuilder import GladeBuilder
ImportError: No module named gladevcp.gladebuilder
Rick G
Please Log in or Create an account to join the conversation.
05 Jan 2012 11:13 #16328
by cncbasher
Replied by cncbasher on topic Re:GUI Discussion
looking good Chris , just as i imagined , simple and uncluttered .
i'll certianly be changing to it in due course.
no problems encountered running it either
i'll certianly be changing to it in due course.
no problems encountered running it either
Please Log in or Create an account to join the conversation.
05 Jan 2012 11:14 #16329
by cncbasher
Replied by cncbasher on topic Re:GUI Discussion
have you got Glade installed Rick ?
Please Log in or Create an account to join the conversation.
05 Jan 2012 12:12 #16335
by andypugh
Replied by andypugh on topic Re:GUI Discussion
cncbasher wrote:
I can see a reasonable argument for a completely GladeVCP-based GUI to be part of the standard distribution.
Then users can have a totally customisable interface using only the Glade editor (Like Mach3 offers, but also with the Linux-like ability to completely screw things up).
So, thinking that way, what is missing? I think the main thing is probably a pre-defined action-button for loading a file?
looking good Chris , just as i imagined , simple and uncluttered .
i'll certianly be changing to it in due course.
I can see a reasonable argument for a completely GladeVCP-based GUI to be part of the standard distribution.
Then users can have a totally customisable interface using only the Glade editor (Like Mach3 offers, but also with the Linux-like ability to completely screw things up).
So, thinking that way, what is missing? I think the main thing is probably a pre-defined action-button for loading a file?
Please Log in or Create an account to join the conversation.
05 Jan 2012 12:18 #16337
by BigJohnT
Replied by BigJohnT on topic Re:GUI Discussion
Hi Chris,
When I tried to run the screen I get this error
Am I missing something?
John
When I tried to run the screen I get this error
john@zotac:~/emc2/chris/gscreen_test1$ python gscreen.py
Traceback (most recent call last):
File "gscreen.py", line 27, in <module>
from gladevcp.gladebuilder import GladeBuilder
ImportError: No module named gladevcp.gladebuilder
john@zotac:~/emc2/chris/gscreen_test1$
Am I missing something?
John
Please Log in or Create an account to join the conversation.
06 Jan 2012 01:18 - 06 Jan 2012 01:20 #16368
by cmorley
Replied by cmorley on topic Re:GUI Discussion
John Rick - missing dependencies?
I see a list here:
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GladeVcp
and here: (they may be the same)
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Ins...ackages_for_gladevcp
Andy there is a file loading widget but i have not figured out how to use it nor how to use the MDI widget...
Chris M
I see a list here:
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GladeVcp
and here: (they may be the same)
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Ins...ackages_for_gladevcp
Andy there is a file loading widget but i have not figured out how to use it nor how to use the MDI widget...
Chris M
Last edit: 06 Jan 2012 01:20 by cmorley.
Please Log in or Create an account to join the conversation.
06 Jan 2012 12:01 #16376
by Rick G
Replied by Rick G on topic Re:GUI Discussion
Hello Chris,
I had tried that but still had error, will have to go back and see.
Although I have Glade installed I never used it before so I will look into that.
Rick G
I had tried that but still had error, will have to go back and see.
Although I have Glade installed I never used it before so I will look into that.
Rick G
Please Log in or Create an account to join the conversation.
Time to create page: 0.248 seconds