program difficult

Dear

I am a new staff in my company which use robot machine to cut timber.
I have to write program for it.
Now, I have a difficult .
I don’t clearly know to cut timber by incline 45 degrees. I will be pleased if you help my problem.

look in to " OrientZYX(zang,yang,xang)" and “EulerZYX” it can be a help !

give u a sample file of great functions.

webwiz/1325/Util27.zip