Hello Les,
is it possible to let sheetcam add numbers for each line in the generated
codes?
This would be helpful when searching for specific lines/commands in the gcode.
Thank you very much and best regards,
Marc
Hello Les,
is it possible to let sheetcam add numbers for each line in the generated
codes?
This would be helpful when searching for specific lines/commands in the gcode.
Thank you very much and best regards,
Marc
Most posts already do this. Which post are you using?
Oh, sorry.
I’m using the usbcnc-post-processor
Today you are really fast^^
Go to Options->machine->post processor and click on the ‘edit post’ button. Add this to the end of the file:
function OnNewLine()
post.Text ("N")
post.Number (lineNumber, "0000")
lineNumber = lineNumber + 10
end
Now save it and close the editor. Go back to Options->machine->post processor and select ‘USBCNC (edited)’
That should do the trick.
It works, thank you very much, also for the fast reply ![]()