New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong unit handling of interpreter #1279
Comments
I believe that the tool table is assumed to be in the base units of the configuration. Were you using a metric config? |
from inifile:
|
There goes that theory. |
he is not using any UI, running rs274 directly. This is looks like a bug. the tooltable should always be interpreted in machine units. |
In that case I suspect that the sai doesn't actually look for units in the .ini. I don't see any evidence of a search for TRAJ in saicannon.cc and I do see a hard-coded function: |
Andy you're right! |
But I suspect that variable mirrors the G20 / G21 status, not the machine base units. |
It's been a long time coming, but I now believe this to be fixed. Imperial INI file
Metric INI file.
|
wrong unit handling of (standalone-)interpreter
Here are the steps I follow to reproduce the issue:
This is what I expected to happen:
on processing G43 with tool #3 I expect the toollength to be 53mm, but interpreter calculates 1346.2mm - which is the length value from tooltable treaten as imperial unit and converting it to mm. All arcs/circles failed with error about to big tool radius
Initialization of backend uses mm settings, and G21 has been used explicitly - so I see no reason, why tooltable entries of a mm-machine should be treaten as imperial values.
Information about my hardware and software:
The text was updated successfully, but these errors were encountered: