You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 message Unknown 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 in readExpression() 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.
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: