← Commit history

pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left)

Ray ·18e58f7667 · ·parent 4665564
5 files changed +226−3
lm2596s-5-0.lbr+1−1
@@ -84,7 +84,7 @@   <wire x1="5.6250" y1="-5.0000" x2="4.6250" y2="-5.0000" width="0.1000" layer="51"/>   <text x="0" y="6.300" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-6.300" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-7.6500" y="4.2100"/><vertex x="-7.9900" y="4.6800"/><vertex x="-7.3100" y="4.6800"/></polygon></package> </packages> <symbols> <symbol name="LM2596S-5.0">
package.json+2−1
@@ -24,6 +24,7 @@     "docs/hero.png",     "docs/lm2596s-5-0-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "pads.json"   ] }\ No newline at end of file
pads.jsonadded+211
@@ -0,0 +1,211 @@+{+ "schema": "adom.pads/1",+ "slug": "lm2596s-5-0",+ "footprint": "TO-263-5_TabPin6",+ "generated_from": {+  "footprint": "TO-263-5_TabPin6@sha256:77e8ff2d643255fc",+  "pins": "page.json:component.pins",+  "overrides": null+ },+ "pin1": {+  "pad": "1",+  "at": [+   -7.65,+   -3.4+  ],+  "corner": "top-left",+  "source": "silk-marker",+  "derived_from": "TO-263-5_TabPin6@sha256:77e8ff2d643255fc"+ },+ "pad_count": 6,+ "paste_apertures": 4,+ "issues": [+  {+   "kind": "pad-has-no-pin",+   "pad": "6",+   "thermal": false,+   "detail": "footprint pad \"6\" is in copper but no pin claims it"+  }+ ],+ "pads": [+  {+   "pad": "1",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    -3.4+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "1",+   "name": "VIN",+   "type": "power_in",+   "description": "Unregulated DC input supply. Operating range 4.75V to 40V (LM2596) / 4.75V to 60V (LM2596HV); absolute max 45V / 63V. Bypass close to pin with a low-ESR input capacitor (typ. 680 uF).",+   "is_pin1": true,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "2",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    -1.7+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "2",+   "name": "Output",+   "type": "output",+   "description": "Switching output node of the internal power switch. Connects to the external catch diode (e.g. 1N5824 Schottky) cathode and to the output inductor (typ. 33 uH). Rated 3A continuous load current; do not exceed -1V below ground in steady state.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "3",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    0.0+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "3",+   "name": "GND",+   "type": "power_in",+   "description": "Device ground reference. Tie directly to the system ground plane; carries return current for both control and power stages.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "4",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    1.7+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "4",+   "name": "Feedback",+   "type": "input",+   "description": "Output voltage feedback sense pin. For the fixed 5.0V version this pin ties directly to the regulated output; internal divider sets Vout = 5V. Absolute max -0.3V to +25V.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "5",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    3.4+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "5",+   "name": "ON/OFF",+   "type": "input",+   "description": "Active-low TTL-compatible shutdown. Regulator is enabled when this pin is Low or left floating; pulled High (up to +25V) forces low-power standby (IQ ~ 80 uA typ.). Absolute max -0.3V to +25V.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "6",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.5,+    0.0+   ],+   "rot": 0.0,+   "size": [+    9.4,+    10.8+   ],+   "layers": [+    "F.Cu",+    "F.Mask"+   ],+   "thermal": false,+   "pin": "6",+   "name": null,+   "type": null,+   "description": null,+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-5_TabPin6.kicad_mod",+    "meaning": null,+    "correspondence": "kicad: symbol pin number == pad name"+   }+  }+ ]+}\ No newline at end of file
page.json+11
@@ -78,6 +78,17 @@     "viewers": {       "symbol": "viewers/symbol.html",       "footprint": "viewers/footprint.html"+    },+    "pin1": {+      "pad": "1",+      "at": [+        -7.65,+        -3.4+      ],+      "corner": "top-left",+      "source": "silk-marker",+      "derived_from": "TO-263-5_TabPin6@sha256:77e8ff2d643255fc",+      "mark": "drawn"     }   },   "metadata": {
viewers/footprint.html+1−1
@@ -23,7 +23,7 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>PCB footprint</span><span class=sp></span><button class="lyrtog on" data-lyr="copper"><span class="d" style="background:#e35d5d"></span>Copper</button><button class="lyrtog on" data-lyr="silk"><span class="d" style="background:#e6edf3"></span>Silkscreen</button><button class="lyrtog" data-lyr="fab"><span class="d" style="background:#8b949e"></span>Fab</button><button class="lyrtog" data-lyr="courtyard"><span class="d" style="background:#bc8cff"></span>Courtyard</button></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-10.600 -6.050 17.450 12.100' style='width:100%;height:100%'><line class='ly-silk' x1='-4.825' y1='-5.200' x2='-4.825' y2='-3.390' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-4.825' y1='5.200' x2='-4.825' y2='3.390' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.460' y1='-5.200' x2='-4.825' y2='-5.200' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.460' y1='5.200' x2='-4.825' y2='5.200' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-fab' x1='-9.325' y1='-3.040' x2='-9.325' y2='-2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='-2.040' x2='-4.625' y2='-2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='2.040' x2='-9.325' y2='3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='3.040' x2='-4.625' y2='3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-4.625' y1='-3.040' x2='-9.325' y2='-3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-4.625' y1='2.040' x2='-9.325' y2='2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='4.625' y1='-5.000' x2='5.625' y2='-5.000' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='5.625' y1='-5.000' x2='5.625' y2='5.000' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='5.625' y1='5.000' x2='4.625' y2='5.000' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-courtyard' x='-10.200' y='-5.650' width='16.650' height='11.300' fill='none' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='' data-name='' x='-3.200' y='-5.400' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.925' y='-2.775' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-3.200' y='0.150' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.925' y='2.775' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='1.650' y='-5.400' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.925' y='-2.775' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='1.650' y='0.150' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.925' y='2.775' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='1' data-name='VIN' x='-9.950' y='-3.090' width='4.600' height='1.100' rx='0.275' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-7.650' y='-2.540' font-size='0.660' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='Output' x='-3.200' y='-5.400' width='9.400' height='10.800' rx='2.350' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.500' y='0.000' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='GND' x='-9.950' y='1.990' width='4.600' height='1.100' rx='0.275' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-7.650' y='2.540' font-size='0.660' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-10.600 -6.050 17.450 12.100' style='width:100%;height:100%'><line class='ly-silk' x1='-4.825' y1='-5.200' x2='-4.825' y2='-3.390' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-4.825' y1='5.200' x2='-4.825' y2='3.390' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.460' y1='-5.200' x2='-4.825' y2='-5.200' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-3.460' y1='5.200' x2='-4.825' y2='5.200' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-fab' x1='-9.325' y1='-3.040' x2='-9.325' y2='-2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='-2.040' x2='-4.625' y2='-2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='2.040' x2='-9.325' y2='3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-9.325' y1='3.040' x2='-4.625' y2='3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-4.625' y1='-3.040' x2='-9.325' y2='-3.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-4.625' y1='2.040' x2='-9.325' y2='2.040' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='4.625' y1='-5.000' x2='5.625' y2='-5.000' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='5.625' y1='-5.000' x2='5.625' y2='5.000' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='5.625' y1='5.000' x2='4.625' y2='5.000' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-courtyard' x='-10.200' y='-5.650' width='16.650' height='11.300' fill='none' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='' data-name='' x='-3.200' y='-5.400' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.925' y='-2.775' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-3.200' y='0.150' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.925' y='2.775' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='1.650' y='-5.400' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.925' y='-2.775' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='1.650' y='0.150' width='4.550' height='5.250' rx='1.137' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='3.925' y='2.775' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='1' data-name='VIN' x='-9.950' y='-3.090' width='4.600' height='1.100' rx='0.275' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-7.650' y='-2.540' font-size='0.660' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='Output' x='-3.200' y='-5.400' width='9.400' height='10.800' rx='2.350' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.500' y='0.000' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='GND' x='-9.950' y='1.990' width='4.600' height='1.100' rx='0.275' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-7.650' y='2.540' font-size='0.660' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><polygon class='ly-silk adom-pin1' points='-7.650,-4.210 -7.990,-4.680 -7.310,-4.680' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/LM2596S-5-0", PINS=[{"desc":"","name":"VIN","number":"1","type":""},{"desc":"","name":"Output","number":"2","type":""},{"desc":"","name":"GND","number":"3","type":""},{"desc":"","name":"ON/OFF","number":"5","type":""},{"desc":"","name":"Feedback","number":"4","type":""}];