Jump to content

adding angle in result element


Recommended Posts

    I have to check an angel 57,but it shows 33 the opposite angel.So I decided to 24 using result element.But in my result angel when I add 24 to my formula it shows weird result, I think I have to convert angel in degree to radian.. isn't it correct??

    IMG20191218225901.jpgIMG20191219165059.jpgScreenshot_2019-12-20-00-31-54-55.png

    Link to comment
    https://qualityforum.zeiss.com/topic/16972-adding-angle-in-result-element/
    Share on other sites

    I believe you are correct. In PCM and formulas, angles are in radians.

    You should be able to use "angle between features" to get the result you want directly, without using a result element. It is under "Form and Location", and should be at the bottom of the list.
    I'm i'm not mistaken, you are looking for the opposite or compound angle?

    If you look in one of your captures in the Feature, the button that shows the two arrows to the right of the "A1" checkbox, you can click that and change the angle to a compound angle. That may fix your issue.
    In my opinion, angles are one of the worst things that Calypso does.
    There seems to be endless instances where you can't get the most simple angle report (15º), and the "tools" they give you to remedy the wrong degree will generally give you a more ridiculous answer than the 1st one you got (165º, 255º, 345º)
    with that being said,have you tried 90-getActual("3d Line2").a2 ?
    In the result element check the Length instead of the angle. This will put the angle as radians in your formula calculations.
    Then convert the angle to degrees the conversion is 180/pi = 57.295779. Then add your 24.

    see attachment.

    I hope this helps

    Neil

    Capture.GIF

    ×
    ×
    • Create New...