Trying to run this on a machine whose machine unit is inch.

%
g7g21 (disameter mode,g21mm mode)
s500
(#<_tp_mm>      =       1.00)
#<_tpmm>        =       1.00 ( a 1.0 mm thread )
#<_pitch>       =       [1.000 / #<_tpmm>]
(debug,pitch=#<_pitch>)
( set threads OD )
#<_thread_OD>   =       8.9500 ( Make smaller till fits 8mm.5 nut )

( from thread_OD set drive& retrace diameters )
( set drive line OD )
#<_drive_line>=[#<_thread_OD> + 0.500] ( mm )
(debug,drive line=#<_drive_line>)
( set z far enough away sync is good for startup accel wibblies )
#<_zdrive_start>=46 (mm) ( move to here, goes to 18mm displayed in mm )
( ending point of thread at first pass, Q will advance it! )
#<_zend>        =       27 ( mm but didn't step it that far )

( calculate this K from pitch )
( set k, peak to valley of std USS/USF thread format = pitch/0.866 -10% 
clipped from peak and valley )
(#<kpp> should=1.0, debug print it)
( so I want to use 80% of pitch /0.866 according to the Handbook)
#<_kpp>=[0.8 * [#<_pitch> / 0.866]]
(debug, kpp=#<_kpp>)
( set threads OD, drive_line minus i )
#<_i_cut>=[0.000 - [#<_drive_line> + #<_thread_OD>] + 0.1]
( i_cut tbd after watching it cut air)
(debug, i cut=#<_i_cut>)
g1f60 x#<_drive_line>
m3g4p2 (start spindle, wait for speed)
g1f60 z#<_zdrive_start>
g76 p#<_pitch> z#<_zend> i#<_i_cut> j0.010 k#<_kpp> r1.96 q30.3 h2 e0.25 l2
( leave it where it started from )
g1f60 x#<_drive_line>
(but out of the way for test fits)
g1f60 z[#<_zdrive_start> + 4.00]
g1f120x21.1 (back it out of the way to check screw fit)
m5
m2
%

Obviously I screwed up, or 2.5.4 can no longer do this.  I would rather I 
screwed up.  But its bothering me, a lot, that the G20-21 applies only to 
the length now, and there is no way to switch the radius/diamater from inch 
to mm.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to