Grbl is a small gcode controller using the Arduino hardware. G81 is not supported and it looks like will never be supported.
see https://github.com/grbl/grbl/issues/125#issuecomment-10696396
I may overlooked it but would it be possible to generate the drill file without G81 and just use more G1 lines?
Hello,
here is a patch to add a new switch: drill-no-canned-cycles
This breaks down the G81 Gcode into G0/G1 standard Gcode...
Thanks,
Markus
This patch is a little bit more clean... however I'm unable to get the last commit out?? I just don't know how to use git...
test input file
G81 test output
no canned cycle output test
FYI this is how I called the program to generate the test files:
./pcb2gcode --drill test.drl --zsafe 10 --zchange 50 --zdrill -1 --drill-feed 200 --drill-speed 30000 --drill-no-canned-cycles --drill-output test_no.nc
I changed the name of the command line option to primitive-gcode; looks like there are some other places that output gcode that is to high for Grbl and I will change this in other patches... but I don't want to have many switches - this one switch will just control all the gcode output for the whole program and switch it to use only primitive gcode. No G81 and no #xx variable are supported by Grbl.
Added --nog81 option in commit 3cba085d4dfb7b4a0ceea24d0436ae78074f6267