Index: trunk/footprint/thru-hole/HEPTAWATT.scad =================================================================== --- trunk/footprint/thru-hole/HEPTAWATT.scad (revision 37520) +++ trunk/footprint/thru-hole/HEPTAWATT.scad (revision 37521) @@ -31,7 +31,7 @@ // in any way. // -module heptawatt() +module heptawatt(pin_descent=2.5) { pins=7; pin_thickness = 0.5; @@ -57,20 +57,18 @@ notch_height = 6.0; module pin() { - pin_descent = 2.5; rotate([0,-90,180]) translate([-pin_thickness/2,0,-pin_width/2]) linear_extrude(height=pin_width) scale([0.7553,1.0]) - polygon([[0,0],[0.51,0],[0.51,0.56],[0.54,0.7],[0.6,0.82],[0.71,0.93],[0.84,1.02],[1.0,1.08],[6.26,2.24],[6.64,2.35],[6.86,2.47],[7.01,2.59],[7.11,2.74],[7.15,2.9],[7.15,5.5],[6.62,5.5],[6.62,3.29],[6.6,3.14],[6.57,2.99],[6.48,2.87],[6.22,2.76],[6.08,2.72],[0.72,1.55],[0.49,1.45],[0.3,1.34],[0.13,1.21],[0.02,0.99],[0,0.79]]); + polygon([[0,0],[0.51,0],[0.51,0.56],[0.54,0.7],[0.6,0.82],[0.71,0.93],[0.84,1.02],[1.0,1.08],[6.26,2.24],[6.64,2.35],[6.86,2.47],[7.01,2.59],[7.11,2.74],[7.15,2.9],[7.15,3+pin_descent],[6.62,3+pin_descent],[6.62,3.29],[6.6,3.14],[6.57,2.99],[6.48,2.87],[6.22,2.76],[6.08,2.72],[0.72,1.55],[0.49,1.45],[0.3,1.34],[0.13,1.21],[0.02,0.99],[0,0.79]]); } module pin2() { - pin_descent = 2.5; rotate([0,-90,180]) translate([-pin_thickness/2,0,-pin_width/2]) linear_extrude(height=pin_width) - polygon([[0,0],[0.5,0],[0.5,5.5],[0.0,5.5]]); + polygon([[0,0],[0.5,0],[0.5,3+pin_descent],[0.0,3+pin_descent]]); } module body() {