← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C126708). 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 ·64de283f9d ·1mo ago ·parent 0976c67
2 files changed +49−29
page.json+5−3
@@ -26,7 +26,9 @@       "model_3d_step": "tph2504-tr.step",       "lbr": "tph2504-tr.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C126708"+    },     "pins": [       {         "number": "1",@@ -68,7 +70,7 @@         "number": "7",         "name": "Out B",         "type": "output",-        "description": "Amplifier B output. Rail-to-rail; typical output swing within 2mV of the rails at RL=100kΩ."+        "description": "Amplifier B output. Rail-to-rail; typical output swing within 2mV of the rails at RL=100k\u03a9."       },       {         "number": "8",@@ -110,7 +112,7 @@         "number": "14",         "name": "Out D",         "type": "output",-        "description": "Amplifier D output. Rail-to-rail; ±160mA absolute maximum output current."+        "description": "Amplifier D output. Rail-to-rail; \u00b1160mA absolute maximum output current."       }     ],     "provenance": {
tph2504-tr.lbr+44−26
@@ -68,6 +68,18 @@   <smd name="12" x="2.8625" y="0.6500" dx="1.4750" dy="0.4000" layer="1"/>   <smd name="13" x="2.8625" y="1.3000" dx="1.4750" dy="0.4000" layer="1"/>   <smd name="14" x="2.8625" y="1.9500" dx="1.4750" dy="0.4000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-2.9500" y="2.4100"/>+    <vertex x="-3.2900" y="2.8800"/>+    <vertex x="-2.6100" y="2.8800"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-1.2000" y="2.5000"/>+    <vertex x="2.2000" y="2.5000"/>+    <vertex x="2.2000" y="-2.5000"/>+    <vertex x="-2.2000" y="-2.5000"/>+    <vertex x="-2.2000" y="1.5000"/>+  </polygon>   <wire x1="-2.3100" y1="2.6100" x2="2.3100" y2="2.6100" width="0.1200" layer="21"/>   <wire x1="-2.3100" y1="2.4100" x2="-2.3100" y2="2.6100" width="0.1200" layer="21"/>   <wire x1="-2.3100" y1="-2.6100" x2="-2.3100" y2="-2.4100" width="0.1200" layer="21"/>@@ -76,7 +88,7 @@   <wire x1="2.3100" y1="-2.6100" x2="-2.3100" y2="-2.6100" width="0.1200" layer="21"/>   <text x="0" y="3.288" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-3.288" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-2.9500" y="2.4100"/><vertex x="-3.2900" y="2.8800"/><vertex x="-2.6100" y="2.8800"/></polygon></package>+</package> </packages> <symbols> <symbol name="TPH2504-TR">@@ -86,20 +98,20 @@   <wire x1="-12.7" y1="-10.16" x2="-12.7" y2="10.16" width="0.254" layer="94"/>   <text x="0" y="12.7" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>   <text x="0" y="-12.7" size="1.27" layer="96" align="top-center">&gt;VALUE</text>-  <pin name="Out A" x="-17.78" y="7.62" length="middle" direction="out"/>-  <pin name="-In A" x="-17.78" y="5.08" length="middle" direction="in"/>-  <pin name="+In A" x="-17.78" y="2.54" length="middle" direction="in"/>+  <pin name="Out_A" x="-17.78" y="7.62" length="middle" direction="out"/>+  <pin name="-In_A" x="-17.78" y="5.08" length="middle" direction="in"/>+  <pin name="+In_A" x="-17.78" y="2.54" length="middle" direction="in"/>   <pin name="+Vs" x="-17.78" y="0" length="middle" direction="pwr"/>-  <pin name="+In B" x="-17.78" y="-2.54" length="middle" direction="in"/>-  <pin name="-In B" x="-17.78" y="-5.08" length="middle" direction="in"/>-  <pin name="Out B" x="-17.78" y="-7.62" length="middle" direction="out"/>-  <pin name="Out D" x="17.78" y="7.62" length="middle" direction="out" rot="R180"/>-  <pin name="-In D" x="17.78" y="5.08" length="middle" direction="in" rot="R180"/>-  <pin name="+In D" x="17.78" y="2.54" length="middle" direction="in" rot="R180"/>+  <pin name="+In_B" x="-17.78" y="-2.54" length="middle" direction="in"/>+  <pin name="-In_B" x="-17.78" y="-5.08" length="middle" direction="in"/>+  <pin name="Out_B" x="-17.78" y="-7.62" length="middle" direction="out"/>+  <pin name="Out_D" x="17.78" y="7.62" length="middle" direction="out" rot="R180"/>+  <pin name="-In_D" x="17.78" y="5.08" length="middle" direction="in" rot="R180"/>+  <pin name="+In_D" x="17.78" y="2.54" length="middle" direction="in" rot="R180"/>   <pin name="-Vs" x="17.78" y="0" length="middle" direction="pwr" rot="R180"/>-  <pin name="+In C" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/>-  <pin name="-In C" x="17.78" y="-5.08" length="middle" direction="in" rot="R180"/>-  <pin name="Out C" x="17.78" y="-7.62" length="middle" direction="out" rot="R180"/>+  <pin name="+In_C" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/>+  <pin name="-In_C" x="17.78" y="-5.08" length="middle" direction="in" rot="R180"/>+  <pin name="Out_C" x="17.78" y="-7.62" length="middle" direction="out" rot="R180"/> </symbol> </symbols> <devicesets>@@ -111,22 +123,28 @@   <devices>     <device name="" package="TPH2504-TR">       <connects>-        <connect gate="G$1" pin="Out A" pad="1"/>-        <connect gate="G$1" pin="-In A" pad="2"/>-        <connect gate="G$1" pin="+In A" pad="3"/>+        <connect gate="G$1" pin="Out_A" pad="1"/>+        <connect gate="G$1" pin="-In_A" pad="2"/>+        <connect gate="G$1" pin="+In_A" pad="3"/>         <connect gate="G$1" pin="+Vs" pad="4"/>-        <connect gate="G$1" pin="+In B" pad="5"/>-        <connect gate="G$1" pin="-In B" pad="6"/>-        <connect gate="G$1" pin="Out B" pad="7"/>-        <connect gate="G$1" pin="Out D" pad="14"/>-        <connect gate="G$1" pin="-In D" pad="13"/>-        <connect gate="G$1" pin="+In D" pad="12"/>+        <connect gate="G$1" pin="+In_B" pad="5"/>+        <connect gate="G$1" pin="-In_B" pad="6"/>+        <connect gate="G$1" pin="Out_B" pad="7"/>+        <connect gate="G$1" pin="Out_D" pad="14"/>+        <connect gate="G$1" pin="-In_D" pad="13"/>+        <connect gate="G$1" pin="+In_D" pad="12"/>         <connect gate="G$1" pin="-Vs" pad="11"/>-        <connect gate="G$1" pin="+In C" pad="10"/>-        <connect gate="G$1" pin="-In C" pad="9"/>-        <connect gate="G$1" pin="Out C" pad="8"/>+        <connect gate="G$1" pin="+In_C" pad="10"/>+        <connect gate="G$1" pin="-In_C" pad="9"/>+        <connect gate="G$1" pin="Out_C" pad="8"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="TPH2504-TR" constant="no"/>+          <attribute name="MANUFACTURER" value="3PEAK" constant="no"/>+          <attribute name="LCSC_PN" value="C126708" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>