← Commit history

pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (fab-chamfer, synthesised, bottom-right)

Ray ·9031a9ce2f · ·parent f4e7470
5 files changed +260−5
package.json+2−1
@@ -24,6 +24,7 @@     "docs/hero.png",     "docs/viper12adip-e-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "pads.json"   ] }\ No newline at end of file
pads.jsonadded+243
@@ -0,0 +1,243 @@+{+ "schema": "adom.pads/1",+ "slug": "viper12adip-e",+ "footprint": "DIP-8_W7.62mm",+ "generated_from": {+  "footprint": "DIP-8_W7.62mm@sha256:222fb44370968119",+  "pins": "page.json:component.pins",+  "overrides": null+ },+ "pin1": {+  "pad": "1",+  "at": [+   0.0,+   0.0+  ],+  "corner": "bottom-right",+  "source": "fab-chamfer",+  "derived_from": "DIP-8_W7.62mm@sha256:222fb44370968119"+ },+ "pad_count": 8,+ "symbol_pins": [+  "1",+  "2",+  "3",+  "4",+  "5",+  "6",+  "7",+  "8"+ ],+ "paste_apertures": 0,+ "issues": [],+ "pads": [+  {+   "pad": "1",+   "kind": "thru_hole",+   "shape": "roundrect",+   "at": [+    0.0,+    0.0+   ],+   "rot": 0.0,+   "size": [+    1.6,+    1.6+   ],+   "layers": [],+   "thermal": false,+   "pin": "1",+   "name": "SOURCE",+   "type": "power_in",+   "description": "Power MOSFET source and circuit ground reference. Pins 1 and 2 are internally tied together and serve as the IC ground return.",+   "is_pin1": true,+   "source": {+    "geometry": "DIP-8_W7.62mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "2",+   "kind": "thru_hole",+   "shape": "circle",+   "at": [+    0.0,+    2.54+   ],+   "rot": 0.0,+   "size": [+    1.6,+    1.6+   ],+   "layers": [],+   "thermal": false,+   "pin": "2",+   "name": "SOURCE",+   "type": "power_in",+   "description": "Power MOSFET source and circuit ground reference. Second SOURCE pin (paralleled with pin 1) for improved current handling and thermal dissipation.",+   "is_pin1": false,+   "source": {+    "geometry": "DIP-8_W7.62mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "3",+   "kind": "thru_hole",+   "shape": "circle",+   "at": [+    0.0,+    5.08+   ],+   "rot": 0.0,+   "size": [+    1.6,+    1.6+   ],+   "layers": [],+   "thermal": false,+   "pin": "3",+   "name": "FB",+   "type": "input",+   "description": "Feedback input. Useful voltage range 0 V to 1 V; sets the peak drain MOSFET current. Current limitation (maximum drain current, IDlim typ 0.4 A) is obtained by shorting FB to SOURCE. FB pin input impedance ~1.2 kΩ; IFB max 3 mA.",+   "is_pin1": false,+   "source": {+    "geometry": "DIP-8_W7.62mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "4",+   "kind": "thru_hole",+   "shape": "circle",+   "at": [+    0.0,+    7.62+   ],+   "rot": 0.0,+   "size": [+    1.6,+    1.6+   ],+   "layers": [],+   "thermal": false,+   "pin": "4",+   "name": "VDD",+   "type": "power_in",+   "description": "Power supply for the internal control circuits. Range 9-38 V (absolute max 50 V). Start-up threshold VDDon ~14.5 V, undervoltage shutdown VDDoff ~8 V, overvoltage threshold VDDovp ~42 V. Charged during start-up by the internal high-voltage current source from DRAIN.",+   "is_pin1": false,+   "source": {+    "geometry": "DIP-8_W7.62mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "5",+   "kind": "thru_hole",+   "shape": "circle",+   "at": [+    7.62,+    7.62+   ],+   "rot": 0.0,+   "size": [+    1.6,+    1.6+   ],+   "layers": [],+   "thermal": false,+   "pin": "5",+   "name": "DRAIN",+   "type": "power_out",+   "description": "Power MOSFET drain. Also used by the internal high-voltage start-up current source to charge the external VDD capacitor. Switching drain-source rating 730 V; rDS(on) typ 27 Ω. Pins 5-8 are internally connected together.",+   "is_pin1": false,+   "source": {+    "geometry": "DIP-8_W7.62mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "6",+   "kind": "thru_hole",+   "shape": "circle",+   "at": [+    7.62,+    5.08+   ],+   "rot": 0.0,+   "size": [+    1.6,+    1.6+   ],+   "layers": [],+   "thermal": false,+   "pin": "6",+   "name": "DRAIN",+   "type": "power_out",+   "description": "Power MOSFET drain (paralleled with pins 5, 7, 8) for improved current handling and thermal dissipation to the PCB copper.",+   "is_pin1": false,+   "source": {+    "geometry": "DIP-8_W7.62mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "7",+   "kind": "thru_hole",+   "shape": "circle",+   "at": [+    7.62,+    2.54+   ],+   "rot": 0.0,+   "size": [+    1.6,+    1.6+   ],+   "layers": [],+   "thermal": false,+   "pin": "7",+   "name": "DRAIN",+   "type": "power_out",+   "description": "Power MOSFET drain (paralleled with pins 5, 6, 8) for improved current handling and thermal dissipation to the PCB copper.",+   "is_pin1": false,+   "source": {+    "geometry": "DIP-8_W7.62mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "8",+   "kind": "thru_hole",+   "shape": "circle",+   "at": [+    7.62,+    0.0+   ],+   "rot": 0.0,+   "size": [+    1.6,+    1.6+   ],+   "layers": [],+   "thermal": false,+   "pin": "8",+   "name": "DRAIN",+   "type": "power_out",+   "description": "Power MOSFET drain (paralleled with pins 5, 6, 7) for improved current handling and thermal dissipation to the PCB copper.",+   "is_pin1": false,+   "source": {+    "geometry": "DIP-8_W7.62mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  }+ ]+}\ No newline at end of file
page.json+13−2
@@ -44,7 +44,7 @@         "number": "3",         "name": "FB",         "type": "input",-        "description": "Feedback input. Useful voltage range 0 V to 1 V; sets the peak drain MOSFET current. Current limitation (maximum drain current, IDlim typ 0.4 A) is obtained by shorting FB to SOURCE. FB pin input impedance ~1.2 k\u03a9; IFB max 3 mA."+        "description": "Feedback input. Useful voltage range 0 V to 1 V; sets the peak drain MOSFET current. Current limitation (maximum drain current, IDlim typ 0.4 A) is obtained by shorting FB to SOURCE. FB pin input impedance ~1.2 kΩ; IFB max 3 mA."       },       {         "number": "4",@@ -56,7 +56,7 @@         "number": "5",         "name": "DRAIN",         "type": "power_out",-        "description": "Power MOSFET drain. Also used by the internal high-voltage start-up current source to charge the external VDD capacitor. Switching drain-source rating 730 V; rDS(on) typ 27 \u03a9. Pins 5-8 are internally connected together."+        "description": "Power MOSFET drain. Also used by the internal high-voltage start-up current source to charge the external VDD capacitor. Switching drain-source rating 730 V; rDS(on) typ 27 Ω. Pins 5-8 are internally connected together."       },       {         "number": "6",@@ -96,6 +96,17 @@     "viewers": {       "symbol": "viewers/symbol.html",       "footprint": "viewers/footprint.html"+    },+    "pin1": {+      "pad": "1",+      "at": [+        0.0,+        0.0+      ],+      "corner": "bottom-right",+      "source": "fab-chamfer",+      "derived_from": "DIP-8_W7.62mm@sha256:222fb44370968119",+      "mark": "synthesised"     }   },   "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='-1.460 -2.730 10.530 12.270' style='width:100%;height:100%'><line class='ly-silk' x1='1.160' y1='-1.330' x2='1.160' y2='8.950' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.160' y1='8.950' x2='6.460' y2='8.950' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.810' y1='-1.330' x2='1.160' y2='-1.330' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='6.460' y1='-1.330' x2='4.810' y2='-1.330' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='6.460' y1='8.950' x2='6.460' y2='-1.330' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-fab' x1='0.635' y1='-0.270' x2='1.635' y2='-1.270' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='0.635' y1='8.890' x2='0.635' y2='-0.270' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='1.635' y1='-1.270' x2='6.985' y2='-1.270' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='6.985' y1='-1.270' x2='6.985' y2='8.890' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='6.985' y1='8.890' x2='0.635' y2='8.890' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-courtyard' x='-1.060' y='-1.520' width='9.730' height='10.660' fill='none' stroke='#4ade80' stroke-width='0.050'/><path class='ly-silk' d='M4.810 -1.330 A1.000 1.000 0 0 1 2.810 -1.330' fill='none' stroke='#d8b4fe' stroke-width='0.120'/><rect class='ly-copper pad' data-num='1' data-name='SOURCE' x='-0.800' y='-0.800' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.000' font-size='0.960' 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='SOURCE' x='-0.800' y='1.740' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='2.540' font-size='0.960' 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='FB' x='-0.800' y='4.280' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='5.080' font-size='0.960' 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='VDD' x='-0.800' y='6.820' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='7.620' font-size='0.960' 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='DRAIN' x='6.820' y='6.820' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='7.620' y='7.620' font-size='0.960' 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='DRAIN' x='6.820' y='4.280' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='7.620' y='5.080' font-size='0.960' 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='DRAIN' x='6.820' y='1.740' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='7.620' y='2.540' font-size='0.960' 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='DRAIN' x='6.820' y='-0.800' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='7.620' y='0.000' font-size='0.960' 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='-1.460 -2.730 10.530 12.270' style='width:100%;height:100%'><line class='ly-silk' x1='1.160' y1='-1.330' x2='1.160' y2='8.950' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='1.160' y1='8.950' x2='6.460' y2='8.950' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.810' y1='-1.330' x2='1.160' y2='-1.330' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='6.460' y1='-1.330' x2='4.810' y2='-1.330' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='6.460' y1='8.950' x2='6.460' y2='-1.330' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-fab' x1='0.635' y1='-0.270' x2='1.635' y2='-1.270' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='0.635' y1='8.890' x2='0.635' y2='-0.270' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='1.635' y1='-1.270' x2='6.985' y2='-1.270' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='6.985' y1='-1.270' x2='6.985' y2='8.890' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='6.985' y1='8.890' x2='0.635' y2='8.890' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-courtyard' x='-1.060' y='-1.520' width='9.730' height='10.660' fill='none' stroke='#4ade80' stroke-width='0.050'/><path class='ly-silk' d='M4.810 -1.330 A1.000 1.000 0 0 1 2.810 -1.330' fill='none' stroke='#d8b4fe' stroke-width='0.120'/><rect class='ly-copper pad' data-num='1' data-name='SOURCE' x='-0.800' y='-0.800' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.000' font-size='0.960' 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='SOURCE' x='-0.800' y='1.740' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='2.540' font-size='0.960' 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='FB' x='-0.800' y='4.280' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='5.080' font-size='0.960' 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='VDD' x='-0.800' y='6.820' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='7.620' font-size='0.960' 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='DRAIN' x='6.820' y='6.820' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='7.620' y='7.620' font-size='0.960' 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='DRAIN' x='6.820' y='4.280' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='7.620' y='5.080' font-size='0.960' 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='DRAIN' x='6.820' y='1.740' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='7.620' y='2.540' font-size='0.960' 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='DRAIN' x='6.820' y='-0.800' width='1.600' height='1.600' rx='0.400' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='7.620' y='0.000' font-size='0.960' 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='-0.560,1.248 0.560,1.248 0.000,2.368' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/VIPER12ADIP-E", PINS=[{"desc":"","name":"SOURCE","number":"1","type":""},{"desc":"","name":"SOURCE","number":"2","type":""},{"desc":"","name":"FB","number":"3","type":""},{"desc":"","name":"VDD","number":"4","type":""},{"desc":"","name":"DRAIN","number":"8","type":""},{"desc":"","name":"DRAIN","number":"7","type":""},{"desc":"","name":"DRAIN","number":"6","type":""},{"desc":"","name":"DRAIN","number":"5","type":""}];
viper12adip-e.lbr+1−1
@@ -86,7 +86,7 @@   <wire x1="2.8441" y1="1.0712" x2="2.8100" y2="1.3300" width="0.1200" layer="21"/>   <text x="0" y="1.930" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-9.550" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-0.5600" y="-1.2480"/><vertex x="0.5600" y="-1.2480"/><vertex x="0.0000" y="-2.3680"/></polygon></package> </packages> <symbols> <symbol name="VIPER12ADIP-E">