OK, so another update. I changed the Linux CNC PP to output X axis coordinates in G8 Radius mode rather than G7 Diameter mode. Changed a line at the beginning of the file which tells the software to change to G7 so that UCCNC remains in G8 mode.
If anyone wants to try it is line 227 in the current version of the PP, look for
- Code: Select all
var xFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:1}); // 1 - Radius mode, 2 - diameter mode
I was playing with gcode generated by grbl turn postprocessor. There I found out that if I opened the file in G7 mode it was all broken, but with G8 it loaded correctly. So I tried it with Linux CNC and it worked, atleast in software. Need to try it on actual lathe later but so far it looks promising.
Now the toolpath looks OK!!!
Any insight into this @uccnc please? Do you maybe have a sample gcode toolpath which uses G7?