Abstract-In this paper, a method integrating NC decoding and solid milling simulation to solve this problem is proposed. A modified Z-Map computational algorithm is adopted and it directly uses straight line and arc interpolation algorithms to calculate mesh position and Z coordinates of tool scanning surface according to tool path and initial tool scanning boundary in reducing the long computation time. The proposed method in this paper includes NC decoding, solid cutting simulation, virtual measuring, and the residual material calculation in previous process. This method owns the advantage of no need to solve non-linear equation any more. Subsequently, through comparing the product surface with the data decoded from the NC program, the magnitude and the position of the machining geometry error could be calculated to serve as important reference for the machining process of complex geometry such as a 3D surface. An example was demonstrated to the feasibility of the proposed method.