Producing buttons or semi-finished parts of buttons