Sliptonic brought up a bunch of great points for discussion here:
https://forum.freecadweb.org/viewtopic.php?f=15&t=52024
I suggested they were not mixed with the discussion on rotational code there, so here is one pick from the list.
I agree the large code repetition is not good from a maintenance POV. I was looking improvements to grbl_post but did not think it likely I would have time to replicate the changes X times.
2) We need a better approach to post-processors. There's too much code duplication between them and improvements don't get applied to all posts equally.
I think that firstly the *_post files should be rewritten as a class. This would probably help a lot with commonality.
This would tidy up the
I did this for grbl_post at one point but it may need bringing up to date now.