Control or regulation of the orientation of the tool with respect to the work