A mechatronics approach to laser powder deposition process