Index: trunk/footprint/smd/DO214.scad =================================================================== --- trunk/footprint/smd/DO214.scad (revision 37498) +++ trunk/footprint/smd/DO214.scad (revision 37499) @@ -35,7 +35,6 @@ module impl (L, W, H, P, Tw, Th) { delta = 1e-3 ; - $fn = 30 ; module lead (P, Tw, Th) color ([0.9, 0.9, 0.9]) Index: trunk/footprint/smd/SOD123.scad =================================================================== --- trunk/footprint/smd/SOD123.scad (revision 37498) +++ trunk/footprint/smd/SOD123.scad (revision 37499) @@ -32,8 +32,6 @@ module part_sod123() { - $fn = 30 ; - A = 1.35 ; D = 1.8 ; E = 2.84 ; Index: trunk/footprint/smd/SOD323.scad =================================================================== --- trunk/footprint/smd/SOD323.scad (revision 37498) +++ trunk/footprint/smd/SOD323.scad (revision 37499) @@ -32,8 +32,6 @@ module part_sod323() { - $fn = 30 ; - module lead() color ([0.9, 0.9, 0.9]) { Index: trunk/footprint/smd/SOD80.scad =================================================================== --- trunk/footprint/smd/SOD80.scad (revision 37498) +++ trunk/footprint/smd/SOD80.scad (revision 37499) @@ -44,18 +44,18 @@ union () { color([1,0.1,0.1]) { translate([0,0,0.35/2]) - rounded_cylinder(r=0.73,h=2.8,n=0.2,$fn=80); + rounded_cylinder(r=0.73,h=2.8,n=0.2); } color([0.1,0.1,0.1]) { translate([0,0,0.7]) - cylinder(r=0.74, h=0.35, $fn = 30); + cylinder(r=0.74, h=0.35); } color([0.8,0.8,0.8]) { translate([0,0,-0.35/2]) - cylinder(r=0.8, h=0.35, $fn = 30); + cylinder(r=0.8, h=0.35); translate([0,0,0.35/2 + 2.8]) - cylinder(r=0.8, h=0.35, $fn = 30); + cylinder(r=0.8, h=0.35); } } } Index: trunk/footprint/smd/SOD87.scad =================================================================== --- trunk/footprint/smd/SOD87.scad (revision 37498) +++ trunk/footprint/smd/SOD87.scad (revision 37499) @@ -44,18 +44,18 @@ union () { color([1,0.1,0.1]) { translate([0,0,0.3/2]) - rounded_cylinder(r=0.95,h=2.9,n=0.2,$fn=80); + rounded_cylinder(r=0.95,h=2.9,n=0.2); } color([0.1,0.1,0.1]) { translate([0,0,0.7]) - cylinder(r=0.96, h=0.35, $fn = 30); + cylinder(r=0.96, h=0.35); } color([0.8,0.8,0.8]) { translate([0,0,-0.3/2]) - cylinder(r=1.025, h=0.3, $fn = 30); + cylinder(r=1.025, h=0.3); translate([0,0,0.3/2 + 2.8]) - cylinder(r=1.025, h=0.3, $fn = 30); + cylinder(r=1.025, h=0.3); } } } Index: trunk/footprint/smd/TANT.scad =================================================================== --- trunk/footprint/smd/TANT.scad (revision 37498) +++ trunk/footprint/smd/TANT.scad (revision 37499) @@ -35,7 +35,6 @@ module impl (L, W, H, P, Tw, Th) { delta = 1e-3 ; - $fn = 30 ; module lead (P, Tw, Th) color ([0.9, 0.9, 0.9]) Index: trunk/footprint/thru-hole/HC49U.scad =================================================================== --- trunk/footprint/thru-hole/HC49U.scad (revision 37498) +++ trunk/footprint/thru-hole/HC49U.scad (revision 37499) @@ -38,7 +38,6 @@ pin_diameter = 0.43; pcb_offset = 0.1; rounding = 0.5; - $fn = 50; // r[adius], h[eight], [rou]n[d] module rounded_cylinder(r,h,n) { Index: trunk/footprint/thru-hole/HC49UH.scad =================================================================== --- trunk/footprint/thru-hole/HC49UH.scad (revision 37498) +++ trunk/footprint/thru-hole/HC49UH.scad (revision 37499) @@ -38,7 +38,6 @@ pin_diameter = 0.43; pcb_offset = 0.1; rounding = 0.5; - $fn = 50; // r[adius], h[eight], [rou]n[d] module rounded_cylinder(r,h,n) { Index: trunk/footprint/thru-hole/HC51U.scad =================================================================== --- trunk/footprint/thru-hole/HC51U.scad (revision 37498) +++ trunk/footprint/thru-hole/HC51U.scad (revision 37499) @@ -40,7 +40,6 @@ major_axis2 = 19.2; pcb_offset = 0.1; rounding = 0.5; - $fn = 50; // r[adius], h[eight], [rou]n[d] module rounded_cylinder(r,h,n) { Index: trunk/footprint/thru-hole/HC51UH.scad =================================================================== --- trunk/footprint/thru-hole/HC51UH.scad (revision 37498) +++ trunk/footprint/thru-hole/HC51UH.scad (revision 37499) @@ -40,7 +40,6 @@ major_axis2 = 19.2; pcb_offset = 0.1; rounding = 0.5; - $fn = 50; // r[adius], h[eight], [rou]n[d] module rounded_cylinder(r,h,n) { Index: trunk/footprint/thru-hole/HEPTAWATT.scad =================================================================== --- trunk/footprint/thru-hole/HEPTAWATT.scad (revision 37498) +++ trunk/footprint/thru-hole/HEPTAWATT.scad (revision 37499) @@ -56,8 +56,6 @@ notch_size = 3.0; notch_height = 6.0; - $fn = 30; - module pin() { pin_descent = 2.5; rotate([0,-90,180]) Index: trunk/footprint/thru-hole/LED.scad =================================================================== --- trunk/footprint/thru-hole/LED.scad (revision 37498) +++ trunk/footprint/thru-hole/LED.scad (revision 37499) @@ -36,12 +36,12 @@ union () { color([1.0,0.1,0.1]) { translate ([0.0,0.0,height-diameter/2]) - sphere(r = diameter/2, $fn = 50); - cylinder(r = diameter/2, h = height-diameter/2, $fn = 50); + sphere(r = diameter/2); + cylinder(r = diameter/2, h = height-diameter/2); intersection () { translate ([-0.45,0,0.5]) cube ([diameter+0.9, diameter+0.9, 1.0], true); - cylinder(r = (diameter+0.9)/2, h = 1.0, $fn = 50); + cylinder(r = (diameter+0.9)/2, h = 1.0); } } color([0.8,0.8,0.8]) { Index: trunk/footprint/thru-hole/MULTIWATT11.scad =================================================================== --- trunk/footprint/thru-hole/MULTIWATT11.scad (revision 37498) +++ trunk/footprint/thru-hole/MULTIWATT11.scad (revision 37499) @@ -56,8 +56,6 @@ notch_size = 3.0; notch_height = 6.0; - $fn = 30; - module pin() { pin_descent = 2.5; rotate([0,-90,180]) Index: trunk/footprint/thru-hole/MULTIWATT15.scad =================================================================== --- trunk/footprint/thru-hole/MULTIWATT15.scad (revision 37498) +++ trunk/footprint/thru-hole/MULTIWATT15.scad (revision 37499) @@ -56,8 +56,6 @@ notch_size = 3.0; notch_height = 6.0; - $fn = 30; - module pin() { pin_descent = 2.5; rotate([0,-90,180]) Index: trunk/footprint/thru-hole/MULTIWATT8.scad =================================================================== --- trunk/footprint/thru-hole/MULTIWATT8.scad (revision 37498) +++ trunk/footprint/thru-hole/MULTIWATT8.scad (revision 37499) @@ -57,8 +57,6 @@ notch_size = 3.0; notch_height = 6.0; - $fn = 30; - module pin() { pin_descent = 2.5; linear_extrude(height=pin_thickness) Index: trunk/footprint/thru-hole/OSC14_8.scad =================================================================== --- trunk/footprint/thru-hole/OSC14_8.scad (revision 37498) +++ trunk/footprint/thru-hole/OSC14_8.scad (revision 37499) @@ -50,7 +50,6 @@ minor_rounding = 0.4; pin_spacing_x = 2.54*3; pin_spacing_y = 2.54*(6-size*3); - $fn = 50; // r[adius], h[eight], [rou]n[d] module rounded_cylinder(r,h,n) { Index: trunk/footprint/thru-hole/PENTAWATT.scad =================================================================== --- trunk/footprint/thru-hole/PENTAWATT.scad (revision 37498) +++ trunk/footprint/thru-hole/PENTAWATT.scad (revision 37499) @@ -56,8 +56,6 @@ notch_size = 3.0; notch_height = 6.0; - $fn = 30; - module pin() { pin_descent = 2.5; rotate([0,-90,180]) Index: trunk/footprint/thru-hole/TACT_6x6_4p.scad =================================================================== --- trunk/footprint/thru-hole/TACT_6x6_4p.scad (revision 37498) +++ trunk/footprint/thru-hole/TACT_6x6_4p.scad (revision 37499) @@ -47,8 +47,6 @@ dimple_height = 0.3; dimple_spacing = 4.5; - $fn = 30; - module pin() { rotate([90,0,0]) translate([-pin_thickness/2,1.2,-pin_width/2]) Index: trunk/footprint/thru-hole/TO126.scad =================================================================== --- trunk/footprint/thru-hole/TO126.scad (revision 37498) +++ trunk/footprint/thru-hole/TO126.scad (revision 37499) @@ -53,7 +53,6 @@ device_width = 8.2; body_thickness = 2.8; body_offset = body_thickness/2; - $fn = 30; module downbent_pin(S=0) { pin_descent = 2.5 + body_offset-1.02; Index: trunk/footprint/thru-hole/TO126W.scad =================================================================== --- trunk/footprint/thru-hole/TO126W.scad (revision 37498) +++ trunk/footprint/thru-hole/TO126W.scad (revision 37499) @@ -53,7 +53,6 @@ device_width = 8.2; body_thickness = 2.8; body_offset = body_thickness/2; - $fn = 30; module pin(S=0) { pin_descent = (1-S)*2.5 + S*1.717; Index: trunk/footprint/thru-hole/TO18.scad =================================================================== --- trunk/footprint/thru-hole/TO18.scad (revision 37498) +++ trunk/footprint/thru-hole/TO18.scad (revision 37499) @@ -39,7 +39,6 @@ tab_square = 1.0; pin_diameter = 0.45; pcb_offset = 3.0; - $fn = 50; // r[adius], h[eight], [rou]n[d] module rounded_cylinder(r,h,n) { Index: trunk/footprint/thru-hole/TO220.scad =================================================================== --- trunk/footprint/thru-hole/TO220.scad (revision 37498) +++ trunk/footprint/thru-hole/TO220.scad (revision 37499) @@ -52,7 +52,6 @@ body_thickness = 4.45; chamfer = 0.5; body_offset = 2.76; - $fn = 30; module downbent_pin(S=0) { pin_descent = 4.5; Index: trunk/footprint/thru-hole/TO220SW.scad =================================================================== --- trunk/footprint/thru-hole/TO220SW.scad (revision 37498) +++ trunk/footprint/thru-hole/TO220SW.scad (revision 37499) @@ -52,7 +52,6 @@ body_thickness = 4.45; chamfer = 0.5; body_offset = 2.76; - $fn = 30; module pin() { linear_extrude(height=pin_thickness) Index: trunk/footprint/thru-hole/TO220W.scad =================================================================== --- trunk/footprint/thru-hole/TO220W.scad (revision 37498) +++ trunk/footprint/thru-hole/TO220W.scad (revision 37499) @@ -52,7 +52,6 @@ body_thickness = 4.45; chamfer = 0.5; body_offset = 2.76; - $fn = 30; module pin() { linear_extrude(height=pin_thickness) Index: trunk/footprint/thru-hole/TO247.scad =================================================================== --- trunk/footprint/thru-hole/TO247.scad (revision 37498) +++ trunk/footprint/thru-hole/TO247.scad (revision 37499) @@ -55,8 +55,6 @@ notch_size = 5.0; notch_height = 5.6; - $fn = 30; - module pin() { pin_descent = 2.5; linear_extrude(height=pin_thickness) Index: trunk/footprint/thru-hole/TO251.scad =================================================================== --- trunk/footprint/thru-hole/TO251.scad (revision 37498) +++ trunk/footprint/thru-hole/TO251.scad (revision 37499) @@ -53,8 +53,6 @@ dimple_dia = 1.2; hole_height = device_height/2; - $fn = 30; - module pin() { pin_descent = 2.5; linear_extrude(height=pin_thickness) Index: trunk/footprint/thru-hole/TO264.scad =================================================================== --- trunk/footprint/thru-hole/TO264.scad (revision 37498) +++ trunk/footprint/thru-hole/TO264.scad (revision 37499) @@ -56,8 +56,6 @@ notch_height = 6.0; notch2_height = 15.0; - $fn = 30; - module pin() { pin_descent = 2.5; linear_extrude(height=pin_thickness) Index: trunk/footprint/thru-hole/TO39.scad =================================================================== --- trunk/footprint/thru-hole/TO39.scad (revision 37498) +++ trunk/footprint/thru-hole/TO39.scad (revision 37499) @@ -39,7 +39,6 @@ tab_square = 0.82; pin_diameter = 0.41; pcb_offset = 3.0; - $fn = 50; // r[adius], h[eight], [rou]n[d] module rounded_cylinder(r,h,n) { Index: trunk/footprint/thru-hole/TO92.scad =================================================================== --- trunk/footprint/thru-hole/TO92.scad (revision 37498) +++ trunk/footprint/thru-hole/TO92.scad (revision 37499) @@ -49,7 +49,7 @@ intersection () { translate ([0,-1.0,height/2]) cube ([diameter, diameter, height], true); - cylinder(r = diameter/2, h = height, $fn = 50); + cylinder(r = diameter/2, h = height); } } }