← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C19818855). The published library carried no attributes at all, so a BOM had nothing to buy from. Distributor PNs matched on exact MPN AND corroborating manufacturer.

Ray ·38a470485a ·1mo ago ·parent 98c7468
2 files changed +25−5
page.json+3−1
@@ -26,7 +26,9 @@       "model_3d_step": "xp4302.step",       "lbr": "xp4302.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C19818855"+    },     "pins": [       {         "number": "1",
xp4302.lbr+22−4
@@ -63,6 +63,18 @@   <smd name="7" x="2.4750" y="0.6350" dx="1.9500" dy="0.6000" layer="1"/>   <smd name="8" x="2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1"/>   <smd name="9" x="0.0000" y="-0.0000" dx="2.4100" dy="3.3000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-2.6000" y="2.4700"/>+    <vertex x="-2.8400" y="2.8000"/>+    <vertex x="-2.3600" y="2.8000"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-0.9750" y="2.4500"/>+    <vertex x="1.9500" y="2.4500"/>+    <vertex x="1.9500" y="-2.4500"/>+    <vertex x="-1.9500" y="-2.4500"/>+    <vertex x="-1.9500" y="1.4750"/>+  </polygon>   <wire x1="-2.0600" y1="2.5600" x2="2.0600" y2="2.5600" width="0.1200" layer="21"/>   <wire x1="-2.0600" y1="2.4650" x2="-2.0600" y2="2.5600" width="0.1200" layer="21"/>   <wire x1="-2.0600" y1="-2.5600" x2="-2.0600" y2="-2.4650" width="0.1200" layer="21"/>@@ -71,7 +83,7 @@   <wire x1="2.0600" y1="-2.5600" x2="-2.0600" y2="-2.5600" width="0.1200" layer="21"/>   <text x="0" y="3.480" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-3.480" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-2.6000" y="2.4700"/><vertex x="-2.8400" y="2.8000"/><vertex x="-2.3600" y="2.8000"/></polygon></package>+</package> </packages> <symbols> <symbol name="XP4302">@@ -86,7 +98,7 @@   <pin name="LED2" x="-17.78" y="0" length="middle" direction="out"/>   <pin name="VSET" x="-17.78" y="-2.54" length="middle" direction="in"/>   <pin name="NTC" x="-17.78" y="-5.08" length="middle" direction="in"/>-  <pin name="GND (Power Pad)" x="17.78" y="2.54" length="middle" direction="pwr" rot="R180"/>+  <pin name="GND_Power_Pad" x="17.78" y="2.54" length="middle" direction="pwr" rot="R180"/>   <pin name="SW" x="17.78" y="0" length="middle" direction="out" rot="R180"/>   <pin name="SEN" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/>   <pin name="BAT" x="17.78" y="-5.08" length="middle" direction="out" rot="R180"/>@@ -106,12 +118,18 @@         <connect gate="G$1" pin="LED2" pad="3"/>         <connect gate="G$1" pin="VSET" pad="4"/>         <connect gate="G$1" pin="NTC" pad="5"/>-        <connect gate="G$1" pin="GND (Power Pad)" pad="9"/>+        <connect gate="G$1" pin="GND_Power_Pad" pad="9"/>         <connect gate="G$1" pin="SW" pad="8"/>         <connect gate="G$1" pin="SEN" pad="7"/>         <connect gate="G$1" pin="BAT" pad="6"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="XP4302" constant="no"/>+          <attribute name="MANUFACTURER" value="Shenzhen Fuman" constant="no"/>+          <attribute name="LCSC_PN" value="C19818855" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>