Hey everyone,
For months now I have been struggling with getting cutter compensation (G41) to work with Mach3. I've read everything I could find on the subject, but unfortunately I'm stuck. I've even written some scripts that will take the gcode below and reverse the compensation by changing the coordinates by the radius of the tool, but that has proven to be difficult to perfect.
Anyways.. here is the sample code:
https://gist.github.com/da9f16759332b47ca3e2This code does run through the machine, and the dimensions are correct. Unfortunately though, at various stages it will ruin the part, either as it finishes the compensation or as its about to begin.
First issue is that for the "blind dado", as it finishes the cut and attempts to raise the tool (Z1.375), it will snag the piece and cut a hole out of it .. as though it's removing the compensation too early.
Second issue is in the "outline" where the first pass (the lead in move), will essentially move on a diagonal as it lowers the tool for cutting. However, the second pass cutting the same line while within the compensation is fine. Then again it snags away on my piece as it finishes.
Any ideas would be greatly appreciated.
Best,
Peter