Automatic tool path generation in OLP for robotic welding