- Posts: 2
- Thank you received: 0
Fix for "Go Home" button qtdragon_hd (make it go to the Z value you need)
- gabriel176
- Topic Author
- Offline
- New Member
-
Less
More
1 year 8 months ago #321615
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!
Please Log in to join the conversation.
1 year 7 months ago #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 to join the conversation.
Time to create page: 0.075 seconds
