Page 1 of 2 12 LastLast
Results 1 to 12 of 14

Thread: What is the status of the Mocca GUI

  1. #1
    Registered
    Join Date
    Apr 2009
    Location
    usa
    Posts
    83
    Downloads
    0
    Uploads
    0

    What is the status of the Mocca GUI

    I was looking at the linuxcnc forum the other day and I saw a New GUI on a thread. Anybody know anything about this? Is the project alive or dead? Is anybody using it?

    Jim


  2. #2
    Registered
    Join Date
    Aug 2008
    Location
    UK
    Posts
    74
    Downloads
    0
    Uploads
    0
    Surely the best place to ask would be on the EMC forum? ;-)

    The project's homepage is at http://code.google.com/p/moccagui/

    A quick search shows, on the plus side:
    • There are 4 contributors, so its not just a one man band.
    • There have been recent commits to the project this year, so it seems to be alive and ongoing.


    and on the minus side:
    • It seems pretty new. That's not such a bad thing, but there's no way to tell it isn't just a brief bit of enthusiasm from a few people that will dry up in a month or two.
    • It's written in a crazy moon language. I mean seriously, Pascal? No-one uses that any more. I suspect this will limit its longevity and popularity, as people are more likely to contribute to a project that is written in a common language like C++ or Java or Python or whatever.
    • It isn't clear what its purpose is. What is the deficiency in the current selection of UIs that mocca fills, and why couldn't it have been done by improving an existing project?


  3. #3
    Registered
    Join Date
    Apr 2006
    Location
    USA
    Posts
    72
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by serriadh View Post
    It isn't clear what its purpose is. What is the deficiency in the current selection of UIs that mocca fills, and why couldn't it have been done by improving an existing project?

    I don't think it matters that they used free pascal. GTK is used to make the GUI, which I think was used to make the "axis" and "touchy" interface.

    The deficiency they are trying to correct is the current reliance on using a mouse to control a CNC machine. Mocca is trying to make EMC look and feel like a true industrial control (looks like a Siemens or Acromatic control). They are also adding a true tool table editor, which is much better than a random text file IMO.

    Axis is a fine GUI, but it does not lend itself to use in an industrial setting. Mocca can use a touch screen or have soft keys.

    I am quite excited about it!


  4. #4
    Registered
    Join Date
    Aug 2008
    Location
    UK
    Posts
    74
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by UWP_Wes View Post
    I don't think it matters that they used free pascal. GTK is used to make the GUI, which I think was used to make the "axis" and "touchy" interface.
    Sure, there's nothing intrinsically wrong with pascal, in the same way that there's nothing intrinsically wrong with writing the code in, say, lisp or cobol. But the long term success of any open source project generally lies in its developers and maintainers, and by choosing not to use languages which are very well known and supported (like C++ or Python) they've cut their pool waaaay down.

    Its not a death-knell for the project by any stretch of the imagination, just a poor choice.

    Quote Originally Posted by UWP_Wes View Post
    The deficiency they are trying to correct is the current reliance on using a mouse to control a CNC machine. Mocca is trying to make EMC look and feel like a true industrial control (looks like a Siemens or Acromatic control). They are also adding a true tool table editor, which is much better than a random text file IMO.
    Ahh, right. That sounds like a much more useful goal, and certainly one well worth pursuing. I wish em the best of luck, but I'm cynical enough to wait until the first maintenance release comes out after the first main release before I'll get excited ;-)


  • #5
    Registered
    Join Date
    Jun 2003
    Location
    Boalsburg PA
    Posts
    851
    Downloads
    0
    Uploads
    0
    I suspect this is an evolutionary dead end for the programming reasons stated. Axis is extensible and easily modified. Not sure why you need a mouse, but it seems to me that if you want to get away from a mouse you can. Seems to me that the Centroid has a mouse replacement and definitely has a keyboard. The touch screen interface "touchy" seems to be pretty interesting. No keyboard or mouse needed, but you do need a touch screen.


  • #6
    Registered
    Join Date
    Apr 2006
    Location
    USA
    Posts
    72
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by unterhaus View Post
    I suspect this is an evolutionary dead end for the programming reasons stated. Axis is extensible and easily modified. Not sure why you need a mouse, but it seems to me that if you want to get away from a mouse you can. Seems to me that the Centroid has a mouse replacement and definitely has a keyboard. The touch screen interface "touchy" seems to be pretty interesting. No keyboard or mouse needed, but you do need a touch screen.
    I don't think that "mocca" is trying to eliminate a keyboard.

    Yes, you can use Axis without a mouse, but it is not very handy. The list of keyboard commands you need to remember is pretty extensive and there is no on screen prompt. It's worse than the old command prompt commands on a Fadal 88 controls.

    Mocca looks more like a menu based system like the Centroid you mentioned. If you read the description you will see that there are some empty buttons that can be assigned by the user. I think it can be just as extensible as Axis.


  • #7
    Registered
    Join Date
    Jul 2003
    Location
    Holmen, WI
    Posts
    1,193
    Downloads
    0
    Uploads
    0
    as unterhaus has said.. Have you looked at touchy?

    http://www.linuxcnc.org/docs/2.4/html/gui_touchy.html

    sam


  • #8
    Registered
    Join Date
    Apr 2009
    Location
    usa
    Posts
    83
    Downloads
    0
    Uploads
    0
    The Touchy interface has it's own set of issues.

    The buttons are not modal. If halui changes someting like estop, Axis (X,Y,Z), The interface does not reflect the change. You cannot tell what is going on by looking at the screen.

    I like the graphic part of axis. it is great with its display of your milling envelope and your part. It would not have to track the part as Axis does. It just needs to give you the relationship of your part to the milling envelope.

    With some work and my own custom keyboard and a touchscreen monitor I find Axis to be more usable then my experiance with Touchy. The only thing I need a mouse for is the right click button.

    I will come up with a graceful solution for the right click until Axis makes changes with larger buttons for use with a touchscreen or Touhcy grows up and adds feedback on the butons and a graphics screen.

    Just my opinion of what is availabe at this time.

    Jim


  • #9
    Registered
    Join Date
    Jun 2003
    Location
    Boalsburg PA
    Posts
    851
    Downloads
    0
    Uploads
    0
    it's a lot harder for a general purpose PC based machine to be all things to everyone than a specific machine controller with a custom keyboard. It still seems like a lot of custom keyboards have extra labels and handwritten notes on them for specific functions. I'm sure most production EMC machines have cheat sheets taped to them.

    It would be nice if it was easier to load a custom layout like Mach has, but I don't see anyone working on that now.


  • #10
    Registered
    Join Date
    Nov 2008
    Location
    Canada
    Posts
    174
    Downloads
    0
    Uploads
    0
    Does anybody have some screenshots? I don't run EMC but am interested in what it looks like.


  • #11
    Registered
    Join Date
    Jun 2003
    Location
    Boalsburg PA
    Posts
    851
    Downloads
    0
    Uploads
    0
    the gui is replaceable, so EMC looks like different things to different people. But here are some screenshots with Axis, tkemc, and touchy among others


  • #12
    Registered
    Join Date
    Jun 2010
    Location
    germany
    Posts
    3
    Downloads
    0
    Uploads
    0
    Hello, im Thomas from Germany, the one who is writing the code for mocca...

    To give some answers:

    Mocca is still developed, some things have to be done like a interface for the configuration program, preview & opengl-Stuff for lathes etc...

    Why another Gui and why in freepascal/lazarus ???

    Well, after some time with Axis,TkEmc on my private milling machine if felt quite uncomfortable with those Guis compared to professional Cnc Controls.

    Axis is very stable and working but it does not look "professional" and the Gui itself is not flexible enough (my opinion!)
    TkEmc looks better but the preview is missing, also in Touchy...

    Things that mocca can do:

    Mocca has a OpenGl preview with zoom,pan,rotate.
    Colors,Background etc can be set by the user.

    Mocca has a fully configurable/designable layout.
    Want it with a red font, background image? No problem. just edit your layout.xml. Dont want the button "xy" on the screen? just set its "visible" property in the layout file to false...

    Mocca can run scripts of nc-code (up to 10 scripts can be defined in the config.xml- file)

    The mocca mainwindow can be "fullscreen" i mean really fullscreen without a border and overlapping the menus of ubuntu.

    Mocca can load a user defined background image (like mach3)

    All Buttons can show bitmaps/icons, they can be modified by the user layout file.


    Somebody wrote that Freepascal/Lazarus is not "UpToDate" compared to python or c++ !?

    If we talk about a "small" program c++/python etc may be better than fpc/lazarus. But if a project grows the python code gets nearly "unreadable".

    for example the ToolEdit Dialog in Mocca (where you can edit the Toolfile):
    In Freepascal/Lazarus it is a matter of minutes to create and design the dialog itself, the complete Editor for the Toolfile is only 50 Lines of "written" Code, rest is generated by Lazarus. The compiled code is nearly 100% the same as "C" Code...

    I wrote a professional business program about 10 Years ago with Delphi.
    We talk about ~100 Dialogs and ~160 database tables, this software still compiles with freepascal/lazarus and newest Delphi versions. Even compiling the code with linux is no problem (small changes)

    Think that in the Windows Os about 90% of the software is written in those RAD languages (Delphi/VB/VisualC++ etc)

    one BIG advantage of those languages:

    The user does not have to know about the code of the "components".
    I.e. i wrote a component for emc. Even a programer who knows nothing about the emc "c" code would be able to write a program with this component.

    Another advantage of freepascal: freepascal can directly link and be linked to "C" Code, you do NOT need to write code to access "C". Just the "C++" object code needs to be called trough "C" functions...

    regards, Thomas


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Need Help!- status bar mx3
      By fenix728 in forum Mastercam
      Replies: 6
      Last Post: 03-25-2009, 10:06 PM
    2. Rutex status??
      By bcromwell in forum Servo Drives
      Replies: 6
      Last Post: 04-08-2008, 03:29 PM
    3. status bar
      By miltonmorales in forum Mastercam
      Replies: 8
      Last Post: 02-04-2008, 04:56 PM
    4. What is the status of the new 3016FX?
      By ltmquik in forum Fadal
      Replies: 0
      Last Post: 04-10-2007, 01:08 PM
    5. Current Status
      By jabuffi in forum OpenSource Software
      Replies: 20
      Last Post: 11-02-2006, 03:08 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.