Add Inverse trig function into parameters menu

Add Inverse trig function into parameters menu

scott.nortman
Enthusiast Enthusiast
5,759 Views
13 Replies
Message 1 of 14

Add Inverse trig function into parameters menu

scott.nortman
Enthusiast
Enthusiast

When entering new parameters, inverse trig (asin, acos, atan) function are not available as expression functions.  Is this expected?

5,760 Views
13 Replies
Replies (13)
Message 2 of 14

ahreum.ryu
Autodesk Support
Autodesk Support

Hi @scott.nortman,

 

Welcome to the Fusion community! Heart

I think we are able to use the Inverse trig with acos(expr) , asin(expr) , atan(expr)

Expression.jpg

 

For your reference, this is Prefix Parameter for Inventor. (I think it's working in Fusion 360) it will be helpful. 

If you have further questions, please let me know! 

 

Many thanks,

Ahreum.

0 Likes
Message 3 of 14

scott.nortman
Enthusiast
Enthusiast
Thanks.

I reviewed the link you sent, and only some of the functions work in the
'expression' text entry box; for example, if I enter

'sin(PI rad)'

the returned value of the expression is correctly 0.

However, when I change to atan( 0 ) the text stays red, since the atan
function is not recognized.

I suspect this is just not yet supported in Fusion 360.

Best regards,
Scott


0 Likes
Message 4 of 14

HughesTooling
Consultant
Consultant

Did you set the unit type correctly?

Clipboard01.png

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 5 of 14

scott.nortman
Enthusiast
Enthusiast
Yes, I even tried constant values such as atan( 0 )
0 Likes
Message 6 of 14

HughesTooling
Consultant
Consultant

Can you install screencast and record what you're doing because it does work.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 7 of 14

Anonymous
Not applicable

I am having the same issue

cos() etc work, but all of these stay red:

atan(1)

atan2(1)

atan(1,2)

atan2(1,2)

Nothing complicated, I just go to Parameters, Add, and type in a name and the expr as atan(1) etc

 

And yet its in the documentation as working... perhaps its been left out of recent build somehow?

0 Likes
Message 8 of 14

HughesTooling
Consultant
Consultant

Can you get a screen grab of what you see. Embed the picture using the Photo option don't attach.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 9 of 14

Anonymous
Not applicable

image.png

0 Likes
Message 10 of 14

HughesTooling
Consultant
Consultant

You have the units set to mm the result is degrees so you need to set units to deg.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Message 11 of 14

Anonymous
Not applicable

Great, thanks!

 

It would be a nice feature if it could work that out automatically from the result of the expression.

Message 12 of 14

jeremiahrose
Enthusiast
Enthusiast

How then do you add a more complex expression, e.g such as 1 / acos(1)?

 

No matter what units I select in the drop-down menu, this expression is always red, so it cannot be added.

 

Seems like a very short-sighted limitation!

 

EDIT - looks like the "percentage" unit works for the above equation. However, for an expression containing an inverse hyperbolic trig function as the denominator e.g 1 / acosh(2), the percentage unit no longer works and I cannot find any unit that does. This behavior is pretty bizarre and seems to nullify the usefulness of having these functions available in the first place... It seems to me that the "No units" option should be available for any arbitrary expression as a fall-back, so maybe this is a bug?

0 Likes
Message 13 of 14

HughesTooling
Consultant
Consultant

@jeremiahrose  Looks like it's been reported as a bug a while ago.

https://forums.autodesk.com/t5/fusion-360-support/asinh/m-p/8073237?collapse_discussion=true&filter=...

 

Might want to bump that thread or start another rather than leave it buried here.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 14 of 14

jeremiahrose
Enthusiast
Enthusiast

Looks like this issue is now fixed in new update