If you swap out the knurlPerDia definition line with the following two lines, it will calculate the number of knurls to cut from workpieceDia:
#<knurlPerInch> = 12 #<knurlPerDia> = ROUND[[#<workpieceDia> * 3.14159 * #<knurlPerInch>]] > On Sep 13, 2015, at 1:06 PM, Tom Easterday <tom-...@bgp.nu> wrote: > Also I should point out that knurlPerDia is probably misnamed. Might better > be called knurlPerCircum or threadPerCircum. Essentially, it is the number > of threads cut across the circumference of the piece. The number we use is > (in this case anyway) the workpiece diameter * Pi * 12 rounded to nearest > integer - but can change depending on what diameter workpiece you have and > how big or small you want the knurls (the sort-of-TPI or thread per > circumference TPC) on the piece. ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users