Traditional CAM packages generate five-axis machining codes (G and M codes), which depend only on surface geometric information. When applying these codes to different five-axis CNC machines, the corresponding cutting errors sometimes are larger than the