more one question
I want to know if is possible to edit the GUI Axis , without adding new things with glade.
where is the axis GUI?
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
what their name?
Please Log in or Create an account to join the conversation.
does not exist in my file system, may be another path?
Please Log in or Create an account to join the conversation.
If you want to edit the code to Axis, the answer to your question is simple.
/usr/bin/axis is the executable, except that because python is an interpreted language (in the main), this file is not a binary but the actual code.
Save a copy of it and edit away.
The copy I run has 4 different patches I made; to load the last file open at start up, set the font and size of the gcode display, write the name of the current loaded file to /tmp, write a time stamp report for each run of code etc.
The only problem is that each update of Linuxcnc you will have to check the axis file again and possibly re-incorporate your code if it has altered.
regards
Please Log in or Create an account to join the conversation.
The Axis GUI is a Glade project. If you have a git checkout look in /src/emc/usr_interf/axis iirc.
John
I wish it were... it uses TkInter and some weird widgets plus actions layered deeply down in Tcl. I found it very hard to grasp what's going on in Axis by reading the code.
- Michael
Please Log in or Create an account to join the conversation.
BigJohnT wrote:
The Axis GUI is a Glade project. If you have a git checkout look in /src/emc/usr_interf/axis iirc.
John
I wish it were... it uses TkInter and some weird widgets plus actions layered deeply down in Tcl. I found it very hard to grasp what's going on in Axis by reading the code.
- Michael
Ah, sometimers creeping in I think... I was thinking of touchy I think or gui6 or gscreen or... who knows
In any case if you do a git checkout of LinuxCNC the python part of Axis will be found in /src/emc/usr_intf/axis and I have no idea where the TkInter part hides.
John
Please Log in or Create an account to join the conversation.
/src/emc/usr_interf/axis iirc.
does not exist in my file system, may be another path?
You will have to do a git checkout of the files to find it in your home directory. See my above post for the link.
John
Please Log in or Create an account to join the conversation.
The files still exist (and can be freely edited) in a normal LiveCD installation.meduag wrote:
You will have to do a git checkout of the files to find it in your home directory. See my above post for the link./src/emc/usr_interf/axis iirc.
does not exist in my file system, may be another path?
The axis Python code is in /usr/bin/axis. I can't recall where the corresponding tcl file is, but it's somewhere around there, possibly usr/share.
Please Log in or Create an account to join the conversation.