Welding three-dimensional seams