Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

how to automatically calculate angle parametric design

Anonymous

how to automatically calculate angle parametric design

Anonymous
Not applicable

I have a question, I am working on a parametric design.

I need to draw a coil that is at a angle, but the angle is not always the same.

for example,

i have a body with these dimensions:

Top:80

Bottom:70

height:90

I need to draw a coil at a angle, that angle needs to be the same as the side of the cylinder.

the angle in this example needs to be: 3.17983 deg

but it has to calculate it automatically, how do i do this? 

0 Likes
Reply
Accepted solutions (2)
1,107 Views
3 Replies
Replies (3)

HughesTooling
Consultant
Consultant
Accepted solution

Create a parameter using this formula atan(( CylinderTop - CylinderBottom ) / 2 / CylinderLength) 

 

Make sure the unit type is Degrees.

 

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

Anonymous
Not applicable

Thanks! it works, but i have one question, the value is 3,2deg but the exact value is 3.17983 deg is it possible to get a more exact value

0 Likes

HughesTooling
Consultant
Consultant
Accepted solution

Go to your preferences and under Angular Precision change to more places on the Unit and Value page. Not sure but I think the system uses more places than's displayed.

 

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