UGNX was used to edit toolpath file of impeller. The postprocessor for Heidenhain five axis linkage numerical control system was developed. Then, the NC codes generated by the postprocessor of Heidenhain five axis linkage numerical control system were imported into Vericut software to verify the NC codes. At last, the impeller was machined with the NC codes.