HD Axis and axisrc

More
7 years 2 months ago #143794 by dgarrett
Replied by dgarrett on topic HD Axis and axisrc
Script to show recursive list of axis gui widgets:
Code:
$ cat ./children.tcl #!/usr/bin/tclsh # Usage: # 0) $ chmod 755 ./children.tcl # 1) $ # start LinuxCNC using axis gui # 2) $ # in terminal (rip-environment first if RIP): # 3) $ ./children.tcl >|children.txt package require Tk proc children {parent} { incr ::n 3 foreach child [send axis "winfo children $parent"] { puts [format "%${::n}s %s" "" $child] children $child } incr ::n -3 } set ::n 0 children . exit
The following user(s) said Thank You: nkp, Emanresu

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

More
7 years 1 month ago #143819 by Emanresu
Replied by Emanresu on topic HD Axis and axisrc
Got it, thx!

Now im dealing with "image not found"
Seems like it isnt home or tlc.
Or ive an simple syntax.

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

More
7 years 1 month ago #143825 by phillc54
Replied by phillc54 on topic HD Axis and axisrc
It should be fmanual insted of manual

I used to run the followingat the end of my .axisrc to find widget information.

Warning: Spoiler!
The following user(s) said Thank You: Emanresu

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

More
7 years 1 month ago #143827 by phillc54
Replied by phillc54 on topic HD Axis and axisrc

tommylight wrote:

Emanresu wrote: Yes it is, cuz i like the old axis and I wish to stick with it.


Me 2 !


Me 3...

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

More
7 years 1 month ago #143828 by Emanresu
Replied by Emanresu on topic HD Axis and axisrc
Nice, i gona steal that ;)

It was fmanual not just manual.

Now im just dealing with the "image" problem.
I tryed every folder. In .tlc it works without any problem. But in .axisrc it says, it doesnt exist.

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

More
7 years 1 month ago #143829 by phillc54
Replied by phillc54 on topic HD Axis and axisrc
If you want to hack Axis from .axisrc you should move to LinuxCNC 2.8 or 2.9 (master)

You can also use a USER_COMMAND_FILE in the [DISPLAY] section of the INI file instead of using .axisrc

Check this out linuxcnc.org/docs/2.8/html/gui/axis.html..._customization_hints

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

Time to create page: 0.155 seconds
Powered by Kunena Forum