On Tue, Mar 22, 2011 at 09:11:04PM -0500, Igor Chudov wrote: > > > Greetings all; > > > > A couple of question regarding the math used in gcode handling. > > > > 1. What is the best way to turn a positive value into its exact negative? > > I find constructs like g0x-[#<_var>] are rejected out of hand, but its > > seems like there ought to be a better way than > > #<_var-minus> = [[#<_var>] - [[#<_var>] + [#<_var>]]] > > On a separate, confusing the issue line. > > > > > > G0 X[-#<var>]
Older versions didn't have unary minus; in those you can use [0-#123] ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
