← Commit history

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

Ray ·bead4113be ·1mo ago ·parent 84e60ad
5 files changed +237−110
ht7533.lbr+1−1
@@ -66,7 +66,7 @@   <wire x1="0.7600" y1="-1.5600" x2="-0.7600" y2="-1.5600" width="0.1200" layer="21"/>   <text x="0" y="2.288" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-2.288" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-1.3000" y="0.3800"/><vertex x="-1.0600" y="0.0500"/><vertex x="-1.5400" y="0.0500"/></polygon></package> </packages> <symbols> <symbol name="HT7533">
package.json+2−1
@@ -24,6 +24,7 @@     "docs/hero.png",     "docs/ht7533-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "pads.json"   ] }\ No newline at end of file
pads.jsonadded+115
@@ -0,0 +1,115 @@+{+ "schema": "adom.pads/1",+ "slug": "ht7533",+ "footprint": "SOT-23",+ "generated_from": {+  "footprint": "SOT-23@sha256:0d88c86c1b6d8c1a",+  "pins": "page.json:component.pins",+  "overrides": null+ },+ "pin1": {+  "pad": "1",+  "at": [+   -0.9375,+   -0.95+  ],+  "corner": "top-left",+  "source": "silk-marker",+  "derived_from": "SOT-23@sha256:0d88c86c1b6d8c1a"+ },+ "pad_count": 3,+ "paste_apertures": 0,+ "issues": [],+ "pads": [+  {+   "pad": "1",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -0.9375,+    -0.95+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "1",+   "name": "GND",+   "type": "power_in",+   "description": "Ground reference for the regulator. Common return for both input and output currents.",+   "is_pin1": true,+   "source": {+    "geometry": "SOT-23.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "2",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -0.9375,+    0.95+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "2",+   "name": "VOUT",+   "type": "power_out",+   "description": "Regulated output. Fixed +3.3V ±3% (3.201-3.399V typical) at up to 100mA. Requires a small output capacitor for stability; typical dropout is 100mV at IOUT=1mA.",+   "is_pin1": false,+   "source": {+    "geometry": "SOT-23.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "3",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    0.9375,+    0.0+   ],+   "rot": 0.0,+   "size": [+    1.475,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "3",+   "name": "VIN",+   "type": "power_in",+   "description": "Unregulated supply input. Absolute maximum +30V; recommended operating range from (VOUT+dropout) up to 24V for line-regulation spec, with headroom needed above the 3.3V output. Bypass to GND with a ceramic capacitor.",+   "is_pin1": false,+   "source": {+    "geometry": "SOT-23.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  }+ ]+}\ No newline at end of file
page.json+118−107
@@ -1,112 +1,123 @@ {- "schema_version": 1,- "type": "component",- "slug": "ht7533",- "title": "HT7533",- "brief": "TWGMC Voltage Regulators - Linear, Low Drop Out (LDO) Regulators, SOT-23. Datasheet-verified pinout, KiCad symbol/footprint/3D.",- "version": "0.1.0",- "license": "CC-BY-SA-4.0",- "tags": [-  "component",-  "pmic",-  "ht7533"- ],- "component": {-  "mpn": "HT7533",-  "manufacturer": "TWGMC",-  "package": "SOT-23",-  "pin_count": 3,-  "category": "PMIC",-  "subcategory": "Voltage Regulators - Linear, Low Drop Out (LDO) Regulators",-  "datasheet": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2312211616_TWGMC-HT7533_C5279052.pdf",-  "parts": {-   "symbol": "ht7533.kicad_sym",-   "footprint": "ht7533.kicad_mod",-   "model_3d": "ht7533.glb",-   "model_3d_step": "ht7533.step",-   "lbr": "ht7533.lbr"+  "schema_version": 1,+  "type": "component",+  "slug": "ht7533",+  "title": "HT7533",+  "brief": "TWGMC Voltage Regulators - Linear, Low Drop Out (LDO) Regulators, SOT-23. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "version": "0.1.0",+  "license": "CC-BY-SA-4.0",+  "tags": [+    "component",+    "pmic",+    "ht7533"+  ],+  "component": {+    "mpn": "HT7533",+    "manufacturer": "TWGMC",+    "package": "SOT-23",+    "pin_count": 3,+    "category": "PMIC",+    "subcategory": "Voltage Regulators - Linear, Low Drop Out (LDO) Regulators",+    "datasheet": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2312211616_TWGMC-HT7533_C5279052.pdf",+    "parts": {+      "symbol": "ht7533.kicad_sym",+      "footprint": "ht7533.kicad_mod",+      "model_3d": "ht7533.glb",+      "model_3d_step": "ht7533.step",+      "lbr": "ht7533.lbr"+    },+    "distributor_links": {},+    "pins": [+      {+        "number": "1",+        "name": "GND",+        "type": "power_in",+        "description": "Ground reference for the regulator. Common return for both input and output currents."+      },+      {+        "number": "2",+        "name": "VOUT",+        "type": "power_out",+        "description": "Regulated output. Fixed +3.3V ±3% (3.201-3.399V typical) at up to 100mA. Requires a small output capacitor for stability; typical dropout is 100mV at IOUT=1mA."+      },+      {+        "number": "3",+        "name": "VIN",+        "type": "power_in",+        "description": "Unregulated supply input. Absolute maximum +30V; recommended operating range from (VOUT+dropout) up to 24V for line-regulation spec, with headroom needed above the 3.3V output. Bypass to GND with a ceramic capacitor."+      }+    ],+    "provenance": {+      "extractor": "ds2sf",+      "datasheet": {+        "url": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2312211616_TWGMC-HT7533_C5279052.pdf",+        "pages": 12,+        "sha256": "d0d358ba595fe029",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 3,+        "described": 3,+        "cites_pages": true,+        "refuses_to_fabricate": true+      }+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    },+    "pin1": {+      "pad": "1",+      "at": [+        -0.9375,+        -0.95+      ],+      "corner": "top-left",+      "source": "silk-marker",+      "derived_from": "SOT-23@sha256:0d88c86c1b6d8c1a",+      "mark": "drawn"+    }+  },+  "metadata": {+    "specs": {+      "Manufacturer": "Unknown",+      "Package": "SOT-23",+      "Category": "PMIC",+      "Pins": "3"+    }   },-  "distributor_links": {},-  "pins": [-   {-    "number": "1",-    "name": "GND",-    "type": "power_in",-    "description": "Ground reference for the regulator. Common return for both input and output currents."-   },-   {-    "number": "2",-    "name": "VOUT",-    "type": "power_out",-    "description": "Regulated output. Fixed +3.3V \u00b13% (3.201-3.399V typical) at up to 100mA. Requires a small output capacitor for stability; typical dropout is 100mV at IOUT=1mA."-   },-   {-    "number": "3",-    "name": "VIN",-    "type": "power_in",-    "description": "Unregulated supply input. Absolute maximum +30V; recommended operating range from (VOUT+dropout) up to 24V for line-regulation spec, with headroom needed above the 3.3V output. Bypass to GND with a ceramic capacitor."-   }+  "sections": [+    "hero",+    "viewers",+    "readme",+    "breadcrumbs",+    "info"   ],-  "provenance": {-   "extractor": "ds2sf",-   "datasheet": {-    "url": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2312211616_TWGMC-HT7533_C5279052.pdf",-    "pages": 12,-    "sha256": "d0d358ba595fe029",-    "source_tier": "lcsc"-   },-   "cad": "KiCad official (CC-BY-SA 4.0)",-   "pins": {-    "total": 3,-    "described": 3,-    "cites_pages": true,-    "refuses_to_fabricate": true-   }+  "discovery_triggers": [+    "ht7533"+  ],+  "discovery_pitch": "HT7533 (Unknown) component page with datasheet-verified CAD.",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  },+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"   },-  "viewers": {-   "symbol": "viewers/symbol.html",-   "footprint": "viewers/footprint.html"-  }- },- "metadata": {-  "specs": {-   "Manufacturer": "Unknown",-   "Package": "SOT-23",-   "Category": "PMIC",-   "Pins": "3"-  }- },- "sections": [-  "hero",-  "viewers",-  "readme",-  "breadcrumbs",-  "info"- ],- "discovery_triggers": [-  "ht7533"- ],- "discovery_pitch": "HT7533 (Unknown) component page with datasheet-verified CAD.",- "author": {-  "name": "Ray",-  "email": "[email protected]"- },- "dependencies": {},- "hero": {-  "type": "image",-  "path": "docs/hero.png"- },- "files": [-  "page.json",-  "README.md",-  "ht7533.kicad_sym",-  "ht7533.kicad_mod",-  "ht7533.glb",-  "ht7533.step",-  "ht7533.lbr",-  "docs/hero.png",-  "docs/ht7533-datasheet.pdf",-  "viewers/symbol.html",-  "viewers/footprint.html"- ]+  "files": [+    "page.json",+    "README.md",+    "ht7533.kicad_sym",+    "ht7533.kicad_mod",+    "ht7533.glb",+    "ht7533.step",+    "ht7533.lbr",+    "docs/hero.png",+    "docs/ht7533-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ] }\ No newline at end of file
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.330 -2.100 4.660 4.200' style='width:100%;height:100%'><line class='ly-silk' x1='-0.760' y1='-1.560' x2='0.760' y2='-1.560' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-0.760' y1='-1.510' x2='-0.760' y2='-1.560' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-0.760' y1='0.390' x2='-0.760' y2='-0.390' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-0.760' y1='1.560' x2='-0.760' y2='1.510' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='0.760' y1='-1.560' x2='0.760' y2='-0.560' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='0.760' y1='0.560' x2='0.760' y2='1.560' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='0.760' y1='1.560' x2='-0.760' y2='1.560' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-1.930' y1='-1.500' x2='-0.900' y2='-1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.930' y1='-0.390' x2='-1.930' y2='-1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.930' y1='0.390' x2='-0.900' y2='0.390' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.930' y1='1.500' x2='-1.930' y2='0.390' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='-1.700' x2='0.900' y2='-1.700' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='-1.500' x2='-0.900' y2='-1.700' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='-0.390' x2='-1.930' y2='-0.390' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='0.390' x2='-0.900' y2='-0.390' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='1.500' x2='-1.930' y2='1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='1.700' x2='-0.900' y2='1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='0.900' y1='-1.700' x2='0.900' y2='-0.550' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='0.900' y1='-0.550' x2='1.930' y2='-0.550' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='0.900' y1='0.550' x2='0.900' y2='1.700' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='0.900' y1='1.700' x2='-0.900' y2='1.700' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.930' y1='-0.550' x2='1.930' y2='0.550' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.930' y1='0.550' x2='0.900' y2='0.550' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='GND' x='-1.675' y='-1.250' width='1.475' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.938' y='-0.950' font-size='0.360' 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='-1.675' y='0.650' width='1.475' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.938' y='0.950' font-size='0.360' 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='0.200' y='-0.300' width='1.475' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.938' y='0.000' font-size='0.360' 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='-2.330 -2.100 4.660 4.200' style='width:100%;height:100%'><line class='ly-silk' x1='-0.760' y1='-1.560' x2='0.760' y2='-1.560' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-0.760' y1='-1.510' x2='-0.760' y2='-1.560' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-0.760' y1='0.390' x2='-0.760' y2='-0.390' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-0.760' y1='1.560' x2='-0.760' y2='1.510' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='0.760' y1='-1.560' x2='0.760' y2='-0.560' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='0.760' y1='0.560' x2='0.760' y2='1.560' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='0.760' y1='1.560' x2='-0.760' y2='1.560' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-1.930' y1='-1.500' x2='-0.900' y2='-1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.930' y1='-0.390' x2='-1.930' y2='-1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.930' y1='0.390' x2='-0.900' y2='0.390' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.930' y1='1.500' x2='-1.930' y2='0.390' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='-1.700' x2='0.900' y2='-1.700' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='-1.500' x2='-0.900' y2='-1.700' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='-0.390' x2='-1.930' y2='-0.390' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='0.390' x2='-0.900' y2='-0.390' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='1.500' x2='-1.930' y2='1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-0.900' y1='1.700' x2='-0.900' y2='1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='0.900' y1='-1.700' x2='0.900' y2='-0.550' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='0.900' y1='-0.550' x2='1.930' y2='-0.550' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='0.900' y1='0.550' x2='0.900' y2='1.700' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='0.900' y1='1.700' x2='-0.900' y2='1.700' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.930' y1='-0.550' x2='1.930' y2='0.550' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='1.930' y1='0.550' x2='0.900' y2='0.550' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='GND' x='-1.675' y='-1.250' width='1.475' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.938' y='-0.950' font-size='0.360' 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='-1.675' y='0.650' width='1.475' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.938' y='0.950' font-size='0.360' 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='0.200' y='-0.300' width='1.475' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.938' y='0.000' font-size='0.360' 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='-1.300,-0.380 -1.060,-0.050 -1.540,-0.050' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/HT7533", PINS=[{"desc":"","name":"GND","number":"1","type":""},{"desc":"","name":"VOUT","number":"2","type":""},{"desc":"","name":"VIN","number":"3","type":""}];