In order to solve the problem of free surface processing of tool redundancy,the tool lack problem, and the demerit of low machining efficiency, etc., based on the iso-scallop method, based on the iso-scallop method, we put forward a kind of free surface NC machining tool path optimization algorithm,make the surface boundary discrete point set, which is generated by point set ring machining path, diagonal connection and then use the path of the adjacent curve, forming cutting tool machining line.finally, the calculation of step size and line spacing in machining path based on the iso-scallop method and the process of feeding direction is optimized. Proved by the simulation process, the algorithm is feasible and can effectively avoid tool redundancy and tool lack problems,concesquently, processing efficiency improved significantly.