← Commit history

Pads: square corners, as the datasheet draws them (no added rounding); viewers, lbr, insertion GLB, hero rebuilt from the footprint

John Lauer ·644c9a7780 ·16d ago ·parent c28c78a
11 files changed +23−31
IN-S63BTG-fpview.html+3−3
@@ -351,9 +351,9 @@ <rect x="1.45" y="1.3" width="1.6" height="0.8" fill="none" stroke="#6e7681" stroke-width="0.1"/> <line x1="1.7" y1="1.3" x2="1.7" y2="2.1" stroke="#6e7681" stroke-width="0.1"/> <line x1="1.09" y1="1.14" x2="3.05" y2="1.14" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/><line x1="1.09" y1="2.26" x2="3.05" y2="2.26" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/><line x1="1.09" y1="1.14" x2="1.09" y2="2.26" stroke="#00cccc" stroke-width="0.12" stroke-linecap="round"/>-<rect x="1.25" y="1.25" width="0.6" height="0.9" rx="0.1" ry="0.1" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/>+<rect x="1.25" y="1.25" width="0.6" height="0.9" rx="0" ry="0" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/> <text x="1.55" y="1.7" text-anchor="middle" dominant-baseline="central" font-size="0.270" fill="#fff" font-family="sans-serif">1</text>-<rect x="2.65" y="1.25" width="0.6" height="0.9" rx="0.1" ry="0.1" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/>+<rect x="2.65" y="1.25" width="0.6" height="0.9" rx="0" ry="0" fill="#C83434" stroke="#ef5350" stroke-width="0.04"/> <text x="2.95" y="1.7" text-anchor="middle" dominant-baseline="central" font-size="0.270" 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 &middot; 0.6 &times; 0.9 mm, r 0.1 mm</span></div><div class="info-item"><span class="info-label">Body</span><span class="info-value">1.6 &times; 0.8 mm</span></div><div class="info-item"><span class="info-label">Courtyard</span><span class="info-value">2.5 &times; 1.4 mm</span></div>+    <div class="info-item"><span class="info-label">Desc</span><span class="info-value">Land pattern: Inolux IN-S63BT series datasheet V1.2, p.1 (Recommended Solder Pattern)</span></div><div class="info-item"><span class="info-label">Pads</span><span class="info-value">2 &middot; 0.6 &times; 0.9 mm, r 0 mm</span></div><div class="info-item"><span class="info-label">Body</span><span class="info-value">1.6 &times; 0.8 mm</span></div><div class="info-item"><span class="info-label">Courtyard</span><span class="info-value">2.5 &times; 1.4 mm</span></div>   </div>   <div class="info-divider"></div>   <div class="coord-row">
IN-S63BTG.adom-lbr.json+2−2
@@ -195,7 +195,7 @@         "h_mm": 0.9,         "drill_mm": 0.0,         "rotation": 0.0,-        "shape": "roundrect"+        "shape": "rect"       },       {         "number": "2",@@ -205,7 +205,7 @@         "h_mm": 0.9,         "drill_mm": 0.0,         "rotation": 0.0,-        "shape": "roundrect"+        "shape": "rect"       }     ],     "graphics": [
IN-S63BTG.glb
⋯ 1 unchanged line ⋯
IN-S63BTG.insertion.glb
⋯ 1 unchanged line ⋯
IN-S63BTG.kicad_mod+3−3
@@ -2,7 +2,7 @@   (version 20240108)   (generator "adom-basic-parts-overhaul")   (layer "F.Cu")-  (descr "Inolux Corporation IN-S63BTG, 0603. Land pattern from Inolux IN-S63BT series datasheet V1.2, 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-S63BTG, 0603. Land pattern from Inolux IN-S63BT series datasheet V1.2, p.1 (Recommended Solder Pattern); corners: square, as the datasheet draws them")   (tags "0603")   (attr smd)   (fp_text reference "REF**" (at 0 -1.4) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15))))@@ -13,6 +13,6 @@   (fp_line (start -1.16 -0.56) (end 0.8 -0.56) (stroke (width 0.12) (type default)) (layer "F.SilkS"))   (fp_line (start -1.16 0.56) (end 0.8 0.56) (stroke (width 0.12) (type default)) (layer "F.SilkS"))   (fp_line (start -1.16 -0.56) (end -1.16 0.56) (stroke (width 0.12) (type default)) (layer "F.SilkS"))-  (pad "1" smd roundrect (at -0.7 0) (size 0.6 0.9) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1667))-  (pad "2" smd roundrect (at 0.7 0) (size 0.6 0.9) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1667))+  (pad "1" smd rect (at -0.7 0) (size 0.6 0.9) (layers "F.Cu" "F.Paste" "F.Mask"))+  (pad "2" smd rect (at 0.7 0) (size 0.6 0.9) (layers "F.Cu" "F.Paste" "F.Mask")) )
IN-S63BTG.lbr+3−3
@@ -53,9 +53,9 @@ <description>Inolux IN-S63BTG green 0603 top-view SMD LED, 527 nm dominant, 3.2 V typ at 20 mA, 560 mcd typ, 25 mA max</description> <packages> <package name="IN-S63BTG">-  <description>2 pads, 2.0 x 0.9 mm. Inolux Corporation IN-S63BTG, 0603. Land pattern from Inolux IN-S63BT series datasheet V1.2, 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.7000" y="-0.0000" dx="0.6000" dy="0.9000" layer="1" roundness="33"/>-  <smd name="2" x="0.7000" y="-0.0000" dx="0.6000" dy="0.9000" layer="1" roundness="33"/>+  <description>2 pads, 2.0 x 0.9 mm. Inolux Corporation IN-S63BTG, 0603. Land pattern from Inolux IN-S63BT series datasheet V1.2, p.1 (Recommended Solder Pattern); corners: square, as the datasheet draws them</description>+  <smd name="1" x="-0.7000" y="-0.0000" dx="0.6000" dy="0.9000" layer="1"/>+  <smd name="2" x="0.7000" y="-0.0000" dx="0.6000" dy="0.9000" layer="1"/>   <wire x1="-0.8000" y1="0.4000" x2="0.8000" y2="0.4000" width="0.1000" layer="51"/>   <wire x1="0.8000" y1="0.4000" x2="0.8000" y2="-0.4000" width="0.1000" layer="51"/>   <wire x1="0.8000" y1="-0.4000" x2="-0.8000" y2="-0.4000" width="0.1000" layer="51"/>
README.md+3−4
@@ -38,13 +38,12 @@ Source: Land pattern from Inolux IN-S63BT series datasheet V1.2, p.1 (Recommende | Gap between pads | 0.8 | 0.7 | 0.7 | 0.8 | | Centre to centre | 1.4 | 1.575 | 1.6 | 1.4 | | Overall | 2 | 2.45 | 2.5 | 2 |-| Corner radius | not specified | 0.2188 (ratio 0.25) | 0.225 (ratio 0.25) | 0.1 (ratio 0.1667) |--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 1.59 % of a square-cornered pad.+| Corner radius | not specified | 0.2188 (ratio 0.25) | 0.225 (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-s63btg/render/footprint-variants/IN-S63BTG.variants.json" heading="Pad corners: this footprint, square corners, KiCad default rounding"}+::adom-footprint-variants{src="/adom/in-s63btg/render/footprint-variants/IN-S63BTG.variants.json" heading="Pad corners: this footprint (square, as drawn) and KiCad default rounding (not used)"}  ## Chip outline 
footprint-variants/IN-S63BTG.kicad_mod+3−3
@@ -2,7 +2,7 @@   (version 20240108)   (generator "adom-basic-parts-overhaul")   (layer "F.Cu")-  (descr "Inolux Corporation IN-S63BTG, 0603. Land pattern from Inolux IN-S63BT series datasheet V1.2, 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-S63BTG, 0603. Land pattern from Inolux IN-S63BT series datasheet V1.2, p.1 (Recommended Solder Pattern); corners: square, as the datasheet draws them")   (tags "0603")   (attr smd)   (fp_text reference "REF**" (at 0 -1.4) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15))))@@ -13,6 +13,6 @@   (fp_line (start -1.16 -0.56) (end 0.8 -0.56) (stroke (width 0.12) (type default)) (layer "F.SilkS"))   (fp_line (start -1.16 0.56) (end 0.8 0.56) (stroke (width 0.12) (type default)) (layer "F.SilkS"))   (fp_line (start -1.16 -0.56) (end -1.16 0.56) (stroke (width 0.12) (type default)) (layer "F.SilkS"))-  (pad "1" smd roundrect (at -0.7 0) (size 0.6 0.9) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1667))-  (pad "2" smd roundrect (at 0.7 0) (size 0.6 0.9) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1667))+  (pad "1" smd rect (at -0.7 0) (size 0.6 0.9) (layers "F.Cu" "F.Paste" "F.Mask"))+  (pad "2" smd rect (at 0.7 0) (size 0.6 0.9) (layers "F.Cu" "F.Paste" "F.Mask")) )
footprint-variants/IN-S63BTG.variants.json+3−10
@@ -5,21 +5,14 @@   "variants": [     {       "suffix": "",-      "device": "this page",+      "device": "this page (square, as drawn)",       "kicad_mod": "IN-S63BTG.kicad_mod",       "footprintName": "IN-S63BTG",-      "changed": "the page footprint: roundrect, corner radius 0.1 mm (ratio 0.1667)"-    },-    {-      "suffix": "-SQ",-      "device": "square corners",-      "kicad_mod": "IN-S63BTG-SQ.kicad_mod",-      "footprintName": "IN-S63BTG-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-S63BTG-RR25.kicad_mod",       "footprintName": "IN-S63BTG-RR25",       "changed": "same pads with roundrect_rratio 0.25 (KiCad's default), radius 0.15 mm"
in-s63btg-hero.glb
⋯ 1 unchanged line ⋯
in-s63btg-hero.overlay.json+3−3
@@ -69,7 +69,7 @@     "glb": "IN-S63BTG-part.glb",     "glb_sha256": "a1cf4e83b6361422579e59e700cde101462e686b29700ccb6dbc6a0a05a7fcd6",     "footprint": "IN-S63BTG.kicad_mod",-    "footprint_sha256": "380bf8081f837572e367bbd4b4f19c842eaaec3f2623818e27ddb2ef6c5bd8b1",+    "footprint_sha256": "bfa88c25160243ab4d009e154bd9c3759888fbedc54319e335642ac49056ea74",     "pins": "page.json component.pins",     "pins_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"   },@@ -97,7 +97,7 @@   "pads": [     {       "number": "1",-      "shape": "roundrect",+      "shape": "rect",       "center_mm": [         -0.7,         0.0@@ -110,7 +110,7 @@     },     {       "number": "2",-      "shape": "roundrect",+      "shape": "rect",       "center_mm": [         0.7,         0.0