more one question

More
21 Sep 2012 19:14 #24532 by meduag
more one question was created by meduag
Hi BJ

I want to know if is possible to edit the GUI Axis :huh: , without adding new things with glade. :woohoo:

where is the axis GUI? :dry:

Please Log in or Create an account to join the conversation.

More
21 Sep 2012 19:57 - 22 Sep 2012 11:57 #24535 by BigJohnT
Replied by BigJohnT on topic Re:more one question
The Axis GUI is a TkInter project. If you have a git checkout look in /src/emc/usr_interf/axis for the python part of Axis iirc.

John
Last edit: 22 Sep 2012 11:57 by BigJohnT. Reason: dumb mistake

Please Log in or Create an account to join the conversation.

More
21 Sep 2012 20:04 #24536 by meduag
Replied by meduag on topic Re:more one question
the GUI Axis, has an associeted file Pythom? :huh:

what their name?

Please Log in or Create an account to join the conversation.

More
21 Sep 2012 20:14 #24538 by meduag
Replied by meduag on topic Re:more one question
/src/emc/usr_interf/axis iirc.
does not exist in my file system, may be another path?

Please Log in or Create an account to join the conversation.

More
22 Sep 2012 05:11 #24543 by ArcEye
Replied by ArcEye on topic Re:more one question
Hi

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.

More
22 Sep 2012 06:33 #24544 by mhaberler
Replied by mhaberler on topic Re:more one question
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

Please Log in or Create an account to join the conversation.

More
22 Sep 2012 11:46 - 22 Sep 2012 11:50 #24551 by BigJohnT
Replied by BigJohnT on topic Re:more one question
mhaberler wrote:

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
Last edit: 22 Sep 2012 11:50 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
22 Sep 2012 12:01 #24552 by BigJohnT
Replied by BigJohnT on topic Re:more one question
meduag wrote:

/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.

More
24 Sep 2012 11:37 #24579 by andypugh
Replied by andypugh on topic Re:more one question
BigJohnT wrote:

meduag wrote:

/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.

The files still exist (and can be freely edited) in a normal LiveCD installation.

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.

Moderators: mhaberlerHansU
Time to create page: 0.158 seconds
Powered by Kunena Forum