Tutorial for the Filengrene software: machining gears with plain milling cutters with 5 axis CNC machines, second video.
https://moodle.insa-rouen.fr/course/view.php?id=700
This video is in French, but you can get from Youtube French subtitles and have them translated in your own language. The translation is not perfect, but sufficient to understand if you know the gears theory.