CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-05-2010, 10:31 PM
 
Join Date: Apr 2009
Location: usa
Posts: 78
jbcj is on a distinguished road
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
Reply With Quote

  #2   Ban this user!
Old 05-06-2010, 06:13 AM
 
Join Date: Aug 2008
Location: UK
Posts: 74
serriadh is on a distinguished road

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?
Reply With Quote

  #3   Ban this user!
Old 05-10-2010, 10:40 PM
 
Join Date: Apr 2006
Location: USA
Posts: 58
UWP_Wes is on a distinguished road

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!
Reply With Quote

  #4   Ban this user!
Old 05-11-2010, 02:26 AM
 
Join Date: Aug 2008
Location: UK
Posts: 74
serriadh is on a distinguished road

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.

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 ;-)
Reply With Quote

  #5   Ban this user!
Old 05-12-2010, 01:39 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

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.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-12-2010, 08:11 PM
 
Join Date: Apr 2006
Location: USA
Posts: 58
UWP_Wes is on a distinguished road

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.
Reply With Quote

  #7   Ban this user!
Old 05-12-2010, 08:55 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

as unterhaus has said.. Have you looked at touchy?

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

sam
Reply With Quote

  #8   Ban this user!
Old 05-12-2010, 10:22 PM
 
Join Date: Apr 2009
Location: usa
Posts: 78
jbcj is on a distinguished road

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
Reply With Quote

  #9   Ban this user!
Old 05-13-2010, 01:22 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

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.
Reply With Quote

  #10   Ban this user!
Old 05-16-2010, 11:01 PM
 
Join Date: Nov 2008
Location: Canada
Posts: 162
2_many_hobbies is on a distinguished road

Does anybody have some screenshots? I don't run EMC but am interested in what it looks like.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-20-2010, 08:52 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

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
Reply With Quote

  #12   Ban this user!
Old 06-04-2010, 06:02 PM
 
Join Date: Jun 2010
Location: germany
Posts: 3
gtom is on a distinguished road

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
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- status bar mx3 fenix728 Mastercam 6 03-25-2009 09:06 PM
Rutex status?? bcromwell Servo Drives 6 04-08-2008 02:29 PM
status bar miltonmorales Mastercam 8 02-04-2008 03:56 PM
What is the status of the new 3016FX? ltmquik Fadal 0 04-10-2007 12:08 PM
Current Status jabuffi OpenSource Software 20 11-02-2006 02:08 AM




All times are GMT -5. The time now is 04:55 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361