← Commit history

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

Ray ·2301ed4f8a ·1mo ago ·parent fe015df
5 files changed +134−3
package.json+2−1
@@ -24,6 +24,7 @@     "docs/hero.png",     "docs/spx1587at-l-3-3-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "pads.json"   ] }\ No newline at end of file
pads.jsonadded+119
@@ -0,0 +1,119 @@+{+ "schema": "adom.pads/1",+ "slug": "spx1587at-l-3-3",+ "footprint": "TO-263-2",+ "generated_from": {+  "footprint": "TO-263-2@sha256:13d8593fd80553e5",+  "pins": "page.json:component.pins",+  "overrides": null+ },+ "pin1": {+  "pad": "1",+  "at": [+   -7.65,+   -2.54+  ],+  "corner": "top-left",+  "source": "silk-marker",+  "derived_from": "TO-263-2@sha256:13d8593fd80553e5"+ },+ "pad_count": 3,+ "symbol_pins": [+  "1",+  "2",+  "3"+ ],+ "paste_apertures": 4,+ "issues": [],+ "pads": [+  {+   "pad": "1",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    -2.54+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "1",+   "name": "ADJ/GND",+   "type": "power_in",+   "description": "Ground pin for the fixed-output version (SPX1587AT-3.3). Reference return for the internal 1.25V bandgap. On adjustable versions this pin is the ADJ feedback node instead. Tab is electrically connected to VOUT, not this pin.",+   "is_pin1": true,+   "source": {+    "geometry": "TO-263-2.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "2",+   "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": "2",+   "name": "VOUT",+   "type": "power_out",+   "description": "Regulated 3.3V output, 0 to 3A. Requires a stability capacitor to GND (10µF electrolytic or 4.7µF solid tantalum minimum; 22µF/10µF when ADJ pin is bypassed). Tab of TO-263 is electrically connected to this pin.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-2.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "3",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -7.65,+    2.54+   ],+   "rot": 0.0,+   "size": [+    4.6,+    1.1+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "3",+   "name": "VIN",+   "type": "power_in",+   "description": "Unregulated input supply, 4.75V to 10V for the 3.3V fixed version. Maximum input voltage 10V; maximum input-to-output differential 8.8V. An input bypass capacitor is recommended.",+   "is_pin1": false,+   "source": {+    "geometry": "TO-263-2.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  }+ ]+}\ No newline at end of file
page.json+11
@@ -66,6 +66,17 @@     "viewers": {       "symbol": "viewers/symbol.html",       "footprint": "viewers/footprint.html"+    },+    "pin1": {+      "pad": "1",+      "at": [+        -7.65,+        -2.54+      ],+      "corner": "top-left",+      "source": "silk-marker",+      "derived_from": "TO-263-2@sha256:13d8593fd80553e5",+      "mark": "drawn"     }   },   "metadata": {
spx1587at-l-3-3.lbr+1−1
@@ -72,7 +72,7 @@   <wire x1="5.6250" y1="-5.0000" x2="4.6250" y2="-5.0000" width="0.1000" layer="51"/>   <text x="0" y="6.000" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-6.000" 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="3.3500"/><vertex x="-7.9900" y="3.8200"/><vertex x="-7.3100" y="3.8200"/></polygon></package> </packages> <symbols> <symbol name="SPX1587AT-L-3-3">
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='ADJ/GND' 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='VOUT' 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='VIN' 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='ADJ/GND' 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='VOUT' 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='VIN' 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,-3.350 -7.990,-3.820 -7.310,-3.820' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/SPX1587AT-L-3-3", PINS=[{"desc":"","name":"ADJ/GND","number":"1","type":""},{"desc":"","name":"VOUT","number":"2","type":""},{"desc":"","name":"VIN","number":"3","type":""}];