Rerunning a tool in qt_dragon_hd
- Silverback
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 5
22 Sep 2025 11:40 #335278
by Silverback
Rerunning a tool in qt_dragon_hd was created by Silverback
I am not sure if this is specific to qt_dragon or not.
However, when I try to rerun a tool because it broke or I need to adjust comps, the process makes me load and set tool length for each tool before it in the nc code.
I'm using versa probe and the Qt auto tool setter routine.
Is there any way to avoid changing each tool before rerunning the desired tool? Often times it's easier and quicker to just repost the single tool path as a separate program to avoid changing all the tools. I'd like to avoid that, if possible.
However, when I try to rerun a tool because it broke or I need to adjust comps, the process makes me load and set tool length for each tool before it in the nc code.
I'm using versa probe and the Qt auto tool setter routine.
Is there any way to avoid changing each tool before rerunning the desired tool? Often times it's easier and quicker to just repost the single tool path as a separate program to avoid changing all the tools. I'd like to avoid that, if possible.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 21190
- Thank you received: 4658
28 Sep 2025 16:07 #335508
by andypugh
Replied by andypugh on topic Rerunning a tool in qt_dragon_hd
I think that this is a consequence of the system trying to get into the same state after a run-from-line request.
But it does rather assume a toolchanger and/or repeatable length tools.
Rather than re-post the toolpath, you should be able to to comment-out the preceding tool changes in the G-code file. (Just don't forget to un-comment them, or save the modified file under a new name)
Which LinuxCNC version are you running? I think that there have been various attempts to improve run-from-line over the years.
There is discussion, but no conclusion, here: github.com/LinuxCNC/linuxcnc/issues/246#issuecomment-423049528
But it does rather assume a toolchanger and/or repeatable length tools.
Rather than re-post the toolpath, you should be able to to comment-out the preceding tool changes in the G-code file. (Just don't forget to un-comment them, or save the modified file under a new name)
Which LinuxCNC version are you running? I think that there have been various attempts to improve run-from-line over the years.
There is discussion, but no conclusion, here: github.com/LinuxCNC/linuxcnc/issues/246#issuecomment-423049528
The following user(s) said Thank You: Silverback
Please Log in or Create an account to join the conversation.
- Silverback
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 5
28 Sep 2025 22:57 #335523
by Silverback
Replied by Silverback on topic Rerunning a tool in qt_dragon_hd
Hmm. That's unfortunate.
They talk about getting the machine in the proper state to rerun the tool, I assume with all the proper G codes in operation (G17 etc.)
Most of the machines I ran back when I was a machinist by trade remembered those unless a M30 was called. Unless you started from a different tool, the same state was still in effect and the machine just started from the line called.
If you called a different tool, you might need to do some wizardry to get the machine back in the proper state.
Anyway. Looks like I am not the only one with this issue.
Thanks for the help.
They talk about getting the machine in the proper state to rerun the tool, I assume with all the proper G codes in operation (G17 etc.)
Most of the machines I ran back when I was a machinist by trade remembered those unless a M30 was called. Unless you started from a different tool, the same state was still in effect and the machine just started from the line called.
If you called a different tool, you might need to do some wizardry to get the machine back in the proper state.
Anyway. Looks like I am not the only one with this issue.
Thanks for the help.
Please Log in or Create an account to join the conversation.
- RBC
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 1
01 Oct 2025 23:39 - 02 Oct 2025 00:51 #335680
by RBC
Replied by RBC on topic Rerunning a tool in qt_dragon_hd
You are not the only one. I am using qtpyvcp and I am working on a workaround that will comment out the preceeding T lines and replace it with some special chars like (xx T1 M6) when RFH issued and save. And when a run command issued, it would remove and save. I am not sure how possible this is but I have some similar tricks in python before on qtpyvcp.
Last edit: 02 Oct 2025 00:51 by RBC.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.149 seconds