Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Parametric Hypotenuse of Triangle

dcpanzone
Enthusiast

Parametric Hypotenuse of Triangle

dcpanzone
Enthusiast
Enthusiast

Hi, having some problems with the syntax of the expression in parameters to drive a hypotenuse value.

 

sqrt((d80^) + (d80^))

 

I hope I'm close with this but not sure. d80 is also a driven dimension, but it should be able to have a down stream effect correct?

 

Any help is appreciated!

 

Thanks!

0 Likes
Reply
467 Views
2 Replies
Replies (2)

dcpanzone
Enthusiast
Enthusiast

screen shot for reference

0 Likes

jeff_strater
Community Manager
Community Manager

first, driven dimensions cannot be used in an equation in Fusion currently.  Second, you have to make the units correct.  sqrt() only works on "unitless" numbers.  So, you have to remove the units from any distance dimensions, something line "(x/1 mm)" will return a unitless version of a distance "x".  Then, to square it, you use "^2".  So the whole equation would look like "( sqrt(( x / 1 mm ) ^ 2 + ( y / 1 mm ) ^ 2) ) * 1 mm"

 

Screen Shot 2020-11-16 at 9.31.44 PM.png


Jeff Strater
Engineering Director
1 Like