Fix for "Go Home" button qtdragon_hd (make it go to the Z value you need)
- gabriel176
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
15 Feb 2025 06:25 - 15 Feb 2025 06:31 #321615
by gabriel176
Fix for "Go Home" button qtdragon_hd (make it go to the Z value you need) was created by gabriel176
the fix for the GO HOME button in the qtdragon_hd Offsets frame
the setting is in the following file:
/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py
(you need to edit it with sudo nano on a terminal)
on the line 821 (in my case)
there is a section called
"# offsets frame"
and about 17 lines below there is a setting that you have to change to get the button to go where you want, it's the following:
"ACTION.CALL_MDI_WAIT("G53 G0 Z0") " <--- there it is! that Z0 you have to change to the Z value you want.
after that, save the file, restart your linuxcnc and the button will go to that position.
i hope it helps someone
cheers have a nice day!
the setting is in the following file:
/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py
(you need to edit it with sudo nano on a terminal)
on the line 821 (in my case)
there is a section called
"# offsets frame"
and about 17 lines below there is a setting that you have to change to get the button to go where you want, it's the following:
"ACTION.CALL_MDI_WAIT("G53 G0 Z0") " <--- there it is! that Z0 you have to change to the Z value you want.
after that, save the file, restart your linuxcnc and the button will go to that position.
i hope it helps someone
cheers have a nice day!
Last edit: 15 Feb 2025 06:31 by gabriel176. Reason: removed underline for readability
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23213
- Thank you received: 4894
04 Mar 2025 16:01 #323149
by andypugh
Replied by andypugh on topic Fix for "Go Home" button qtdragon_hd (make it go to the Z value you need)
It might be worth raising this as an issue ( github.com/LinuxCNC/linuxcnc/issues ) though it is almost a standard for Z0 to be top of travel (Fusion 360 CAM assumes this, for example, it scatters G53 G0 Z0 around the generated G-code) and I think that the other guis also go to Z=0 if you press the quill-up button.
It may be safer all round to reconfigure your Z with 0 at the top. This means that in machine coordinates Z is always negative, but that doesn't matter, you rarely if ever work in machine coordinates)
It may be safer all round to reconfigure your Z with 0 at the top. This means that in machine coordinates Z is always negative, but that doesn't matter, you rarely if ever work in machine coordinates)
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.056 seconds