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.
Inverse Tangent
Chad_Fortune
Member Posts: 6 PRO
I see Inverse Tangent "atan()" exposed inside FeatureScript documentation, but when I try to use it in a Part Studio I get errors. I created a Featurescript to be able to use the inverse tangent to pull the answer out. Inverse tangent is a pretty commonly used in trig and the workaround is a backwards way of getting an answer.
On a side note, atanh and tanh functions are shown under Math: math, but the atan, asin, and acos functions are under Math: units. Other trig functions are located under both tags.
On a side note, atanh and tanh functions are shown under Math: math, but the atan, asin, and acos functions are under Math: units. Other trig functions are located under both tags.
Tagged:
0
Comments
try throwing a '/ degree' at the end of atan if you just want a unitless number, and make sure you add '* degree' where degrees are required for input.
I've had a similar problem in an equation, here is what my result looked like in the end to clear all the errors:
atan(((DeltaY_90 / Shingles_Per_90)- .3125) / (sin(90 * degree / Shingles_Per_90) * (Outside_Dia / 2))) / degree;
Hope that helps