Alternately, this sort of flattening can be done pretty easily in Carbide Create.
I want to do a raster program for flattening projects with the grain rather than starting in the center and circle my way out to the edges.
For cutting threads it’s a bit more complicated — you’d either need a thread-cutting program or to program by hand for a thread-cutting tool with undercuts.