You are probably trying to convert a CNC feed usually in LRA (Length, Rotation, Angle) coordinates to XYZ (position coordinates) to feed in solid works and other usage. It can be done by using calculations in 2D arrays, angle between vectors and iteratively calculate the X,Y,Z coordinates. I can program it in Excel/VBA. I have expertise in engineering mathematics as well as advanced VBA. Please reach out to me to discuss futher.