(info: db25 connector -- uses iquad.ngc) ; centered at origin, use offsets to relocate o sub # = #1 (=1) # = #2 (=2000) # = #3 (=2 2conv|3climb) # = #4 (=10) # = #5 (=.1) # = #6 (=.02) # = #7 (=0.2) # = #8 (=0) # = #9 (=0) # = #10 (=0) # = #11 (=0) # = #12 (=1) #= #13 (=0) # = #14 (=0) ; reject tools that are too big o call [#][#][#][#] # = #5410 o if [# Gt 0.12501] (debug, db25: tooldiam too big: # - EXITING) (print, db25: tooldiam too big: # - EXITING) (AXIS,notify, db25: tooldiam too big - EXITING) m2 o endif ; http://www.interfacebus.com/Connector_D-Sub_Mechanical_Dimensions.html ; mounting hole spacing is 1.857 # = 1.635 # = 1.675 ; adjust to allow use of 0.125 cutter diameter # = 0.432 # = [# - 2 * # * tan[10]] ; center at origin # = [0.5 * #] # = [0.5 * #] # = [ 0.5 * #] # = [-0.5 * #] # = [-0.5 * #] # = [-0.5 * #] # = [-0.5 * #] # = [ 0.5 * #] # = 1.0 ocall[#][#][#][#][#][#][#][#][#][#][#][#][#][#][#][#][#][#][#][#] o endsub