HD Axis and axisrc
- Emanresu
- Offline
- Senior Member
Less
More
- Posts: 74
- Thank you received: 10
01 Sep 2019 15:02 #143784
by Emanresu
HD Axis and axisrc was created by Emanresu
Hi there,
like many others i work on an new GUI für higher resolutions.
Im allready done with the Scales and now im working on the manual-move and MDI.
Bigger buttons with toggle funktion and image background and so on.
I try to do everything in .axisrc and leave axistlc untouched.
But i run into problem.
For my understanding, the components for manual movement are at: (".pane.top.tabs.manual.axis.axisx"."
But im only able to reach ("pane.top.tabs"."
As soon i wona go further, like (".pane.top.tabs.manual"." I get an error: "invalid command name"
Is anyone into this and has an Idea?
Greetings
Tom
like many others i work on an new GUI für higher resolutions.
Im allready done with the Scales and now im working on the manual-move and MDI.
Bigger buttons with toggle funktion and image background and so on.
I try to do everything in .axisrc and leave axistlc untouched.
But i run into problem.
For my understanding, the components for manual movement are at: (".pane.top.tabs.manual.axis.axisx"."
But im only able to reach ("pane.top.tabs"."
As soon i wona go further, like (".pane.top.tabs.manual"." I get an error: "invalid command name"
Is anyone into this and has an Idea?
Greetings
Tom
Attachments:
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 354
01 Sep 2019 15:49 #143786
by pl7i92
Replied by pl7i92 on topic HD Axis and axisrc
Hi
do you think this is needed as people working on HD systems like to use other Gui then Axis
and ofcause the others people (like me ) working with very old style systems cand go for HD
the mainstrem will not need them
likewise it is a good offert to people that need to get systems runing involving Gui problems on HD related looks
to your problem the thing beond tab is regenerated from GLcanon ontop of tcl and wont be available directly to act on
do you think this is needed as people working on HD systems like to use other Gui then Axis
and ofcause the others people (like me ) working with very old style systems cand go for HD
the mainstrem will not need them
likewise it is a good offert to people that need to get systems runing involving Gui problems on HD related looks
to your problem the thing beond tab is regenerated from GLcanon ontop of tcl and wont be available directly to act on
Please Log in or Create an account to join the conversation.
- Emanresu
- Offline
- Senior Member
Less
More
- Posts: 74
- Thank you received: 10
01 Sep 2019 15:55 #143789
by Emanresu
Replied by Emanresu on topic HD Axis and axisrc
Yes it is, cuz i like the old axis and I wish to stick with it.
Damn, i assumed a problem like that.
Well, so it has to be the axis.tlc then.
Damn, i assumed a problem like that.
Well, so it has to be the axis.tlc then.
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 354
01 Sep 2019 16:03 #143791
by pl7i92
Replied by pl7i92 on topic HD Axis and axisrc
wait for the real programmers to step up on this
system has change in the past month as 2.9 gone up so there might be a workaround
system has change in the past month as 2.9 gone up so there might be a workaround
Please Log in or Create an account to join the conversation.
- Emanresu
- Offline
- Senior Member
Less
More
- Posts: 74
- Thank you received: 10
01 Sep 2019 16:05 #143792
by Emanresu
Replied by Emanresu on topic HD Axis and axisrc
That doesnt mean I´ll pick 2.9.
Whats your Problem?
Whats your Problem?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19439
- Thank you received: 6508
01 Sep 2019 16:09 #143793
by tommylight
Me 2 !
Replied by tommylight on topic HD Axis and axisrc
Yes it is, cuz i like the old axis and I wish to stick with it.
Me 2 !
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 323
01 Sep 2019 16:22 #143794
by dgarrett
Replied by dgarrett on topic HD Axis and axisrc
Script to show recursive list of axis gui widgets:
$ 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.
- Emanresu
- Offline
- Senior Member
Less
More
- Posts: 74
- Thank you received: 10
01 Sep 2019 23:07 #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.
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.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5705
- Thank you received: 2084
02 Sep 2019 00:06 #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.
I used to run the followingat the end of my .axisrc to find widget information.
Warning: Spoiler!
########################################################################
# gets widget information
# uncomment any you need to look at, one or more at a time
# lots more can be added
my_widget = [\
#'.',\
#'.plasmac',\
#'.plasmac.frun',\
#'.pane',\
#'.toolbar',\
#'.toolbar.view_p',\
#'.pane.top',\
#'.pane.top.tabs',\
#'.pane.top.tabs.c',\
#'.pane.top.tabs.fmanual',\
#'.pane.top.tabs.fmanual.space1',\
#'.pane.top.tabs.fmanual.axis',\
#'.pane.top.tabs.fmanual.axes',\
#'.pane.top.tabs.fmanual.axes.axisx',\
#'.pane.top.tabs.fmanual.spindlel',\
#'.pane.top.tabs.fmanual.spindlef',\
#'.pane.top.jogspeed',\
#'.pane.top.right',\
#'.pane.top.right.fpreview',\
#'.pane.top.right.fnumbers',\
#'.pane.top.right.fnumbers.text',\
#'.pane.bottom',\
#'.pane.bottom.t',\
#'.pane.bottom.t.text',\
]
for widget in my_widget:
print '\n********** BEGIN', widget, '**********'
print '\nwidget', widget, 'is a', root_window.tk.call('winfo','class', widget)
print '\nparent is:', root_window.tk.call('winfo','parent', widget)
print '\nchildren are:'
for item in root_window.tk.call('winfo','children', widget):
print ' ', item
print '\nvalid options are:'
for item in range (len(root_window.tk.call(widget,'configure'))):
print ' ', root_window.tk.call(widget,'configure')[item]
print '\n********** END', widget, '**********\n'
########################################################################
The following user(s) said Thank You: Emanresu
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5705
- Thank you received: 2084
02 Sep 2019 00:11 #143827
by phillc54
Me 3...
Replied by phillc54 on topic HD Axis and axisrc
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.
Time to create page: 0.100 seconds