“…As shown in Fig 2, a parametric position spline will be inserted into the two linear tool path segments, which is a k degree B-spline generated by n+1 control point vectors 𝐏 𝑗 = [𝑥 𝑗 , 𝑦 𝑗 , 𝑧 𝑗 ] (here, we denote that 𝐏 𝑗 = [𝑥 𝑗 , 𝑦 𝑗 , 𝑧 𝑗 ] and 𝑃 𝑗 = [𝑥 𝑗 , 𝑦 𝑗 , 𝑧 𝑗 ] are the control point vector and the position of the control point, respectively. ), i.e., 𝐏(𝑢) = ∑ 𝑁 𝑗,𝑘 (𝑢)𝐏 𝑗 , 𝑢 ∈ [0,1] 𝑛 𝑗=0 (1) where the basis functions 𝑁 𝑗,𝑘 are defined by the geometric parameter u and the knot vector 𝑈 = [𝑢 0 , 𝑢 1 , … , 𝑢 𝑛+𝑘+1 ] with the following recursive form:…”