Grasshopper

algorithmic modeling for Rhino

I am getting strange output from the ArcTangent component (ATan).

using degrees (not radians) i would expect 1.655 input to ATan to return 58.86 degrees.

But instead i get 0.028892

I've attached a simple file of what i am doing....

Any suggestions would be appreciated. I am sure there is some obvious mistake i am making here....

Views: 609

Attachments:

Replies to This Discussion

To explain in words: all trigonometric function expect and return angles in radians. You can use the dregree/radian components or the degree modifier from the param context menu to change that.

Thank you for clarifying this Marcus and Hannes, indeed the radians-to-degrees component worked.

degrees and radians conversion options
Attachments:

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service