- Posts: 7368
- Thank you received: 2181
Error in tool_offsetview.py
- cmorley
- Offline
- Moderator
-
Less
More
4 years 7 months ago #237726
by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Ok improved pncconf's test/tune dialog.
Sure I would like to look at your changes.
Sure I would like to look at your changes.
The following user(s) said Thank You: tommylight
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 319
- Thank you received: 90
4 years 7 months ago #237737
by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
I am uploading a handler with changes to the buttons behavior. There is still the "pause" and "step" buttons to be made, they turn on the reset buttons and the "wcs" button, but I don't know where to change this behavior.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
4 years 7 months ago - 4 years 7 months ago #237751
by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
action_button.py is where most enable/disable behavior is defined.
Last edit: 4 years 7 months ago by cmorley.
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 319
- Thank you received: 90
4 years 7 months ago - 4 years 7 months ago #238561
by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
I fixed a bug that caused "lbl_max_rapid" values to change after changing the "feedrate_override_slider". I guess introduced a bug in previous changes, but it works fine now. I changed some metric value fields to a consistent look, and a few minor changes to better fit the layout ._It seems to me that there is a problem with the function "def metric_system_changed (self, mode):" The value of mode is always True, regardless of whether in the LINEAR _UNITS ini file is metric or inch, and this is probably the reason for wrong values in "status_jog_linear" and in " lbl_jog_linear ". The problem is if the units are inch, if mm is fine.Could you please check why this is happening?
Last edit: 4 years 7 months ago by MarkoPolo.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
4 years 7 months ago #238570
by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
metric_system_changed() responds to metric mode (G20/21) regardless of machine unit base.
INFO.MACHINE_IS_METRIC will tell you if the INI is metric or imperial based.
INFO.MACHINE_IS_METRIC will tell you if the INI is metric or imperial based.
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 319
- Thank you received: 90
4 years 7 months ago #238683
by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
yes, there are two bugs in the previous files i posted. I will fix it and ship it
Moderators: cmorley
Time to create page: 0.610 seconds