On 27 July 2014 05:58, Gene Heskett <[email protected]> wrote: >> Does the code depend on a parameter that isn't set at program load >> time?
> Well, for the G76 code, you do need quite a few parameters, but the only > ones set at program load time are the Zstart, Zend, TPI or TPmm and the OD > of the thread. It isn't that, then. The values are right there in the code. I have had strange behaviour when values are pulled in from the G-code "analogue inputs" which may not have any value at the time that the G-code it loaded. (In 2.6 this gets much neater, my thread cutting macro now uses lines like this: #4 = #<_hal[gladevcp.thread.pitch-f]> (Feed / Pitch) To pull values into G-code direct from HAL. I will comment that metric threads are not specified by threads-per-mm so I think you have a bogus pitch calculation going on. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
