Re: [Emc-users] EMC2 G-code Math

2009-06-11 Thread Jeff Epler
Expressions are described in the documentation: http://linuxcnc.org/docs/html/gcode_overview.html#sub:Expressions they ultimately call underlying functions in the standard C math library. There are no built-in constants such as 'pi' or 'e'. However, pi is often not needed because the builtin

Re: [Emc-users] EMC2 G-code Math

2009-06-11 Thread Kenneth Lerman
Kirk Wallace wrote: Where does the math software used in g-code come from? In other words, does anyone have links to more information on the g-code math functions? Among other things, I would like to know if there is a pi function, or do I need to use *3.14159265358579.? Thanks for any

Re: [Emc-users] EMC2 G-code Math

2009-06-11 Thread Kirk Wallace
On Thu, 2009-06-11 at 11:30 -0500, Jeff Epler wrote: Expressions are described in the documentation: http://linuxcnc.org/docs/html/gcode_overview.html#sub:Expressions they ultimately call underlying functions in the standard C math library. There are no built-in constants such as 'pi' or