Since the ridges seem so consistent, they could be part of the original CAD model. For instance if you imported the model into the CAM program as an STL, then that approximates the surface with triangles. If the resolution of the file is insufficient, then you will see the flat surfaces left by the straight line approximations to a curve. Look very carefully at the model imported into the CAM program to see if you can discern any pattern.
Similarly it could be the G-code being generated at too low a resolution, so using lines a few mm long, instead of arcs and lines which are too short to see. It's hard to tell from the code you posted. Can you post a bit from the main profile section, i.e. somewhere in the middle?