Optimizing G code from Cura output
Is there any tool out there that can be used to optimize G code output from the Cura slicer? I understand G code well enough that I could go in and improve it by hand BUT
(A That would be a huge job
(B It would likely result in a buggy code block that doesn't work
so that is off the table.
This thought started as I watched a fab job waste a lot of time doing non-printing moves from one end of a part to the other just to fill in a couple of wide blocks at each end. A MUCH more optimal process would have completed a block at one end then moved to the other end and completed the 2nd block. This is just single sample but I see it somewhat regularly on parts.
In theory (mine and unsupported by any facts other than my opinion) it should be possible to optimize the code to eliminate extraneous moves (for which I have NO idea for an algorithm to do same. I know how to find the offending G0 moves, but not how to optimize them other than by hand.)
I just wonder if anyone has such a scheme. It's really hard to be the first person with this problem and thought.
(A That would be a huge job
(B It would likely result in a buggy code block that doesn't work
so that is off the table.
This thought started as I watched a fab job waste a lot of time doing non-printing moves from one end of a part to the other just to fill in a couple of wide blocks at each end. A MUCH more optimal process would have completed a block at one end then moved to the other end and completed the 2nd block. This is just single sample but I see it somewhat regularly on parts.
In theory (mine and unsupported by any facts other than my opinion) it should be possible to optimize the code to eliminate extraneous moves (for which I have NO idea for an algorithm to do same. I know how to find the offending G0 moves, but not how to optimize them other than by hand.)
I just wonder if anyone has such a scheme. It's really hard to be the first person with this problem and thought.
Comments
But no, I'm not aware of a software doing what you aim for.
OK, good enough is good enough. Worth a try to ask.