Results 1 to 6 of 6

Thread: Change AXIS GUI

  1. #1
    Registered
    Join Date
    Oct 2008
    Location
    Italy
    Posts
    1
    Downloads
    0
    Uploads
    0

    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
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    You have to download the cvs version and modify it.

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

    John


  3. #3
    Registered
    Join Date
    Nov 2004
    Location
    U.S.A.
    Posts
    4
    Downloads
    0
    Uploads
    0

    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
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Nov 2004
    Location
    U.S.A.
    Posts
    4
    Downloads
    0
    Uploads
    0

    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
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    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, 03:52 PM
    2. Axis Priority Change
      By star-turn in forum OneCNC
      Replies: 2
      Last Post: 09-30-2007, 05:12 AM
    3. A axis direction change?
      By nervis1 in forum Fadal
      Replies: 18
      Last Post: 10-27-2006, 11:49 AM
    4. Where to change axis directions?
      By WarrenW in forum Mach Software (ArtSoft software)
      Replies: 3
      Last Post: 02-15-2006, 06:32 PM
    5. Does controller change axis motor speed?
      By samualt in forum DIY CNC Router Table Machines
      Replies: 5
      Last Post: 10-10-2003, 05:05 PM

    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.