Electron gun for computer–controlled welding of small components