Planning the process parameters for the direct metal deposition of functionally graded parts based on mathematical models