Hi there,
I've made a program that helps me do a specific path with the orientation that my tool needs to have on each point on the path. Each point has an X Y Z coordinates, but the orientation of my tool is given by a normal vector. I would like to know if there's a method or something else I can do so I can convert my normal vector to the variables A, B and C.
I will put an image on this thread so you can visualize what I'm saying. Each red line is the orientation my tool needs to have on each point. The orientation is a vector [X; Y; Z] but I need the following variables: A, B, C.
Thanks in advance!