-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add centimeter as an acceptable length unit and give error message more cotext #118
Comments
I am having a similar issue with: |
I think that some unit can be enforcedly defined to inches somewhere (maybe in some part you imported for e.g.) |
I added |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
I was trying to convert a robot of mine that I created in OnShape using
onshape-to-robot <my-robot>
but kept getting an error messageUnknown unit: cm
at first I really didn't understand what it meant until I spend couple of hours reading the whole onshape-to-robot repository, and then I saw inreadExpression()
method that the error was saying that my OnShape workspace length unit is centimeter something that is not supported by the project. So I tried to open a PR about this problem but I couldn't since I needed permission to write in the repository. The fix is below if someone wants to use it locally.Fix
The text was updated successfully, but these errors were encountered: