Error in tool_offsetview.py

More
07 Jul 2025 00:08 #331425 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
pushed the 'last run line' log - see what you think.
The following user(s) said Thank You: tommylight, MarkoPolo

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

More
07 Jul 2025 19:15 #331478 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
I see that logging the last line of executed code is already working, that's great, it will be very valuable information in emergency situations.

I have improved the vertical Qtdragon. It looks good in 3, 4 and 5 axes. If something is still not good, request improvement.
Attachments:

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

More
26 Sep 2025 23:10 #335471 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
Hi Cmorley

I made some adjustments to the brushed_metal_color file. Mainly to improve gcode readability (the white font was difficult to see).

If there's a space between the axis letter and the value in the gcode, the letter and value colors aren't applied. Is it possible to fix this?

Another idea and suggestion. I'd like the macro button (the last, first, or maybe all buttons) to have a drop-down menu so I can easily add more macros within easy reach. Something similar to the screenshot.
Attachments:

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

More
02 Oct 2025 04:56 #335689 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
I updated the brushed metal - thanks.
Fixed gcode with space - there is still room for improvement but I find the 'regular expression' code difficult.

Working on the macro buttons - close:
Attachments:
The following user(s) said Thank You: tommylight, MarkoPolo

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

More
02 Oct 2025 16:36 #335731 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
I made some adjustments to the regular expressions, and it seems to be displaying colors correctly now.
Check if everything is OK.
Attachments:

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

More
03 Oct 2025 05:26 #335759 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Ok I pushed the more then 10 macros work. Let me know what you think.

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

More
03 Oct 2025 14:39 #335785 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
Great, that's exactly what I was looking for.

It works well, but two things could be improved:

1. If I press a macro button a second time that doesn't do anything because it's already executed, e.g., "Goto Machin Zero," the LED doesn't go out; it keeps blinking. It blinks until another macro does something.

2. Button 10 has a hardcoded name of "MORE MACROS." It would be nice if it also took its name from the ini file like the other buttons.

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

More
06 Oct 2025 05:33 #335895 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
I think I pushed a fix for the leds staying on problem - at least in the tests I did it worked.
The label is a bit harder to fix satisfactorily. It's now at least translatable.

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

More
06 Oct 2025 08:23 #335905 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
The LEDs are working properly.
The label translation is perfectly sufficient.

Thanks for the good work.

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

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