a better approach to post-processors.

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
freman
Veteran
Posts: 2214
Joined: Tue Nov 27, 2018 10:30 pm

a better approach to post-processors.

Post by freman »

Hi,

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.

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 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.

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.
Post Reply