Category: Qtvcp
Thank for your the response. Here is some more information in response to your suggestions.
This first image is the machine showing G53 coordinates. The tool is in the center of the work envelope, as you can tell by the non-zero coordinates (0, 0, 0 is the top front left corner).
This next image is after having switched to G54 using the gui button. As you can see, I set the G54 origin to be the current position, so it reads 0, 0, 0 while the tool is in the center of the work envelope. The work envelope image shows the work offset origin (3 vector arrows) as at the current position, as expect. This is all behaving as I expect.
But when I look at the offsets table, it hasn't reflected the changes to the G54 origin. No values have updated.
More so, when I clicked on the G54 Z value of 4 and tried to directly change it, I got this error, with the full text copied below.
Error message:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtvcp/widgets/origin_offsetview.py", line 370, in dataChanged
self.reload_offsets()
File "/usr/lib/python3/dist-packages/qtvcp/widgets/origin_offsetview.py", line 232, in reload_offsets
temp[STATUS.stat.g5x_index-1] = STATUS.stat.g5x_offset
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'tuple' object does not support item assignment
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtvcp/widgets/origin_offsetview.py", line 373, in dataChanged
self.reload_offsets()
File "/usr/lib/python3/dist-packages/qtvcp/widgets/origin_offsetview.py", line 232, in reload_offsets
temp[STATUS.stat.g5x_index-1] = STATUS.stat.g5x_offset
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'tuple' object does not support item assignment