The role of process variables in laser-based direct metal solid freeform fabrication