Chris Radek wrote: > > But for a modern gcode or for the linuxcnc gcode in particular, this > is not the slightest bit true, and it is a disservice for those in the > know to say it, since inexperienced people hearing it will try to > write regexp-based gcode parsers or other foolishness, and then will > encounter something like > OK, I guess I should have restricted my comment to what I thought the original post was about, which was converting code from a general CAD/CAM system for some special cases. I think the OP was wanting to rotate a part generated by a CAD system he doesn't have 90 degrees in the XY plane. That should be pretty easy to do. I do not know of any CAD/CAM system that produces code using all the math, variable arithmetic and subroutine features of EMC's flavor of G-code.
I agree that a "general parser" that can handle any valid EMC syntax that you could throw at it could be quite a bit more difficult. Jon ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users