← Commit history

pin map: the package TAB (symbol pin 4, VOUT) is pad 2, not a fourth pad - the footprint name says so. Without the map the connect dangled and the library failed validate, which also blocked the orderable attributes (LCSC_PN C165482). Now emitted.

Ray ·e7433e98a6 · ·parent c56e18e
2 files changed +39−22
pinmap.jsonadded+3
@@ -0,0 +1,3 @@+{+ "4": "2"+}\ No newline at end of file
sk1117-3-3.lbr+36−22
@@ -50,14 +50,20 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description>SOT-223-3_TabPin2 (symbol synthesized from footprint pads)</description>+<description></description> <packages>-<package name="SOT-223-3_TabPin2">-  <description>SOT-223-3_TabPin2</description>+<package name="SK1117-3.3">+  <description>SK1117-3.3</description>   <smd name="1" x="-3.1500" y="2.3000" dx="2.0000" dy="1.5000" layer="1"/>   <smd name="2" x="-3.1500" y="-0.0000" dx="2.0000" dy="1.5000" layer="1"/>   <smd name="2@2" x="3.1500" y="-0.0000" dx="2.0000" dy="3.8000" layer="1"/>   <smd name="3" x="-3.1500" y="-2.3000" dx="2.0000" dy="1.5000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-3.1300" y="3.3100"/>+    <vertex x="-3.3700" y="3.6400"/>+    <vertex x="-2.8900" y="3.6400"/>+    <vertex x="-3.1300" y="3.3100"/>+  </polygon>   <wire x1="-1.8500" y1="3.4100" x2="1.9100" y2="3.4100" width="0.1200" layer="21"/>   <wire x1="-1.8500" y1="-3.4100" x2="1.9100" y2="-3.4100" width="0.1200" layer="21"/>   <wire x1="1.9100" y1="3.4100" x2="1.9100" y2="2.1500" width="0.1200" layer="21"/>@@ -69,35 +75,43 @@   <wire x1="1.8500" y1="3.3500" x2="1.8500" y2="-3.3500" width="0.1000" layer="51"/>   <text x="0" y="4.010" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-4.010" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-3.1300" y="3.3100"/><vertex x="-3.3700" y="3.6400"/><vertex x="-2.8900" y="3.6400"/><vertex x="-3.1300" y="3.3100"/></polygon></package>+</package> </packages> <symbols>-<symbol name="SOT-223-3_TabPin2">-  <wire x1="-7.62" y1="3.81" x2="7.62" y2="3.81" width="0.254" layer="94"/>-  <wire x1="7.62" y1="3.81" x2="7.62" y2="-3.81" width="0.254" layer="94"/>-  <wire x1="7.62" y1="-3.81" x2="-7.62" y2="-3.81" width="0.254" layer="94"/>-  <wire x1="-7.62" y1="-3.81" x2="-7.62" y2="3.81" width="0.254" layer="94"/>-  <text x="0" y="6.35" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>-  <text x="0" y="-6.35" size="1.27" layer="96" align="top-center">&gt;VALUE</text>-  <pin name="1" x="-12.7" y="2.54" length="short" direction="pas"/>-  <pin name="2" x="-12.7" y="0" length="short" direction="pas"/>-  <pin name="3" x="12.7" y="2.54" length="short" direction="pas" rot="R180"/>+<symbol name="SK1117-3.3">+  <wire x1="-12.7" y1="2.54" x2="12.7" y2="2.54" width="0.254" layer="94"/>+  <wire x1="12.7" y1="2.54" x2="12.7" y2="-5.08" width="0.254" layer="94"/>+  <wire x1="12.7" y1="-5.08" x2="-12.7" y2="-5.08" width="0.254" layer="94"/>+  <wire x1="-12.7" y1="-5.08" x2="-12.7" y2="2.54" width="0.254" layer="94"/>+  <text x="0" y="5.08" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>+  <text x="0" y="-7.62" size="1.27" layer="96" align="top-center">&gt;VALUE</text>+  <pin name="GND" x="-17.78" y="0" length="middle" direction="pwr"/>+  <pin name="VOUT" x="-17.78" y="-2.54" length="middle" direction="out"/>+  <pin name="VOUT@2" x="17.78" y="0" length="middle" direction="out" rot="R180"/>+  <pin name="VIN" x="17.78" y="-2.54" length="middle" direction="pwr" rot="R180"/> </symbol> </symbols> <devicesets>-<deviceset name="SOT-223-3_TabPin2" prefix="U">-  <description>SOT-223-3_TabPin2 (symbol synthesized from footprint pads)</description>+<deviceset name="SK1117-3.3" prefix="U">+  <description></description>   <gates>-    <gate name="G$1" symbol="SOT-223-3_TabPin2" x="0" y="0"/>+    <gate name="G$1" symbol="SK1117-3.3" x="0" y="0"/>   </gates>   <devices>-    <device name="" package="SOT-223-3_TabPin2">+    <device name="" package="SK1117-3.3">       <connects>-        <connect gate="G$1" pin="1" pad="1"/>-        <connect gate="G$1" pin="2" pad="2 2@2"/>-        <connect gate="G$1" pin="3" pad="3"/>+        <connect gate="G$1" pin="GND" pad="1"/>+        <connect gate="G$1" pin="VOUT" pad="2 2@2"/>+        <connect gate="G$1" pin="VOUT@2" pad="2 2@2"/>+        <connect gate="G$1" pin="VIN" pad="3"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="SK1117-3.3" constant="no"/>+          <attribute name="MANUFACTURER" value="Shikues" constant="no"/>+          <attribute name="LCSC_PN" value="C165482" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>