cncdrive wrote:It varies is different in the same g-code file (looks good sometimes and not the other times) because your starting point (tool starting location) is different each time, so it depends on from what starting point you doing the compansation.
The beginning of the work of the G-code always took place from one place, at the top of the coordinates Z.
How the code is interpreted should never depend on where the machine was when it was not running.
Today I run g-code and get one, but when I run this code tomorrow, I get another product?
or several identical (same code) parts on the table are cut out differently ...
if you look closely at the path, half of parts are completely damaged by the wrong lead-in.
the path is the same in all cases, only the rotation of the part is different.
cncdrive wrote:It is possible that your tool for example is so close to the starting point that it is impossible to do the compensation properly.
I selected real parameters for compensation, and tested the code on other CNCs. mach3, linuxcnc show the way exactly like the simulation in CAM.
But the UCCNC creates a different, incorrect result.
The good news is that the wrong way is only at the moment of switching the compensation on and off (the lines next to g40/41/42 are usually the tool in and out). At other times, the entire path is correct.