How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
In the manufacturing workspace, for an operation parameter, is it possible to use sin/cos/tan in the expressions dialog box, if I simply input something like sin(15) I get the wrong number it outputs 0.6503 when it should be 0.2588
Solved! Go to Solution.
Do these instructions help?
https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-76272551-3275-46C4-AE4D-10D58B408C20
Looks like F360 calculates in rad(ians) rather than the more known deg(rees). You'll need to multiply with Pi/180 after the angle:
value = sin[angle*(pi/180)].
I usually test in Excel with sin(30) or cos(60) which both should be 0,5.
Formula: =SIN(30*(PI()/180))
Regards
Peter
This article seems to be about user parameters within the design workspace. I'm attempting to use trigonometry within the manufacturing workspace. For example, for a contour operation with even step downs selected and a wall taper angle of 5 deg, in the radial stock to leave field I could do something like tan(slopeAngle) * (abs(stockZLow)-maximumStepdown) in order to offset the cut to account for the slope angle.
Hi prettygoodnotbad,
I haven't taken care about the workspace you're working in; I was just looking at the calculation results from sin(x). This reminds me to the rad vs. deg thing.
I have not tried to do this in manufacturing ws honestly. Just tried to figure out why the calcs looks odd.
Regards
Peter
@Anonymous thanks, I saw your message only after posting my reply. But you are correct, what worked in the end with your example is (sin(30 * (Math.PI / 180))) * 1in this output the correct value 0.5
So for the forumla in my previous post I can do:
(tan(slopeAngle * (Math.PI / 180))) * (abs(stockZLow) - maximumStepdown)
This outputs the correct axial offset to avoid machining inside the part when using a wall taper angle.
Now I'm just waiting for someone tool tell me there is a box I could have checked that would have done exactly that.
The functions appear to convert to the appropriate internal units if you specify the units. If you want a specific number of degrees, then just suffix with 'deg'. E.g. sin(15 deg), or sin(0.261799 rad)
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved