Error in tool_offsetview.py

More
2 years 9 months ago #290150 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
After adding five axis to qtdragon , the "go to zero" buttons are not available. Maybe it's a good thing that they are not available, but this functionality would be useful.
Could you add this function to the "ref x,y..." button menu so that it is available for each axis?
Another idea is to convert the fields with axis letters on the left side of DRO into buttons and make room in the drop-down menu for your own macros specific to individual axes.
Attachments:

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

More
2 years 9 months ago #290152 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
I don't like the idea of adding it to the reference setting button.
It's unrelated to reference setting and to easy to mistakenly select.

I can't really add the go to zero button back but you could make an INI based macro button for it. would that work for you?

I didn't fix the go to sensor behavior did I - sorry about that.

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

More
2 years 9 months ago #290157 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
OK.
Personally, I added a "go to zero" macro button for the A axis, so I don't have a problem with it. I was thinking generally to improve qtdragon in this matter
Fields with axis letters take up a lot of space, but they don't do much work, so maybe it would be worth thinking about some useful functions for them.

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

More
2 years 9 months ago #290161 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
yes I've thought about different ideas about that. ie
if the axis letters were axis selection, then you could have less jog button (only two + and -) which would leave room for buttons such as 'move selected axis to zero' etc.

Some would like it some would not. Hopefully some adventurous people will try some of those ideas out - Qtvcp is made to be modified by power users.

I'm just too busy trying to catch up other software projects.

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

More
2 years 7 months ago - 2 years 7 months ago #297143 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
Hi Cmorley
When I press any value in the offset table, an error occurs. It seems to be a problem with commas, if someone has dots in this place it probably works fine.
(Probably some recent changes, because it was working fine before.)
If I change float to str in the "origin_offsetview.py" file, it works fine, but I'm not sure whether this solution is correct.

modification:
in another function I see that it is "'PRELOAD:text", and in this form it works fine.
Attachments:
Last edit: 2 years 7 months ago by MarkoPolo.

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

More
2 years 7 months ago #297157 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
what version of python does your system use?

This looks like the change that might cause the error:

github.com/LinuxCNC/linuxcnc/commit/8d9d...dcf184470457c97cdbb5

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

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