On Sunday 01 November 2020 05:59:13 andy pugh wrote: > On Sat, 31 Oct 2020 at 20:48, Gene Heskett <ghesk...@shentel.net> wrote: > > Yes Jon, r1 does not equal r2. Gawd I wish that error window was > > copy/pastable. The code straight out of counterbore.py has exactly > > the same error. > > G90 / G91 and G90.1 / G91.1 need to match the assumptions of the > G-code.
Referencing simple-gcode-generators.zip, do you get useable gcode out of counterbore.py? I didn't. I tried it straight out, same 50% error. Since arcgenm18.py is a more universal method of doing the same thing, I defined the counterbore as read by miking the head of the screw, subbing the diameter of the tool and adding 10 thou for clearance & depth, used its output, adding the Z and P and it Just Works. I added a G92 x0.0000 y0.0000 at the top of the sub, and a G92.1 to restore when it was done. Sweet. Nice compact PIC gcode. :) Now all I have to do is remember it. :( I don't recall from days of yore, that touch offs survived a rehome or reload of LinuxCNC, but now they do, and that has been a great help recently. Thank you. Now I need to have a method that will let me un-clamp this piece, use it to guide the drilling of tap sized holes in the side of the bs-1, then remount it to drill those same screw holes out for clearing 5mm bolts. I'll try superglueing the pads its sitting on to the table and dropping the drill bit bits in the holes that are drilled into the padding. That should allow it to be remounted for expanding the 4.3mm holes to around 5.1mm with the same location array. I wasn't thinking ahead far enough to glue them down first. :( Dumbass at work... Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users