On 01/31/2016 02:57 AM, craig wrote: > I use Java, where I have a rich set of mathematical tools to write code > to write and manipulate arrays of "pseudo code" and routines to generate > g-code from the pseudo code. The "pseudo code" has the advantage of > being easily manipulated with java methods (functions). This works > well for me doing the kind of 2 1/2 D decorative designs i make with a > small CNC router. > > I used Java because I knew it and it had both the manipulation tools I > wanted and string generation tools I needed create G-code from arrays in > my notation. > > Being almost undocumented my code would not be much use to anyone else > but the approach might.
Well, that sounds like you are doing abstraction of the G-code. That is exactly what gcmc does (G-Code Meta Compiler: http://www.vagrearg.org/content/gcmc). Only it is encapsulated as a complete stand-alone language and generates G-code (or svg/dxf). Gcmc uses vectors and vectorlists to describe the tool-paths. They are manipulated a rich set of standard math primitives. The language is documented and there are a set of examples to see its operation. (this is also blatant self-advertising... I am the author of gcmc) -- Greetings Bertho (disclaimers are disclaimed) ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users