Gmoccapy: Fixes in calculator and tooledit_widget - #4436
Conversation
|
That was quick, thanks. I haven't dug deep into this but I wonder if we should fix it better in tooledit (or additionally). linuxcnc/lib/python/gladevcp/tooledit_widget.py Lines 513 to 523 in bae5676 This would also fix it in this case. But it might be bad if this function gets accidentally a float value which is cut then. |
Calculator no longer hands back float strings when asking for integers Tooledit_widget now truncates float input values to positive integer values for the tool- and pocket number
b1369d0 to
bb1801a
Compare
|
I noticed that the pocket number column currently allows negative integer values, which I don't think is correct? |
I don't know. Maybe one want to disable a tool by setting pocket to -1? |
|
I use duplicate pocket numbers, stacked tools |
Co-authored-by: Hans Unzner <hansunzner@gmail.com>
|
Just checked in Axis gui (if that is anything to go by):
And yes, there is definitely a use for duplicate pocket number. |
Fixes #4435