A new machine learning approach has designed metal alloys and their laser printing parameters at the same time.