On 03/04/2012 09:20 PM, gene heskett wrote: > The code, if someone wants to tell me what is wrong, (& there no doubt is > lots wrong) is at: > > <http://coyoteden.dyndns-free.com:85/gene/Genes-os9-stf/taper_hub.ngc>
This program is slow to load because it contains a very large number of g-code commands. The outer loop, o200, starts at radius 0.4950 and decreases the radius by 0.0006 (!) each time through the loop, until it reaches the final radius of .3875. So that's 179 times through the outer loop. The inner loop, o300, cuts at the selected radius, successively deeper in Z. It starts at 0.0000 and goes down to -0.6000 in increments of 0.001, so that's 600 times through the inner loop. That happens each time we go through the outer loop, so the cut in the inner loop gets executed 179 * 600 = 107,400 times. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
