Hi All, I've been incrementally improving gcmc to support more and more features for easier and more general use. The new 1.4.0 version is a larger step forward and includes multiple backends to output in G-code, SVG and DXF formats. This enables gcmc to be used not only for mills/lathes, but also for laser cutters (and everything else I have not thought of yet ;-)
The new backends can be selected on the command-line; see http://www.vagrearg.org/content/gcmc#running for details on all command-line options. Changes include: - Feature: add elif() construct in flow control to allow if(){} elif{}... else{} constructs - Feature: add SVG and DXF backends. Now gcmc can output in g-code, svg and dxf in either metric or imperial units - Feature: rotate_XX() functions now accept both vectors and vectorlists - Feature: array indices may now be negative to address from the last entry in a vector or vectorlist - Feature: svg backend may use svg_closepath() to ensure closed SVG paths - Feature: add isgcode(), issvg() and isdxf() query functions to detect target backend in scripts - Feature: add scale() function to scale vectors and vectorlists - Feature: add example of a laser-cut box - Fix: filemode for windows must take text/binary into account - Fix: properly test arc's radius vs start-/end-point to detect invalid arcs - Fix: allow stand-alone function calls in conditional expressions - Fix: coolant() function now accepts string argument to bring it inline with other g-code control functions - Fix: allow all examples to be built within the source-tree (make examples) - Fix: prevent several potential NULL pointer dereferences in value handling You can get the new version from the homepage: http://www.vagrearg.org/content/gcmc The set of examples can be compiled to all three output formats and screenshots of the results can be found at: http://www.vagrearg.org/content/gcmc#screenshots The online documentation is updated to reflect the changes: http://www.vagrearg.org/content/gcmc-syntax http://www.vagrearg.org/content/gcmc-funcref Let me know if you run into any problems or have requests for changes. -- Greetings Bertho (disclaimers are disclaimed) ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
