Error in tool_offsetview.py
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7341
- Thank you received: 2164
10 Jun 2026 02:10 #347005
by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Pushed.
Thank you!
Thank you!
The following user(s) said Thank You: MarkoPolo
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Away
- Elite Member
-
Less
More
- Posts: 305
- Thank you received: 83
07 Jul 2026 17:30 #347580
by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
The preview window has a similar problem to the Vismach. There's no limit at all to the maximum and minimum zoom. You can zoom in infinitely without any visual effect, and the same applies to zooming out. There's also a tweak to the s value, which doesn't work linearly with zooming in and out, and at certain zoom levels, moving left, right, and up is difficult.
I'm uploading the corrected glnav.py.
Please try it out.
I'm uploading the corrected glnav.py.
Please try it out.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7341
- Thank you received: 2164
08 Jul 2026 05:19 #347592
by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Works great for me.
Pushed.
Thanks
Pushed.
Thanks
The following user(s) said Thank You: tommylight, MarkoPolo
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Away
- Elite Member
-
Less
More
- Posts: 305
- Thank you received: 83
25 Jul 2026 17:30 #348058
by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
There are a few minor things that could be improved, of course in qtdragon.
1. The grid in the preview is in inches; it doesn't switch to millimeters when the machine is running in metric mode.
2. The "run time" window freezes when paused, but when resumed, the time is set as if it weren't paused. Shouldn't that be the case?
3. Manually switching between MANUAL MDI and AUTO modes is unnecessary in many cases and sometimes annoying.
For a long time, I've been using the "btn_start_clicked" function without checking if the machine is in the "auto" state. After pressing start, the machine switches to auto mode automatically, and it works very well.
I'd like the "file" button to work similarly.
After pressing "file," switch the machine to manual mode and open files.
4. The physical keyboard's pause key only works in "auto" mode, so if the program is run from a macro, the machine is in MDI and pause doesn't work.
In the "on_keycall_pause" function, simply remove the appropriate condition.
The "btn_pause_clicked" function probably also needs to be corrected, because if the "spindle lift" button is active, then after resuming work, the spindle starts and lowers, but doesn't continue. In other cases, everything works correctly.
1. The grid in the preview is in inches; it doesn't switch to millimeters when the machine is running in metric mode.
2. The "run time" window freezes when paused, but when resumed, the time is set as if it weren't paused. Shouldn't that be the case?
3. Manually switching between MANUAL MDI and AUTO modes is unnecessary in many cases and sometimes annoying.
For a long time, I've been using the "btn_start_clicked" function without checking if the machine is in the "auto" state. After pressing start, the machine switches to auto mode automatically, and it works very well.
I'd like the "file" button to work similarly.
After pressing "file," switch the machine to manual mode and open files.
4. The physical keyboard's pause key only works in "auto" mode, so if the program is run from a macro, the machine is in MDI and pause doesn't work.
In the "on_keycall_pause" function, simply remove the appropriate condition.
The "btn_pause_clicked" function probably also needs to be corrected, because if the "spindle lift" button is active, then after resuming work, the spindle starts and lowers, but doesn't continue. In other cases, everything works correctly.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.091 seconds