588,201 active members*
4,692 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2008
    Posts
    1

    Change AXIS GUI

    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. #2
    Join Date
    Feb 2007
    Posts
    514
    You have to download the cvs version and modify it.

    http://wiki.linuxcnc.org/cgi-bin/emc...ource_with_CVS

    John

  3. #3
    Join Date
    Nov 2004
    Posts
    4

    Modify Axis GUI

    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.

  4. #4
    Join Date
    Feb 2007
    Posts
    514
    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

  5. #5
    Join Date
    Nov 2004
    Posts
    4

    Change Axis GUI

    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.

  6. #6
    Join Date
    Feb 2007
    Posts
    514
    If you have the time can you post the relative lines? Sounds like a good fix to me...

    John

Similar Threads

  1. Change post processor of NX4 (3 axis)
    By raphapalomares in forum Post Processors
    Replies: 3
    Last Post: 01-29-2009, 09:52 PM
  2. Axis Priority Change
    By star-turn in forum OneCNC
    Replies: 2
    Last Post: 09-30-2007, 10:12 AM
  3. A axis direction change?
    By nervis1 in forum Fadal
    Replies: 18
    Last Post: 10-27-2006, 04:49 PM
  4. Where to change axis directions?
    By WarrenW in forum Mach Software (ArtSoft software)
    Replies: 3
    Last Post: 02-16-2006, 12:32 AM
  5. Does controller change axis motor speed?
    By samualt in forum DIY CNC Router Table Machines
    Replies: 5
    Last Post: 10-10-2003, 10:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •