![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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. |
|
#2
| |||
| |||
| You have to download the cvs version and modify it. http://wiki.linuxcnc.org/cgi-bin/emc...ource_with_CVS John |
|
#5
| |||
| |||
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. |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change post processor of NX4 (3 axis) | raphapalomares | Post Processors | 3 | 01-29-2009 02:52 PM |
| Axis Priority Change | star-turn | OneCNC | 2 | 09-30-2007 04:12 AM |
| A axis direction change? | nervis1 | Fadal | 18 | 10-27-2006 10:49 AM |
| Where to change axis directions? | WarrenW | Mach Software (ArtSoft software) | 3 | 02-15-2006 05:32 PM |
| Does controller change axis motor speed? | samualt | DIY-CNC Router Table Machines | 5 | 10-10-2003 04:05 PM |