Index: trunk/footprint/thru-hole/MULTIWATT11.scad =================================================================== --- trunk/footprint/thru-hole/MULTIWATT11.scad (revision 37519) +++ trunk/footprint/thru-hole/MULTIWATT11.scad (revision 37520) @@ -31,7 +31,7 @@ // in any way. // -module multiwatt11() +module multiwatt11(pin_descent=2.5) { pins=11; pin_thickness = 0.6; @@ -57,19 +57,17 @@ 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) - 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,0.71],[0.51,0.8],[0.54,0.89],[0.61,1.02],[1.70,2.31],[1.84,2.5],[1.92,2.66],[1.95,2.80],[1.96,2.98],[1.97,3.18],[1.97,5.5],[1.37,5.5],[1.37,3.4],[1.36,3.2],[1.34,3.01],[1.29,2.85],[1.22,2.68],[1.12,2.52],[1.02,2.38],[0.2,1.4],[0.13,1.26],[0.06,1.10],[0.01,0.96],[0,0.8]]); + polygon([[0,0],[0.5,0],[0.5,0.71],[0.51,0.8],[0.54,0.89],[0.61,1.02],[1.70,2.31],[1.84,2.5],[1.92,2.66],[1.95,2.80],[1.96,2.98],[1.97,3.18],[1.97,3+pin_descent],[1.37,3+pin_descent],[1.37,3.4],[1.36,3.2],[1.34,3.01],[1.29,2.85],[1.22,2.68],[1.12,2.52],[1.02,2.38],[0.2,1.4],[0.13,1.26],[0.06,1.10],[0.01,0.96],[0,0.8]]); } module body() { Index: trunk/footprint/thru-hole/MULTIWATT15.scad =================================================================== --- trunk/footprint/thru-hole/MULTIWATT15.scad (revision 37519) +++ trunk/footprint/thru-hole/MULTIWATT15.scad (revision 37520) @@ -31,7 +31,7 @@ // in any way. // -module multiwatt15() +module multiwatt15(pin_descent=2.5) { pins=15; pin_thickness = 0.6; @@ -57,19 +57,17 @@ 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) - 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,0.71],[0.51,0.8],[0.54,0.89],[0.61,1.02],[1.70,2.31],[1.84,2.5],[1.92,2.66],[1.95,2.80],[1.96,2.98],[1.97,3.18],[1.97,5.5],[1.37,5.5],[1.37,3.4],[1.36,3.2],[1.34,3.01],[1.29,2.85],[1.22,2.68],[1.12,2.52],[1.02,2.38],[0.2,1.4],[0.13,1.26],[0.06,1.10],[0.01,0.96],[0,0.8]]); + polygon([[0,0],[0.5,0],[0.5,0.71],[0.51,0.8],[0.54,0.89],[0.61,1.02],[1.70,2.31],[1.84,2.5],[1.92,2.66],[1.95,2.80],[1.96,2.98],[1.97,3.18],[1.97,3+pin_descent],[1.37,3+pin_descent],[1.37,3.4],[1.36,3.2],[1.34,3.01],[1.29,2.85],[1.22,2.68],[1.12,2.52],[1.02,2.38],[0.2,1.4],[0.13,1.26],[0.06,1.10],[0.01,0.96],[0,0.8]]); } module body() { Index: trunk/footprint/thru-hole/MULTIWATT8.scad =================================================================== --- trunk/footprint/thru-hole/MULTIWATT8.scad (revision 37519) +++ trunk/footprint/thru-hole/MULTIWATT8.scad (revision 37520) @@ -31,7 +31,7 @@ // in any way. // -module multiwatt8() +module multiwatt8(pin_descent=2.5) { pins=8; pin_thickness = 0.6; @@ -58,7 +58,6 @@ notch_height = 6.0; module pin() { - pin_descent = 2.5; linear_extrude(height=pin_thickness) polygon([[-pin_width1/2,0],[pin_width1/2,0],[pin_width1/2,pin_width1-pin_width2-pin_neck],[pin_width2/2,-pin_neck],[pin_width2/2,-pin_neck-0.01-pin_descent ],[-pin_width2/2,-pin_neck-0.01-pin_descent],[-pin_width2/2,-pin_neck],[-pin_width1/2,pin_width1-pin_width2-pin_neck]]); }