New GUI for Emc available for testing...

More
02 Jun 2010 19:40 #3064 by gtom
So, spent some time in France working on the new "Mocca" Gui.
The new version was released yesterday. At the moment i am working on the documentation.

So far the following things work:

1.) mocca can be fully "designed", you can change the Buttons,Colors etc.
2.) mocca has now its own controls:
MocButton (A Button with a "Command" for EMC)
MocSlider (A kind of Scrollbar but colored)
MocLister (A Listbox for NC-Code)
MocLed (a Simple LED-Control to show the machine status)
3.) mocca can use a "background" image behind the controls
4.) mocca can show a Preview & Live-Plot of the NC-Code
5.) preview can be "designed" also (Colors, Background etc)
6.) mocca can run NC- Scripts
7.) mocca can Edit your Tool-File, Tools can be selected from a List
8.) all "Command" buttons can be moved, sized, show Bitmaps, Text can be changed etc...
9.) rotate,zoom,pan of preview
10.) there are up to 10 OEM-Controls available for the User (Labels, Buttons)

A Binary version will be available end of this week...

regards, Thomas

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

More
02 Jun 2010 23:51 #3065 by ewlsey
Tom,

Great work!

My first thought: can I set up the buttons to correspond to the function keys on a keyboard (there are 12 and I don't need em for much)?

Is this thing still only in German?

-Wes

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

More
03 Jun 2010 06:57 #3066 by gtom
Yes, you can setup the Buttons as you want,
you can change the Text, add a bitmap etc...

Well, Mocca uses "Layout" Files (i.E. mainform.xml)

In this file you can set your Labels,Buttons,Forms captions like you want, so changing a Dialogs- Caption
from German to English or whatever is easy, Just change the settings in the config or layoutfile.

I.e. the Tool-Edit Dialog loads the Columns from the config-file, If you change the Item "Beschreibung" to "Description" the Dialog will show the word "Description" in the Grid for the tools...

Some people in Germany are now starting to write some "lLayouts" for mocca, they will come as a packed file, just unpack the desired layout, edit your emc- inifile, add

[MOCCA]
config=/home/your_name/your_path_to_config

and mcca will start with the design and config in this directory...

regards, Thomas

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

More
05 Jun 2010 18:05 #3075 by jlmjvm
Hello Tom,I am interested in your gui,but I am also very interested in your stepper,encoder,homing to index config.

Thanks,joe

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

More
27 Jun 2010 15:57 #3211 by robh
Hi Thomas
i was trying out your GUI, very nice work

i noticed mocca looks for CONFIG in ini, and does not read config, seems case sensitive, took awhile to work out why it was not seeing reading the config line.

problem i do have is,
when i go to MDI i get the following pop up

Mocca
Access Violation
Press ok to ignore and risk data corruption
press cancel to kill the program

any ideas what will cause this?

thanks ,robert

PS: i got this running on Ubuntu 10.04 with EMC 2.4.1
was a missing package, just install it with
"sudo apt-get install libgtkglext1"

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

More
30 Jun 2010 10:35 #3251 by gtom
There was something wrong in the english versions of mocca, this was fixed in the latest binary.
We have now the english config and layout files available. So please take a look at the project homepage at googlecode. mocca.pdf is the documentation in english, still missing a lot but at least some documentation :-)

The gtk2 OpenGl problems are gone... mocca now works on any linux with a installed Gtk2.
Pleas do NOT use mocca for lathes, it was not tested on real lathes, just on milling machines.

regards, Thomas

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

More
30 Jun 2010 20:45 #3255 by robh
hi thom
for for updating moca, and also a English translation, i see there are still some areas to be translated, like on tool edit window etc.

also when i go to MDI window, i still get the error as above,

running from command line gives me this print out
hope this helps, robert

$ emc
EMC2 - 2.4.1
Machine configuration directory is '/home/superslant2/emc2/configs/sim'
Machine configuration file is 'axis_mm.ini'
Starting EMC2...
Mocca starts with correct version EMC2-2.4.1
Library loaded from: /usr/lib/
mocca reads from :/home/superslant2/emc2/configs/sim/
Default NML- File: /usr/share/emc/emc.nml
Setup is metric
Config directory = "/home/superslant2/skins/default_en/"
"index" in tool config is out of range
Added Script: test ,File: test.nc
Hal component "mocca" loaded.
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
Reading layout from /home/superslant2/skins/default_en/mocca.xml
Reading layout from /home/superslant2/skins/default_en/jog.xml
No Jog-Increments set in config-file
Using default configuration
Reading layout from /home/superslant2/skins/default_en/mdi.xml
Reading layout from /home/superslant2/skins/default_en/run.xml
Canon Offsets: 0.00 0.00 0.00
TApplication.HandleException Access violation
Stack trace:
$0114906E
$081C543C
$08115B5B
$08114DCA
$080EE34C
$080EDF45
$080EEF1A
$080EE415
$0805D011
$08062292
$08063369
$080EDF45
$080E925A
$0806288D
$080EC9FD
$080EFDBB
$081D9EDA
Shutting down and cleaning up EMC2...
Cleanup done
superslant2@superslant2-2:~$

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

More
09 Jul 2010 02:48 #3306 by gtom
The Exception was caused by an error in the Gtk2 Widgetset, This was fixed in the latest source.
Wrote yesterday the 3D Preview for mocca, so a Full 3D preview of the milled part is available now.
Source and binary will be updated end of this week,

regards, Thomas
Attachments:

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

More
20 Jul 2010 10:30 #3425 by ynneb
I have been hoping for this sort of thing for years. I have designed a few screens for Mach3 with ease, but didnt now how to do them in EMC.
I have another friend who makes a living designing mach3 sreens. He wouls also be very interested in this too.
Lets see how it goes with installing Mocca.
Can the buttons be made transparent so as to show the BMP underneath?

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

More
25 Jul 2010 03:25 - 25 Jul 2010 04:06 #3481 by ynneb
Attachments:
Last edit: 25 Jul 2010 04:06 by ynneb. Reason: I tried to reupload an image but it woldnt allow me to. New image on next post

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

Time to create page: 0.304 seconds
Powered by Kunena Forum