Utilizing settings in the depth cuts utility makes it easy to program undercuts. Explore the Mastercam Suite at https://cimquest-inc.com/mastercam/
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.