Construction of the three principal axes of quadric ruled surfaces