2D wire bending machine with butt welding