Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expression table and radians mode

Status
Not open for further replies.

ASky

Mechanical
Sep 24, 2009
10
Hello,

I would like to be able to enter the geometric formula which solves for the length of a side of a polygon.

Side = 2(inscribed radius of the polygon)tan(pi/(number of sides of the polygon)

This formula only works when a calculator is set to radians mode. Is there a way to set the expression table to use radians mode instead of degrees in a geometric formula.

I know that I can just put a measurement of one line segment into the table, but as the polygon changes its number of sides, sometimes the line that was measured gets lost and then I lose the measurement.

This is not just converting the units from degrees to radians using rad(). The units in this formula are length on angular. If one sets a scientific calculator to radians mode the formula works in degrees mode, it does not and provides the same value as the NX expression table.

Thank you,

Andy
 
Replies continue below

Recommended for you

Expressions>functions>All>Radians test string is not exact wording but should get you to the Radians ability. BTW expand the expressions window first.
 
When creating an Expression and you set the Dimensionality to 'Angle', under units you will have the option of using either 'degrees' or 'radians'.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
Thank you for the replies. I have since learned the typing "rtan" vs "tan" causes the formula to work properly.
A UG tech working with us found it deep in the knowledge fusion help.

Setting the dimensionality to angle does not work because there are no angles in the formula as i noted above. The dimensionality has to be a unit of linear measure inches, centimeters etc. A 54 sided polygon with an inscribed radius of 8.125" would be the inputs.

a=(2*8.125")tan(pi/54) for example

thanks again for the answers though.

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor