← Commit history

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

Ray ·fca1386aaa ·1mo ago ·parent ea2a464
5 files changed +290−3
package.json+2−1
@@ -24,6 +24,7 @@     "docs/hero.png",     "docs/txs0102dcur-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "pads.json"   ] }\ No newline at end of file
pads.jsonadded+275
@@ -0,0 +1,275 @@+{+ "schema": "adom.pads/1",+ "slug": "txs0102dcur",+ "footprint": "VSSOP-8_2.3x2mm_P0.5mm",+ "generated_from": {+  "footprint": "VSSOP-8_2.3x2mm_P0.5mm@sha256:dca72da69de3263a",+  "pins": "page.json:component.pins",+  "overrides": null+ },+ "pin1": {+  "pad": "1",+  "at": [+   -1.4,+   -0.75+  ],+  "corner": "top-left",+  "source": "silk-marker",+  "derived_from": "VSSOP-8_2.3x2mm_P0.5mm@sha256:dca72da69de3263a"+ },+ "pad_count": 8,+ "symbol_pins": [+  "1",+  "2",+  "3",+  "4",+  "5",+  "6",+  "7",+  "8"+ ],+ "paste_apertures": 0,+ "issues": [],+ "pads": [+  {+   "pad": "1",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -1.4,+    -0.75+   ],+   "rot": 0.0,+   "size": [+    1.25,+    0.35+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "1",+   "name": "B2",+   "type": "bidirectional",+   "description": "Input/output B, channel 2. Referenced to VCCB (2.3 V to 5.5 V). Bidirectional level-shifted I/O; requires OE high to be active.",+   "is_pin1": true,+   "source": {+    "geometry": "VSSOP-8_2.3x2mm_P0.5mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "2",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -1.4,+    -0.25+   ],+   "rot": 0.0,+   "size": [+    1.25,+    0.35+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "2",+   "name": "GND",+   "type": "power_in",+   "description": "Ground reference for the device. Common return for both VCCA and VCCB supplies.",+   "is_pin1": false,+   "source": {+    "geometry": "VSSOP-8_2.3x2mm_P0.5mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "3",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -1.4,+    0.25+   ],+   "rot": 0.0,+   "size": [+    1.25,+    0.35+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "3",+   "name": "VCCA",+   "type": "power_in",+   "description": "A-port supply voltage. 1.65 V <= VCCA <= 3.6 V, and VCCA must be <= VCCB. Sets the logic level for the A-side I/Os (A1, A2).",+   "is_pin1": false,+   "source": {+    "geometry": "VSSOP-8_2.3x2mm_P0.5mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "4",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -1.4,+    0.75+   ],+   "rot": 0.0,+   "size": [+    1.25,+    0.35+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "4",+   "name": "A2",+   "type": "bidirectional",+   "description": "Input/output A, channel 2. Referenced to VCCA (1.65 V to 3.6 V). Bidirectional level-shifted I/O paired with B2.",+   "is_pin1": false,+   "source": {+    "geometry": "VSSOP-8_2.3x2mm_P0.5mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "5",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.4,+    0.75+   ],+   "rot": 0.0,+   "size": [+    1.25,+    0.35+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "5",+   "name": "A1",+   "type": "bidirectional",+   "description": "Input/output A, channel 1. Referenced to VCCA (1.65 V to 3.6 V). Bidirectional level-shifted I/O paired with B1.",+   "is_pin1": false,+   "source": {+    "geometry": "VSSOP-8_2.3x2mm_P0.5mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "6",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.4,+    0.25+   ],+   "rot": 0.0,+   "size": [+    1.25,+    0.35+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "6",+   "name": "OE",+   "type": "input",+   "description": "Output enable, active high. Referenced to VCCA. Pull OE low to place all outputs in the high-impedance (3-state) mode; drive high for normal translation. Tie to GND through a pulldown during power-up/down to guarantee Hi-Z.",+   "is_pin1": false,+   "source": {+    "geometry": "VSSOP-8_2.3x2mm_P0.5mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "7",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.4,+    -0.25+   ],+   "rot": 0.0,+   "size": [+    1.25,+    0.35+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "7",+   "name": "VCCB",+   "type": "power_in",+   "description": "B-port supply voltage. 2.3 V <= VCCB <= 5.5 V, and must be >= VCCA. Sets the logic level for the B-side I/Os (B1, B2).",+   "is_pin1": false,+   "source": {+    "geometry": "VSSOP-8_2.3x2mm_P0.5mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "8",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    1.4,+    -0.75+   ],+   "rot": 0.0,+   "size": [+    1.25,+    0.35+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "8",+   "name": "B1",+   "type": "bidirectional",+   "description": "Input/output B, channel 1. Referenced to VCCB (2.3 V to 5.5 V). Bidirectional level-shifted I/O; requires OE high to be active.",+   "is_pin1": false,+   "source": {+    "geometry": "VSSOP-8_2.3x2mm_P0.5mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  }+ ]+}\ No newline at end of file
page.json+11
@@ -96,6 +96,17 @@     "viewers": {       "symbol": "viewers/symbol.html",       "footprint": "viewers/footprint.html"+    },+    "pin1": {+      "pad": "1",+      "at": [+        -1.4,+        -0.75+      ],+      "corner": "top-left",+      "source": "silk-marker",+      "derived_from": "VSSOP-8_2.3x2mm_P0.5mm@sha256:dca72da69de3263a",+      "mark": "drawn"     }   },   "metadata": {
txs0102dcur.lbr+1−1
@@ -66,7 +66,7 @@   <wire x1="1.2600" y1="-1.1850" x2="-1.2600" y2="-1.1850" width="0.1200" layer="21"/>   <text x="0" y="1.975" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-1.975" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-1.4000" y="1.1900"/><vertex x="-1.5400" y="1.3800"/><vertex x="-1.2600" y="1.3800"/></polygon></package> </packages> <symbols> <symbol name="TXS0102DCUR">
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='-2.680 -1.650 5.360 3.300' style='width:100%;height:100%'><line class='ly-silk' x1='-1.106' y1='-1.185' x2='1.260' y2='-1.185' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.260' y1='1.185' x2='-1.260' y2='1.185' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-2.280' y1='-1.180' x2='-1.400' y2='-1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.280' y1='1.180' x2='-2.280' y2='-1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.400' y1='-1.250' x2='1.400' y2='-1.250' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.400' y1='-1.180' x2='-1.400' y2='-1.250' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.400' y1='1.180' x2='-2.280' y2='1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.400' y1='1.250' x2='-1.400' y2='1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.400' y1='-1.250' x2='1.400' y2='-1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.400' y1='-1.180' x2='2.280' y2='-1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.400' y1='1.180' x2='1.400' y2='1.250' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.400' y1='1.250' x2='-1.400' y2='1.250' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.280' y1='-1.180' x2='2.280' y2='1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.280' y1='1.180' x2='1.400' y2='1.180' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='B2' x='-2.025' y='-0.925' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.400' y='-0.750' font-size='0.350' 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='GND' x='-2.025' y='-0.425' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.400' y='-0.250' font-size='0.350' 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='VCCA' x='-2.025' y='0.075' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.400' y='0.250' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='A2' x='-2.025' y='0.575' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.400' y='0.750' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='A1' x='0.775' y='0.575' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.400' y='0.750' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='OE' x='0.775' y='0.075' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.400' y='0.250' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='VCCB' x='0.775' y='-0.425' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.400' y='-0.250' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='B1' x='0.775' y='-0.925' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.400' y='-0.750' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-2.680 -1.650 5.360 3.300' style='width:100%;height:100%'><line class='ly-silk' x1='-1.106' y1='-1.185' x2='1.260' y2='-1.185' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.260' y1='1.185' x2='-1.260' y2='1.185' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-2.280' y1='-1.180' x2='-1.400' y2='-1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.280' y1='1.180' x2='-2.280' y2='-1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.400' y1='-1.250' x2='1.400' y2='-1.250' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.400' y1='-1.180' x2='-1.400' y2='-1.250' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.400' y1='1.180' x2='-2.280' y2='1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.400' y1='1.250' x2='-1.400' y2='1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.400' y1='-1.250' x2='1.400' y2='-1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.400' y1='-1.180' x2='2.280' y2='-1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.400' y1='1.180' x2='1.400' y2='1.250' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.400' y1='1.250' x2='-1.400' y2='1.250' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.280' y1='-1.180' x2='2.280' y2='1.180' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.280' y1='1.180' x2='1.400' y2='1.180' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='B2' x='-2.025' y='-0.925' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.400' y='-0.750' font-size='0.350' 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='GND' x='-2.025' y='-0.425' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.400' y='-0.250' font-size='0.350' 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='VCCA' x='-2.025' y='0.075' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.400' y='0.250' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='A2' x='-2.025' y='0.575' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.400' y='0.750' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='A1' x='0.775' y='0.575' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.400' y='0.750' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='OE' x='0.775' y='0.075' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.400' y='0.250' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='VCCB' x='0.775' y='-0.425' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.400' y='-0.250' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='B1' x='0.775' y='-0.925' width='1.250' height='0.350' rx='0.087' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.400' y='-0.750' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><polygon class='ly-silk adom-pin1' points='-1.400,-1.190 -1.540,-1.380 -1.260,-1.380' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/TXS0102DCUR", PINS=[{"desc":"","name":"B2","number":"1","type":""},{"desc":"","name":"GND","number":"2","type":""},{"desc":"","name":"VCCA","number":"3","type":""},{"desc":"","name":"A2","number":"4","type":""},{"desc":"","name":"B1","number":"8","type":""},{"desc":"","name":"VCCB","number":"7","type":""},{"desc":"","name":"OE","number":"6","type":""},{"desc":"","name":"A1","number":"5","type":""}];