You have to download the cvs version and modify it.
http://wiki.linuxcnc.org/cgi-bin/emc...ource_with_CVS
John
Hello,
I will change the Axis GUI from EMC2.
I want to enlarge the button, to insert other button and so on...
I know that i can add a PyVCP control panel on the right, but i want
to change the left side too.
Can I modify some files or I have to download the uncompiled version and
to modify it?
Thank you.
You have to download the cvs version and modify it.
http://wiki.linuxcnc.org/cgi-bin/emc...ource_with_CVS
John
I have successfully made changes to /usr/bin/axis without having to compile the entire emc2 project. It may depend on how fundamental you want your changes to be.
Dang, I wait several days to answer and within a couple of hours someone that actually knows the answer chimes in...
Carl,
What did you modify? and what file did you modify?
John
First off, I can't claim to be an emc2 savant. So take what I say with a grain of salt. There is likely a better way.
I changed the behavior of the "Home All" button so it would go inactive after homing. More than once I accidentally hit the "Home All" button instead of "Touch Off". I still have the option of using the keyboard to initiate homing after the "Home All" button goes inactive. I changed the keyboard command from just the home key to alt-home: also to make it less likely that I accidentally initiate a homing sequence. You should by now have figured out that it is wise to keep your distance when I fire up a cnc machine.
Modifications were made to /usr/bin/axis , which is a python script. Root privileges are required. Now, I am not an experienced python programmer. What I did was search through the script until I found the lines I wanted to modify. I looked at lines that defined other buttons or keys that had the behavior that I wanted. Then I modified the lines that defined buttons or keys where changes were to be made.
I lost my changes when emc2 updated. By saving a back-up copy of the modified axis script I could cut and paste my changes into the new axis script. Of course I didn't save that back-up copy so I had to go in and make the changes by hand again.
Like I wrote above, there is probably a better way.
If you have the time can you post the relative lines? Sounds like a good fix to me...
John