Thanks for all your answers! I did indeed read the LinuxCNC G code manual and tested it before asking my question. I just wanted a clarification since I'm just learning G code and some of it, like some of you have mentioned, doesn't seem to be very standardized. It's a bit surprising to me to find out there isn't some standards body (like IEEE or ISO) that oversees a G code standard, considering it's been used for such a long time by so many.
If any of you are interested I've pushed all my code to github: https://github.com/utlco/tcnc It has a cubic Bezier approximator using biarcs and I made it as modular as I could so that parts could be reused for different projects. I started out trying to use the Gcodetools Inkscape extension but the code was very difficult to read and modify so I just wrote my own using some academic papers about biarcs... I'm still refining the biarc approximator to optimize curve accuracy. In particular, the determination of the biarc joint and the algorithm to calculate the Hausdorff distance between the resulting arc and original curve are both a little rudimentary at this point. It seems to work pretty well though and I'm using it now to generate G code for a three axis machine with a tangential tool (under LinuxCNC control of course). thanks again, - Claude On Wed, May 23, 2012 at 10:19 AM, Jon Elson <el...@pico-systems.com> wrote: > Kent A. Reed wrote: >> On 5/23/2012 5:53 AM, andy pugh wrote: >> >>> Unfortunately the >>> G-code standard is not very standard. >>> >> Every information-representation standard I ever met was encumbered with >> exceptions, variants, special cases. After all, they're written by >> committees (on some of which I served, so I'm guilty too). >> > Yeah, I looked this up in the RS-274D manual, and incredibly, they do > not specify the > units of time for a G04! > > Jon > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users