Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Discrpencies in documentation related to using acos, atan and other trignometric functions
atharva_patwardhan
Member, Developers Posts: 1 ✭
acos, atan and other trigonometric functions return results in radians and not degrees while I was using feature script, though the documentation mentions otherwise
Documentation Link : https://cad.onshape.com/FsDoc/library.html#module-units.fs
Documentation Link : https://cad.onshape.com/FsDoc/library.html#module-units.fs
0
Comments
Sorry for the confusion.
If you really need the number of degrees represented by your angle you can do something like the following:
But like Ilya said, you really only need to do this if you are trying to print output to the user. Otherwise, you can just leave it as it's ValueWithUnits (angle) representation, and it will remain useful for math, trig function, and input into Onshape operations.