Save this out as "metric-G76.ngc" and look at it in your own backplot.
=========================================
%
g21     (use metric measurements for this one)
g8      (use radiusa mode for X)
s500 ( a bit fast, but)
        ( all measurements in millimeters, set thread pitch )
#<_tp_mm>       =       .508 (50 tpi in inch)
( metric does NOT need the reciprocal! only inch does )
( set threads OD )
#<_thread_mm_OD>        =       6.35

( from thread_OD set drive& retrace diameters )
( set drive line OD )
#<_x_drive_line>        =       [#<_thread_mm_OD> + 1.10]
(debug, drive_line = #<_x_drive_line>)
( set z far enough away sync is good. -0.1 leaves .2" for startup accel 
wibblies )
#<_z_drive_start>       =       0.0000 (mm)

( ending point of thread at first pass, Q will advance it! )
#<_z_end> = -17 (in mm folks)

( calculate this K from tp_mm )
( so I want to use 80% of tp /0.866 according to the Handbook)
#<_kpp>=[0.8 * [#<_tp_mm> / 0.866]]
(debug, kpp = #<_kpp>)
( for external thread )
( set threads OD, x_drive_line minus i )
#<_i_cut> = -[0.000 -[#<_x_drive_line> - #<_thread_mm_OD>] + 0.03]
(debug, i_cut = #<_i_cut>)
#<_e_taper>     =       -[#<_z_end> + #<_z_drive_start> + #<_tp_mm>]
(debug,e_taper=#<_e_taper>)
g1 f250 x#<_x_drive_line>
g1 f250 z#<_z_drive_start>
m3
g4p1
g76 p#<_tp_mm> z#<_z_end> i#<_i_cut> j0.125 r1.90 k#<_kpp> q29.99 h3 
e#<_e_taper> l2
( leave it where it started from )
g1f950 x#<_x_drive_line>
g1f1450 z180
(room to inspect thread)
m5
m2
%
=================================================================
When I get the little monster back to breathing on its own, I'll make a 
tapered nut just to test the fit.

Cheers, Gene Heskett
-- 
"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>

------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to