On 04/10/2014 06:36 PM, Gene Heskett wrote: > On Thursday 10 April 2014 20:29:33 Andy Pugh did opine: > >>> On 10 Apr 2014, at 18:38, Gene Heskett <ghesk...@wdtv.com> wrote: >>> >>> Fspeed for instance, is not scaled up to the metric equ, so the sim >>> runs painfully slow >> >> How do you think it should be done? >> Are you suggesting that after switching to metric and the interpreter >> seeing f15 it should guess you meant inches really? Why shouldn't it >> assume miles per microsecond instead? >> >> I think that the only choice has to be "currently active units" > > I don't think it was quite all that encompassing before, Andy, and you are > by pure common sense correct. So if I run in metric mode, I'll have to > recall that F is in mm per min. That means a bunch of them. As in 15 > ipm=384mm-min.
I usually think in imperial, but i have some programs written by CAM software that thinks in metric. When i have to modify those programs I use inline math, like this: G21 F [15 * 25.4] ; 15 inches/minute * 25.4 mm/inch I just tried to reproduce your issue with 2.5.3-131-ged3ed34 and 2.6.0~pre0-5418-gf74c5d3, and in both cases it behaves correctly as far as i can tell: If i run "G20 F10" it gives a feed rate of 10 ipm. If i then run "G21" the machine switches to metric but leaves the feed rate unchanged, staying at 10 ipm aka 254 mm/min. If i then run "F508" it changes the feed rate to 508 mm/min (aka 20 ipm). If i then run "G20" the machine changes back to imperial and again the feed rate is unchanged at 20 ipm aka 504 mm/min. Gene, can you show us a gcode program that doesn't behave as you expect? -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers