|
From: andy p. <bod...@gm...> - 2013-10-30 13:53:55
|
On 30 October 2013 13:06, Bertho Stultiens <be...@va...> wrote: > The loops and conditionals provided by G-code are, well, archaic. The > format is context-sensitive and uses line numbers to keep track. Moving > things around in a G-code program is a pain. Getting a bit off topic here, but the RS274NGC version of G-code doesn't use line-numbers at all. While/Wend If/Endif are matched by numerical tags, so canbe moved about (but can't be repeated unless you change their identifier tags) http://www.linuxcnc.org/docs/html/gcode/o-code.html I have a feeling that a few years ago someone wrote a system to allow use of something Python-like to create G-code, but I can't find it. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto |