Design and process optimization for metal components produced by Additive Manufacturing