# Thread: Biesse Works - inverse tan!?

1. ## Biesse Works - inverse tan!?

I'm trying to create a parametric program to cut a pocket for putting stiffeners into cabinet doors. We are using Biesse works Ver. 3.4.6.484.

Here is a simplified version of the problem. You start with a line along x. You set lpx and lpy and the line rotates to point from corner to corner (forming the hypotenuse of a right angle triangle (red line). See attached pic.

Now obviously (i think) this is a super simple math problem. Set the center of rotation to lpx/2 and lpy/2. The angle is tan^-1*(lpx/lpy) but i can't for the life of me get it to work. "atn" doesn't give you what I want and I feel like i've tried every possible syntax imaginable.... even using variables...eg...

y=-1
x=lpx/lpy

then...

ar=(tan^y)(x)....or whatever...

how do you express in the inverse of tan (or sin or cos for that matter)?

I hope someone can help before i go insane!

Thanks!
Tom

2. ## Solution!

Figured it out.. when using arc tangent (atn)... the result is given in radians.

so the formula is:

atn(lpy/lpx)*57.29578 (180/pi)