by adom
0402 SMD Green LED · 3.3 V drop · 25 mA max
← Commit history
Pads: square corners, as the datasheet draws them (no added rounding); viewers, lbr, insertion GLB, hero rebuilt from the footprint
11 files changed
+23−31
IN-S42ATG-fpview.html+3−3@@ -351,9 +351,9 @@ <rect x="1.45" y="1.3" width="1" height="0.5" fill="none" stroke="#6e7681" stroke-width="0.1"/> <line x1="1.7" y1="1.3" x2="1.7" y2="1.8" stroke="#6e7681" stroke-width="0.1"/> <line x1="1.09" y1="1.14" x2="2.45" y2="1.14" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/><line x1="1.09" y1="1.96" x2="2.45" y2="1.96" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/><line x1="1.09" y1="1.14" x2="1.09" y2="1.96" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/>-<rect x="1.25" y="1.25" width="0.4" height="0.6" rx="0.1" ry="0.1" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/>+<rect x="1.25" y="1.25" width="0.4" height="0.6" rx="0" ry="0" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/> <text x="1.45" y="1.55" text-anchor="middle" dominant-baseline="central" font-size="0.180" fill="#fff" font-family="sans-serif">1</text>-<rect x="2.25" y="1.25" width="0.4" height="0.6" rx="0.1" ry="0.1" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/>+<rect x="2.25" y="1.25" width="0.4" height="0.6" rx="0" ry="0" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/> <text x="2.45" y="1.55" text-anchor="middle" dominant-baseline="central" font-size="0.180" fill="#fff" font-family="sans-serif">2</text> </svg> </div>@@ -372,7 +372,7 @@ <div class="info-row"> - <div class="info-item"><span class="info-label">Desc</span><span class="info-value">Land pattern: Inolux datasheet p.1</span></div><div class="info-item"><span class="info-label">Pads</span><span class="info-value">2 · 0.4 × 0.6 mm, r 0.1 mm</span></div><div class="info-item"><span class="info-label">Body</span><span class="info-value">1 × 0.5 mm</span></div><div class="info-item"><span class="info-label">Courtyard</span><span class="info-value">1.9 × 1.1 mm</span></div>+ <div class="info-item"><span class="info-label">Desc</span><span class="info-value">Land pattern: Inolux IN-S42AT series datasheet, p.1 (Recommended Solder Pattern)</span></div><div class="info-item"><span class="info-label">Pads</span><span class="info-value">2 · 0.4 × 0.6 mm, r 0 mm</span></div><div class="info-item"><span class="info-label">Body</span><span class="info-value">1 × 0.5 mm</span></div><div class="info-item"><span class="info-label">Courtyard</span><span class="info-value">1.9 × 1.1 mm</span></div> </div> <div class="info-divider"></div> <div class="coord-row">
IN-S42ATG.adom-lbr.json+2−2@@ -165,7 +165,7 @@ "h_mm": 0.6, "drill_mm": 0.0, "rotation": 0.0,- "shape": "roundrect"+ "shape": "rect" }, { "number": "2",@@ -175,7 +175,7 @@ "h_mm": 0.6, "drill_mm": 0.0, "rotation": 0.0,- "shape": "roundrect"+ "shape": "rect" } ], "graphics": [
IN-S42ATG.glb⋯ 1 unchanged line ⋯
IN-S42ATG.insertion.glb⋯ 1 unchanged line ⋯
IN-S42ATG.kicad_mod+3−3@@ -2,7 +2,7 @@ (version 20240108) (generator "adom-basic-parts-overhaul") (layer "F.Cu")- (descr "Inolux Corporation IN-S42ATG, 0402. Land pattern from Inolux IN-S42AT series datasheet, p.1 (Recommended Solder Pattern); corners: datasheet silent; roundrect radius 0.1 mm = min(0.25 x smaller pad side, 0.1 mm), IPC-7351C rounded corners for paste release")+ (descr "Inolux Corporation IN-S42ATG, 0402. Land pattern from Inolux IN-S42AT series datasheet, p.1 (Recommended Solder Pattern); corners: square, as the datasheet draws them") (tags "0402") (attr smd) (fp_text reference "REF**" (at 0 -1.25) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15))))@@ -13,6 +13,6 @@ (fp_line (start -0.86 -0.41) (end 0.5 -0.41) (stroke (width 0.12) (type default)) (layer "F.SilkS")) (fp_line (start -0.86 0.41) (end 0.5 0.41) (stroke (width 0.12) (type default)) (layer "F.SilkS")) (fp_line (start -0.86 -0.41) (end -0.86 0.41) (stroke (width 0.12) (type default)) (layer "F.SilkS"))- (pad "1" smd roundrect (at -0.5 0) (size 0.4 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))- (pad "2" smd roundrect (at 0.5 0) (size 0.4 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))+ (pad "1" smd rect (at -0.5 0) (size 0.4 0.6) (layers "F.Cu" "F.Paste" "F.Mask"))+ (pad "2" smd rect (at 0.5 0) (size 0.4 0.6) (layers "F.Cu" "F.Paste" "F.Mask")) )
IN-S42ATG.lbr+3−3@@ -53,9 +53,9 @@ <description>0402 SMD Green LED · 3.3 V drop · 25 mA max</description> <packages> <package name="IN-S42ATG">- <description>2 pads, 1.4 x 0.6 mm. Inolux Corporation IN-S42ATG, 0402. Land pattern from Inolux IN-S42AT series datasheet, p.1 (Recommended Solder Pattern); corners: datasheet silent; roundrect radius 0.1 mm = min(0.25 x smaller pad side, 0.1 mm), IPC-7351C rounded corners for paste release</description>- <smd name="1" x="-0.5000" y="-0.0000" dx="0.4000" dy="0.6000" layer="1" roundness="50"/>- <smd name="2" x="0.5000" y="-0.0000" dx="0.4000" dy="0.6000" layer="1" roundness="50"/>+ <description>2 pads, 1.4 x 0.6 mm. Inolux Corporation IN-S42ATG, 0402. Land pattern from Inolux IN-S42AT series datasheet, p.1 (Recommended Solder Pattern); corners: square, as the datasheet draws them</description>+ <smd name="1" x="-0.5000" y="-0.0000" dx="0.4000" dy="0.6000" layer="1"/>+ <smd name="2" x="0.5000" y="-0.0000" dx="0.4000" dy="0.6000" layer="1"/> <wire x1="-0.5000" y1="0.2500" x2="0.5000" y2="0.2500" width="0.1000" layer="51"/> <wire x1="0.5000" y1="0.2500" x2="0.5000" y2="-0.2500" width="0.1000" layer="51"/> <wire x1="0.5000" y1="-0.2500" x2="-0.5000" y2="-0.2500" width="0.1000" layer="51"/>
README.md+3−4@@ -38,13 +38,12 @@ Source: Land pattern from Inolux IN-S42AT series datasheet, p.1 (Recommended Sol | Gap between pads | 0.6 | 0.38 | 0.4 | 0.6 | | Centre to centre | 1 | 0.97 | 1 | 1 | | Overall | 1.4 | 1.56 | 1.6 | 1.4 |-| Corner radius | not specified | 0.1475 (ratio 0.25) | 0.125 (ratio 0.25) | 0.1 (ratio 0.25) |--Corners: the datasheet drawing shows plain rectangles and says nothing about corners, so the pads are KiCad roundrects with the radius held to 0.25 x the smaller pad side and no more than 0.1 mm. IPC-7351C favours rounded SMD pad corners for cleaner paste release and to avoid stress points; capping the radius keeps the copper area within 3.58 % of a square-cornered pad.+| Corner radius | not specified | 0.1475 (ratio 0.25) | 0.125 (ratio 0.25) | square (as drawn) |+Corners: square, as the datasheet draws them. The datasheet does not call for rounded corners, so the footprint does not add any. Polarity: pad 1 = K (cathode, -X), pad 2 = A, matching the symbol (K = pin 1, A = pin 2) and the datasheet's cathode mark; the silkscreen bracket marks the cathode end. -::adom-footprint-variants{src="/adom/in-s42atg/render/footprint-variants/IN-S42ATG.variants.json" heading="Pad corners: this footprint, square corners, KiCad default rounding"}+::adom-footprint-variants{src="/adom/in-s42atg/render/footprint-variants/IN-S42ATG.variants.json" heading="Pad corners: this footprint (square, as drawn) and KiCad default rounding (not used)"} ## Chip outline
footprint-variants/IN-S42ATG.kicad_mod+3−3@@ -2,7 +2,7 @@ (version 20240108) (generator "adom-basic-parts-overhaul") (layer "F.Cu")- (descr "Inolux Corporation IN-S42ATG, 0402. Land pattern from Inolux IN-S42AT series datasheet, p.1 (Recommended Solder Pattern); corners: datasheet silent; roundrect radius 0.1 mm = min(0.25 x smaller pad side, 0.1 mm), IPC-7351C rounded corners for paste release")+ (descr "Inolux Corporation IN-S42ATG, 0402. Land pattern from Inolux IN-S42AT series datasheet, p.1 (Recommended Solder Pattern); corners: square, as the datasheet draws them") (tags "0402") (attr smd) (fp_text reference "REF**" (at 0 -1.25) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15))))@@ -13,6 +13,6 @@ (fp_line (start -0.86 -0.41) (end 0.5 -0.41) (stroke (width 0.12) (type default)) (layer "F.SilkS")) (fp_line (start -0.86 0.41) (end 0.5 0.41) (stroke (width 0.12) (type default)) (layer "F.SilkS")) (fp_line (start -0.86 -0.41) (end -0.86 0.41) (stroke (width 0.12) (type default)) (layer "F.SilkS"))- (pad "1" smd roundrect (at -0.5 0) (size 0.4 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))- (pad "2" smd roundrect (at 0.5 0) (size 0.4 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))+ (pad "1" smd rect (at -0.5 0) (size 0.4 0.6) (layers "F.Cu" "F.Paste" "F.Mask"))+ (pad "2" smd rect (at 0.5 0) (size 0.4 0.6) (layers "F.Cu" "F.Paste" "F.Mask")) )
footprint-variants/IN-S42ATG.variants.json+3−10@@ -5,21 +5,14 @@ "variants": [ { "suffix": "",- "device": "this page",+ "device": "this page (square, as drawn)", "kicad_mod": "IN-S42ATG.kicad_mod", "footprintName": "IN-S42ATG",- "changed": "the page footprint: roundrect, corner radius 0.1 mm (ratio 0.25)"- },- {- "suffix": "-SQ",- "device": "square corners",- "kicad_mod": "IN-S42ATG-SQ.kicad_mod",- "footprintName": "IN-S42ATG-SQ",- "changed": "same pads as plain rectangles, as the datasheet draws them"+ "changed": "the page footprint: plain rectangles, square corners, as the datasheet draws them" }, { "suffix": "-RR25",- "device": "KiCad default rounding",+ "device": "KiCad default rounding (not used)", "kicad_mod": "IN-S42ATG-RR25.kicad_mod", "footprintName": "IN-S42ATG-RR25", "changed": "same pads with roundrect_rratio 0.25 (KiCad's default), radius 0.1 mm"
in-s42atg-hero.glb⋯ 1 unchanged line ⋯
in-s42atg-hero.overlay.json+3−3@@ -69,7 +69,7 @@ "glb": "IN-S42ATG-part.glb", "glb_sha256": "d368fab22e48631ac3887ec7bb2bf20505ce1b6c87470361e16f1cb1bf94a487", "footprint": "IN-S42ATG.kicad_mod",- "footprint_sha256": "32a50fbc30a85b2769cab2deb1edd7fb10aa7dba302525994d97a6fdbc2405d3",+ "footprint_sha256": "82b9046c5b29d3602fc22ea7506616696a916831f7370db820ead025910717fb", "pins": "page.json component.pins", "pins_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" },@@ -97,7 +97,7 @@ "pads": [ { "number": "1",- "shape": "roundrect",+ "shape": "rect", "center_mm": [ -0.5, 0.0@@ -110,7 +110,7 @@ }, { "number": "2",- "shape": "roundrect",+ "shape": "rect", "center_mm": [ 0.5, 0.0