it is quite obvious that a good incooporation to emc would be:
1) give them a specific file extenions eg : .cgc
2) have your filter expect the code from standard input e.g. std:cin
3) use the Filter section in theconfig/devicename.ini to form a connection
between your extension and the converter
4) Open the files directly in axis.

greetings,
 Bernhard Kubicek



On Wed, Apr 7, 2010 at 9:33 AM, Sven Wesley <svenne.d...@gmail.com> wrote:

> Me like!
>
>
>
> 2010/4/7 Flying Electron Inc <sa...@flyingelectron.com>
>
> > Hi All,
> >
> > I wrote a python extension for axis that allows C language style
> extensions
> > to the GCode if anyone wants to give it a try.
> >
> > http://tsemsb.blogspot.com/2010/04/cgcc-gcode-with-c-constructs.html
> >
> > It allows you to write code like this:
> >
> > // Constants
> > const float X_Holes = 10;
> > const float Y_Holes = 10;
> >
> > // Loop
> > for (float y = 0; y < Y_Holes; y++) {
> >    for (float x = 0; x < X_Holes; x++) {
> >        if (x != y) {
> >            G00 Z1
> >            G00 X[x] Y[y]
> >            G01 Z0 F1
> >            G00 Z1
> >        }
> >    }
> > }
> >
> > and it gets translated into regular GCode with o-words.
> >
> > Lawrence
> >
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to