Instead of engraving grooves we wanted to engrave ridges!
I found this simple way to create the toolpath with HeeksCNC.
I drew all the ridges as sketches, made from lines.
I extruded the sketches down, 1mm.
I made a 3D attach operation and a zigzag pocket operation, specifying an engraving tool.