Hide tool table columns

More
21 Apr 2018 15:10 #109395 by Wischi
Hello,

i really like the gui of gmoccappy but I want to change the tool table columns. I don't really need the Pocket, X, Y and C column. I already looked at the tooleditor widget at the gladevcp wiki site, but I can't figure out how to hide the columns. How does it work?

Thanks

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

More
21 Apr 2018 16:59 - 21 Apr 2018 16:59 #109401 by andypugh
Replied by andypugh on topic Hide tool table columns
It is done by adding settings to the INI file:
linuxcnc.org/docs/html/gui/tooledit.html#_column_selection
Last edit: 21 Apr 2018 16:59 by andypugh.

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

More
21 Apr 2018 18:18 #109403 by Wischi
Replied by Wischi on topic Hide tool table columns
I tried it but it didn't work in gmoccapy, only in Axis it showed only the selected columns.

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

More
22 Apr 2018 02:04 #109415 by cmorley
Replied by cmorley on topic Hide tool table columns
Gmoccapy uses the gladevcp widget tooledit:
linuxcnc.org/docs/devel/html/gui/gladevc...ml#gladevcp:tooledit

I'm not sure if Gmoccapy allows easy user customization - but you could easily modify it's python code to do what you want.
I bet Norbert will chime in to give you more direction.

Chris M

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

More
22 Apr 2018 12:54 - 22 Apr 2018 13:19 #109425 by Wischi
Replied by Wischi on topic Hide tool table columns
I found a solution:

Open gmoccapy in /usr/bin with mousepad as root. Find the line:
self.widgets.tooledit1.set_visible( "%s" % axis, True )

add this line under it:
self.widgets.tooledit1.set_visible( "pxyca", False )

Now I only have: Select, tool #, Z, diameter and comment. I think it looks more clean this way.


Thanks
Last edit: 22 Apr 2018 13:19 by Wischi.

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

More
25 Apr 2018 05:17 #109576 by newbynobi
Replied by newbynobi on topic Hide tool table columns
If you set up a new tool, you might get problems, because you hide the p column, so linuxcnc will place all tools in pocket 0.

I added to my todo list the ini reading for the option to hide columns.

Norbert

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

More
12 Apr 2022 09:53 #240030 by HalaszAttila
Hello,

any changes in this topic? Is this possible to hide colums in gmoccapy?

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

More
12 Apr 2022 10:35 #240034 by Wischi
Replied by Wischi on topic Hide tool table columns
Hello,

I used the solution from my reply #109425 for a long time. Never had any problems.
The following user(s) said Thank You: HalaszAttila

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

Moderators: newbynobiHansU
Time to create page: 0.220 seconds
Powered by Kunena Forum