- Posts: 1018
- Thank you received: 0
[solved]Axis for 800x480 screen w/ usercommand
- Mike_Eitel
- Offline
- Platinum Member
-
Is a adjusted tool table on your plan and for how many axes, as i 5hink you do not need 9 on a pi..
Mike
Please Log in to join the conversation.
Attachment not found
Attachment not found
Please Log in to join the conversation.
Attachment not found
Please Log in to join the conversation.
- Heisenberg
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
I like the design of your GUI. Where do i have to place the file?
I like axis, but the documentation is not really good...
Please Log in to join the conversation.
linuxcnc.org/docs/devel/html/gui/axis.html#_user_command_file
12.4. USER_COMMAND_FILE
A configuration-specific python file may be specified with an ini file setting [DISLAY]USER_COMMAND_FILE=filename.py. Like a ~/.axisrc file, this file is sourced just before the AXIS GUI is displayed. This file is specific to an ini file configuration not the user’s home directory. When this file is specified, an existing ~/.axisrc file is ignored.
So, assuming you are using the small screen version, you download the file
forum.linuxcnc.org/media/kunena/attachme...ommand_2020-06-01.py
Put the usercommand_2020-06-01.py file into your linuxcnc configuration file
In the ini files for that configuration, under the [DISPLAY] section close to the top, add this line
USER_COMMAND_FILE = usercommand_2020-06-01.py
The next time you load axis, it should show up the modified version
The vertical split screen axis version (usercommand_newlayout.py) on this page should not be used on a real machine, I posted it for reference only. some of the buttons do wierd things
Please Log in to join the conversation.
- Heisenberg
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
I want to change the color of the background of the actual gcode and the mdi window from white to black, the font into green.
The examples from the linuxcnc page don´t work an it tells me always that "'.pane.top.gcodes'" dos not exists.
I tried to understand the code and i don't get how "'.pane.bottom.t'" , '.pane.top.gcodes' and all this belong together...
My configuration is linuxcnc 2.8.1 and its normal axis gui. I tried a little bit with an .axisrc file an but i am still walking in the dark...
Attachment not found
Please Log in to join the conversation.
Please Log in to join the conversation.
- Heisenberg
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
But I get still get an error message with the active gcodes.
I am using the german language, could it be that the error is because of the language pack?
Is there any way that i can read about which name belongs to a tab or is this just try and fail?
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
this is a list of the widgets from the axis.py file
github.com/LinuxCNC/linuxcnc/blob/2.8/sr...axis/scripts/axis.py
github.com/LinuxCNC/linuxcnc/blob/2.8/share/axis/tcl/axis.tcl
github.com/LinuxCNC/linuxcnc/blob/2.8/co...smac/plasmac_axis.py
unfortunately, the best guide website for tkinter closed recently
www.tcl.tk/man/tcl8.6/TkCmd/contents.htm
Please Log in to join the conversation.
Just make the widget you need info about equal my_widget then you will get a list of children and available options.
Please Log in to join the conversation.
