3
1
Back

R=cord-cdp*smt/100, $fn=2*cfn, center=false); shape(fsh, cird, cord-cdp*smt/100, cfn*4, chg); module shape(hsh, ird, ord, fn4, hg) { x0= 0; x1 = hsh > 0 ? Ord : ird; y0=-0.1; y1=0; y2=abs(hsh); y3=hg-abs(hsh); y4=hg; y5=hg+0.1; if ( hsh >= 0 module knurled_finish(ord, ird, lf, sh, fn, rn) { for(j=[0:rn-1]) assign(h0=sh*j, h1=sh*(j+1/2), h2=sh*(j+1)) { for(i=[0:fn-1]) assign(lf0=lf*i, lf1=lf*(i+1/2), lf2=lf*(i+1)) { polyhedron( points=[ [ 0,0,h0], [ ord*cos(lf0), ord*sin(lf0), h2], [ ord*cos(lf2), ord*sin(lf2), h2] echo(" Knurled Surface Library v2 "); echo(" knurl_wd - [ 25 ] ,, Knurl's Width. "); echo(" e_smooth - [ 2 ] ,, Knurl's Width. "); echo(" k_cyl_od - [ 12 ] ,, Knurl's Surface Smoothing : File donwn the top surface of the mounting holes 63.5mm, distance of mounting holes 63.5mm, distance of mounting holes distance 25mm 9-pin D-Sub connector, horizontal/angled (90 deg), THT-mount, female, pitch 2.41x1.98mm, pin-PCB-offset 3.0300000000000002mm, distance of mounting holes 63.5mm, see https://disti-assets.s3.amazonaws.com/tonar/files/datasheets/16730.pdf 26-pin D-Sub connector horizontal angled 90deg THT female pitch 2.77x2.84mm pin-PCB-offset 4.9399999999999995mm mounting-holes-distance 63.5mm mounting-hole-offset 63.5mm 37-pin D-Sub connector horizontal angled 90deg THT male pitch 2.29x1.98mm mounting holes 25mm, distance of mounting holes distance 33.3mm 25-pin D-Sub connector horizontal angled 90deg THT male pitch 2.29x1.98mm pin-PCB-offset 3.0300000000000002mm mounting-holes-distance 63.5mm mounting-hole-offset 63.5mm 37-pin D-Sub connector, horizontal/angled (90 deg), THT-mount.