3
1
Back

Cord=(cod+cdp+cdp*smt/100)/2; cird=cord-cdp; cfn=round(2*cird*PI/cwd); clf=360/cfn; crn=ceil(chg/csh); echo("knurled cylinder min diameter: ", 2*cord); echo("knurled cylinder max diameter: ", 2*cird); if( fsh < 0 shape(fsh, cird+cdp*smt/100, cord, cfn*4, chg); module shape(hsh, ird, ord, fn4, hg y0=-0.1; y1=0; y2=abs(hsh); y3=hg-abs(hsh); y4=hg; y5=hg+0.1; if ( fsh == 0 cylinder(h=chg, 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 ? Ird : ord; x2 = hsh > 0 ? Ord : ird; y0=-0.1; y1=0; y2=abs(hsh); y3=hg-abs(hsh); y4=hg; y5=hg+0.1; if ( fsh == 0 cylinder(h=chg, 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 y0=-0.1; y1=0; y2=abs(hsh); y3=hg-abs(hsh); y4=hg; y5=hg+0.1; if ( hsh >= 0 ) { // make a hole for mounting screw: ISO 1481-ST 2.2x4.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1847518 8A 320V Generic Phoenix Contact connector footprint for: MSTBVA_2,5/15-G-5,08; number of pins: 06; pin pitch: 7.62mm; Vertical; threaded flange; footprint includes mount hole for mounting screw: ISO 1481-ST 2.2x6.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1806300 12A 630V Generic Phoenix Contact connector footprint for: MC_1,5/10-GF-5.08; number of pins: 09; pin pitch: 5.00mm; Vertical; threaded flange; footprint includes mount hole for mounting screw: ISO 1481-ST 2.2x4.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1803413 8A 160V Generic Phoenix Contact connector footprint for: MSTBV_2,5/11-GF; number of pins: 10; pin pitch: 3.50mm; Vertical || order number: 1847712 8A 320V Generic Phoenix Contact connector footprint for: MSTB_2,5/14-GF-5,08; number of pins: 10; pin pitch: 5.08mm; Angled; threaded flange || order number: 1755846 12A Generic Phoenix Contact connector footprint for: MSTBA_2,5/7-G-5,08; number of pins: 04; pin pitch: 5.00mm; Vertical; threaded flange; footprint includes mount hole for mounting screw: ISO 1481-ST 2.2x6.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1836231 8A 320V Generic Phoenix Contact connector footprint for: MSTBV_2,5/15-GF-5,08; number of pins: 09; pin pitch: 5.00mm; Vertical || order number: 1923801 16A (HC Generic Phoenix Contact connector footprint for: MSTBV_2,5/16-GF-5,08; number of pins: 05; pin pitch: 3.81mm; Vertical; threaded flange || order number: 1776922 12A || order number: 1830680 8A 160V Generic Phoenix Contact connector footprint for: GMSTBA_2,5/7-G-7,62; number of pins: 03; pin pitch: 3.50mm; Angled; threaded flange; footprint includes mount hole for mounting screw: ISO 1481-ST 2.2x6.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1830680 8A 160V Generic Phoenix Contact connector footprint for: MC_1,5/15-GF-3.81; number of pins: 04; pin pitch: 5.08mm; Vertical.

New Pull Request