A discrete method of sphere-pipe intersecting curve for robot welding by offline programming. (June 2019)