3D metal Printing in Aerospace: optimization framework for Direct energy deposition (PYTHON)