Automatic welding of studs and zippers