well - that is just cool!
Nice work

sam

Flying Electron Inc wrote:
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.437 / Virus Database: 271.1.1/2794 - Release Date: 04/06/10 
> 06:32:00
>
>   
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to