This study presents an orthogonal decomposition procedure to resolve the functional redundancy of cnc machine-tool by using a direct calculation of the generalized inverse of the Jacobian matrix considering the joint limits of the machine-tool. An optimization procedure has been implemented with a post-processor module and tested with the architecture of the milling center Huron KX8-Five. Different shapes of free form surface have been successfully machined with the module without exceeding joint limits. The tasks have been validated with VERICUT (a commercial simulator software) before machining them with the Milling center.