All-

I'm thinking about writing some gcode filters for EMC2 in python, and want
to make these as robust and flexible as possible.  To that end, I'm
wondering if there is a typical approach to parsing and validating
arbitrary-format gcode into some sort of canonical form so that a
text-based approach to transformation could be more generically written.  I
see there is rs274 python bindings, but the API for that is not clear to
me.  It seems it is for parsing gcode, but I don't see how I would use it
to "pretty print" or normalize a gcode file for subsequent processing.

In particular my first goal is a filter that would take XYZ input and with
some parameters (radius, etc.) wrap the Y axis around an A axis.  Any
advice on that particular problem or alternate approaches is certainly
welcome.

I've very much enjoying EMC2 and am working on my second machine conversion
(an Anilam 3300) using Mesa 5i23 after finishing building and integrating a
stepper-based rotary table:

http://code.google.com/p/sector67-sandbox/wiki/FourthStepperAxis

Thus my need for some software to generate A axis gcode :-)

Thanks much!

Scott
------------------------------------------------------------------------------
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

Reply via email to