← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C18197844). 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 ·b854f24528 · ·parent 4ac6367
2 files changed +25−5
lm2576hvs-12.lbr+22−4
@@ -60,6 +60,18 @@   <smd name="4" x="-7.6500" y="-1.7000" dx="4.6000" dy="1.1000" layer="1"/>   <smd name="5" x="-7.6500" y="-3.4000" dx="4.6000" dy="1.1000" layer="1"/>   <smd name="6" x="1.5000" y="-0.0000" dx="9.4000" dy="10.8000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-7.6500" y="4.2100"/>+    <vertex x="-7.9900" y="4.6800"/>+    <vertex x="-7.3100" y="4.6800"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="4.6250" y="5.0000"/>+    <vertex x="4.6250" y="-5.0000"/>+    <vertex x="-4.6250" y="-5.0000"/>+    <vertex x="-4.6250" y="4.0000"/>+    <vertex x="-3.6250" y="5.0000"/>+  </polygon>   <wire x1="-4.8250" y1="5.2000" x2="-4.8250" y2="4.2500" width="0.1200" layer="21"/>   <wire x1="-4.8250" y1="-5.2000" x2="-4.8250" y2="-4.2500" width="0.1200" layer="21"/>   <wire x1="-3.4600" y1="5.2000" x2="-4.8250" y2="5.2000" width="0.1200" layer="21"/>@@ -84,7 +96,7 @@   <wire x1="5.6250" y1="-5.0000" x2="4.6250" y2="-5.0000" width="0.1000" layer="51"/>   <text x="0" y="6.300" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-6.300" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-7.6500" y="4.2100"/><vertex x="-7.9900" y="4.6800"/><vertex x="-7.3100" y="4.6800"/></polygon></package>+</package> </packages> <symbols> <symbol name="LM2576HVS-12">@@ -98,7 +110,7 @@   <pin name="OUT" x="17.78" y="7.62" length="middle" direction="out" rot="R180"/>   <pin name="GND" x="-17.78" y="0" length="middle" direction="pwr"/>   <pin name="FB" x="-17.78" y="7.62" length="middle" direction="in"/>-  <pin name="~{ON}/OFF" x="-17.78" y="5.08" length="middle" direction="in"/>+  <pin name="ON_/OFF" x="-17.78" y="5.08" length="middle" direction="in"/>   <pin name="TAB" x="-17.78" y="-2.54" length="middle" direction="pwr"/> </symbol> </symbols>@@ -115,10 +127,16 @@         <connect gate="G$1" pin="OUT" pad="2"/>         <connect gate="G$1" pin="GND" pad="3"/>         <connect gate="G$1" pin="FB" pad="4"/>-        <connect gate="G$1" pin="~{ON}/OFF" pad="5"/>+        <connect gate="G$1" pin="ON_/OFF" pad="5"/>         <connect gate="G$1" pin="TAB" pad="6"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="LM2576HVS-12" constant="no"/>+          <attribute name="MANUFACTURER" value="TECH PUBLIC" constant="no"/>+          <attribute name="LCSC_PN" value="C18197844" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+3−1
@@ -26,7 +26,9 @@       "model_3d_step": "lm2576hvs-12.step",       "lbr": "lm2576hvs-12.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C18197844"+    },     "pins": [       {         "number": "1",