Jump to content

Angle PCM syntax


Recommended Posts

  • [Cl...] changed the title to Angle PCM syntax

Hey Clarke, 

you can declare an angle as "-5.5".
You dont know in the moment of declaration if its in rad or degrees.

 

If you take an angle from a feature you always get it in rad

If you have a plane with an XY Angle of 180° degrees and you do:

angle = getActual("Plane1").a1

The variable "angle" will have a value of 3,14rad. If you want that in degrees you need to do this 

angle1 = deg(getActual("Plane1").a1)

In this case the value of "angle1" would be 180°

 

Edited
Link to comment
https://qualityforum.zeiss.com/topic/25365-angle-pcm-syntax/#findComment-143541
Share on other sites

×
×
  • Create New...