Mastercam is used to generate a tool path as well as it readily gives you G, M Code for CNC input that is CNC program.
I am Professor with PhD in Production Engineering. Using design expert since 2009 I know how to generate tool path and my research is also in micromachining.
So I can do it very well.
Thank you sir /madam