In industries such as electronics 3C, medical, aviation and energy, multi-axis machining machines are an important element of modern production systems, especially for post-processing, which necessitates the safe operation of control equipment. Some controller and software for five-axis simultaneous machining only interpolate equidistantly between cutter location (CL) points and do not support post-processing using a rotation tool center point (RTCP) so the machining path of the tool has manufacturing errors (overcutting or undercutting) and the workpiece fails to be machined to the correct size. Depending on the maximum allowable error (δMax), this study uses rapid unequal interval sub-point interpolation to perform sub-point interpolation on the original path of the five-axis machining machine, and the sub-point values are output in the computer numerical control (CNC) machining program in C# programming language. The tool tip is then moved to the desired machining position. Finally, an example involving helical milling of a curved surface is used to verify the feasibility of the rapid unequal interval interpolation method (RUIIM). The experimental results show that rapid unequal interval sub-point interpolation gives a more accurate original path that is generated in the CAM and a faster processing speed for the entire controller so the operation speed is increased.