“…27,28 The normal vector at a point (x 0 , y 0 , z 0 ) on a surface S = f(x, y, z) is given by equation (26) S = rf = f x (x 0 , y 0 , z 0 ) f y (x 0 , y 0 , z 0 ) f z (x 0 , y 0 , z 0 ) gradient in the edge of the triangles for 3D, for CNC mill-lathe, and the algorithm is shown in Table 1.…”