QtDragon feature request go_to_zero

More
28 Dec 2021 03:34 #230110 by ucancallmebob89
Sorry for reviving an old thread but I don't see either of the "go to zero" buttons in qtdragon_hd. Is that an option I need to enable?

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

More
28 Dec 2021 03:40 #230111 by ucancallmebob89
I'd be fine writing my own OWord routine but I'm not sure how to make the buttons visible, if they exist.
From the qtdragon docs: linuxcnc.org/docs/devel/html/gui/qtdragon.html
 
Attachments:

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

More
28 Dec 2021 03:45 #230112 by cmorley
I only added it to qtdragon.
I don't see an available and appropriate place to put them - do you?

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

More
28 Dec 2021 04:00 #230113 by ucancallmebob89
Oh from context I thought they were present but hidden. Idk, assuming the jogging buttons are a 3x6 grid (including when the A axis is present), maybe put them right next to the Z+ and Z- buttons?
 

I agree that's not necessarily the best place. It would be nice to have a dedicated area where we could have a handful of MDI shortcut buttons.

Maybe instead on the main view tab we could have a right-justified column with several MDI command buttons? What do you think?
 
Attachments:

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

More
28 Dec 2021 04:13 #230115 by cmorley
If you like uncompess this folder in your config folder and try it out.

you'll need to add this to INI:

[MDI_COMMAND_LIST]
MDI_COMMAND = G0 Z0;X0 Y0
MDI_COMMAND = G53 G0 Z0;G53 G0 X0 Y0

you can add a third MDI command for the user button.

If it doesn't create usability problems we can talk about adding it to linuxcnc.

Chris
Attachments:

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

More
28 Dec 2021 04:15 #230116 by cmorley
Removing or Renaming the folder will return the original qtdragon_hd

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

More
28 Dec 2021 04:17 #230117 by cmorley
Maybe the position in qtdragon is better - it just seemed to close in qtdragon_hd.
But I don't use it everyday so I'll take advisement.

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

More
28 Dec 2021 14:47 - 28 Dec 2021 15:22 #230147 by hottabich
For the safety of the machine, there should be no buttons (go_to) in the foreground, I think so. I suggest the following as in the screenshots.
Last edit: 28 Dec 2021 15:22 by hottabich.

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

More
28 Dec 2021 19:18 #230164 by ucancallmebob89
I figured out how to work QT designer and add a macro panel to the side of the main tab like I suggested above. I connected each button up to the MDI_COMMAND_LIST section of the INI file. The panel doesn't get enabled until the machine is powered on and homed.

 

What I'd like to do now is have a user-configurable label for each button so they can name their own macro's one at a time by just adding a line to the INI file. Something like this:
 

I think this is probably possible but I haven't dug into how to tackle it yet.
Attachments:

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

More
29 Dec 2021 06:45 #230201 by cmorley
if you use the 'check_state_text_option' of the action button, then you can set the text in the stylesheet with a command like this (modify the widget name to suit):

#usr_mdi1{
qproperty-false_state_string: "Go\\nThere";
}

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

Moderators: cmorley
Time to create page: 1.396 seconds
Powered by Kunena Forum