When you go to post process your code, choose your post processor and click on config.
The *.cps files are based on Javascript.
Can't help with the rest I'm afraid. I'm just learning myself and I'm working with 2.5D lasers.
This is a good resource too:
https://forums.autodesk.com/t5/hsm-p...forum/bd-p/218