Delete "home button"

More
5 years 5 days ago #224345 by ioiotutu
Is it possible delete home button on manual tab?
I would build a custom home cycle using pyvcp button and disable or delate home button on manual tab.
Thanks.

Please Log in to join the conversation.

More
5 years 5 days ago #224360 by phillc54
Replied by phillc54 on topic Delete "home button"
You would need to find the name of the button in axis.tcl, then you could have a .axisrc file or user_command file to hide the button.

linuxcnc.org/docs/2.8/html/gui/axis.html#_axisrc
linuxcnc.org/docs/2.8/html/gui/axis.html#_user_command_file
linuxcnc.org/docs/2.8/html/gui/axis.html#_hide_widgets
 

Please Log in to join the conversation.

More
5 years 5 days ago #224370 by nkp
Replied by nkp on topic Delete "home button"
Warning: Spoiler!

In the axisrc write the following line :
Code:
forget(widgets.homebutton, "halui.home-all")
Code:
[code]works like this: if the pin "halui.home-all" is not in the Hal_file, then the button is not visible
[/code]

Please Log in to join the conversation.

More
5 years 2 days ago #224590 by ioiotutu
Replied by ioiotutu on topic Delete "home button"
Work!
Thank you.

Please Log in to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum