- Posts: 19311
- Thank you received: 4655
Axis DRO's
11 years 10 months ago #53958
by andypugh
try /usr/bin/
It might be called axis.g
"which axis" might work. (I am nowhere near a LinuxCNC machine)
Replied by andypugh on topic Axis DRO's
fgauder wrote: Andy, thanks. I did a search for axis.py and it came up with 5 "fix_default_axis.py" files, all of them 7kb. So, where do I find it.
try /usr/bin/
It might be called axis.g
"which axis" might work. (I am nowhere near a LinuxCNC machine)
Please Log in or Create an account to join the conversation.
11 years 10 months ago #53959
by fgauder
Replied by fgauder on topic Axis DRO's
Andy, thanks again. It's /usr/bin/axis.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #53960
by BigJohnT
Replied by BigJohnT on topic Axis DRO's
In Ubuntu 10.04 is it /usr/bin/axis to edit it you will need to use sudo gedit /usr/bin/axis in a terminal window. It would be a good thing to make a copy of axis before modifying it.
I did test changing the fmt line and it did not work.
JT
I did test changing the fmt line and it did not work.
JT
Please Log in or Create an account to join the conversation.
11 years 10 months ago #53962
by fgauder
Replied by fgauder on topic Axis DRO's
I've also changed the fmt line to 5 to 6 to 3 and nothing works. Also the default for metric is 3 but the display is always 4 and apparently the accuracy also.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #53964
by andypugh
It worked for me in the past.
Unfortunately I am not at a LinuxCNC machine until sunday night at that very earliest so can't experiment.
Replied by andypugh on topic Axis DRO's
fgauder wrote: I've also changed the fmt line to 5 to 6 to 3 and nothing works. Also the default for metric is 3 but the display is always 4 and apparently the accuracy also.
It worked for me in the past.
Unfortunately I am not at a LinuxCNC machine until sunday night at that very earliest so can't experiment.
Please Log in or Create an account to join the conversation.
8 years 10 months ago #103373
by GaryLa
Replied by GaryLa on topic Axis DRO's
I know this is 2 years old, but I thought I'd add the info that you can change the glcanon.py file at about line 567 to change the graphical representation numbers from 2 digit precision to 3.
The line is: fmt = is_metric and "%.1f" or "%.2f"
Changing 1f and 2f to 2f or 3f respectively, adds a digit of precision to the screen display.
The line is: fmt = is_metric and "%.1f" or "%.2f"
Changing 1f and 2f to 2f or 3f respectively, adds a digit of precision to the screen display.
Please Log in or Create an account to join the conversation.
Time to create page: 0.309 seconds