← Commit history

Dedupe duplicate pad names (KiCad same-net multi-pads, pre-2.10 adom-lbr): Fusion refuses the entire library over them; renamed to the name@N convention with connects extended so every pad keeps its pin

Colby Knox ·10259601a1 · ·parent 556c571
2 files changed +8−8
TYPE-C-31-M-12.lbr+4−4
@@ -71,9 +71,9 @@   <smd name="B9" x="-2.4000" y="3.6800" dx="0.6000" dy="1.1500" layer="1"/>   <smd name="B12" x="-3.2000" y="3.6800" dx="0.6000" dy="1.1500" layer="1"/>   <pad name="SH" x="-4.3200" y="3.1050" drill="0.6000" diameter="2.1000" shape="long"/>-  <pad name="SH" x="-4.3200" y="-1.0750" drill="0.6000" diameter="1.8000" shape="long"/>-  <pad name="SH" x="4.3200" y="3.1050" drill="0.6000" diameter="2.1000" shape="long"/>-  <pad name="SH" x="4.3200" y="-1.0750" drill="0.6000" diameter="1.8000" shape="long"/>+  <pad name="SH@2" x="-4.3200" y="-1.0750" drill="0.6000" diameter="1.8000" shape="long"/>+  <pad name="SH@3" x="4.3200" y="3.1050" drill="0.6000" diameter="2.1000" shape="long"/>+  <pad name="SH@4" x="4.3200" y="-1.0750" drill="0.6000" diameter="1.8000" shape="long"/>   <wire x1="-4.4700" y1="3.6750" x2="4.4700" y2="3.6750" width="0.1000" layer="51"/>   <wire x1="4.4700" y1="3.6750" x2="4.4700" y2="-3.6750" width="0.1000" layer="51"/>   <wire x1="4.4700" y1="-3.6750" x2="-4.4700" y2="-3.6750" width="0.1000" layer="51"/>@@ -218,7 +218,7 @@         <connect gate="G$1" pin="SBU2" pad="B8"/>         <connect gate="G$1" pin="VBUS@4" pad="B9"/>         <connect gate="G$1" pin="GND@4" pad="B12"/>-        <connect gate="G$1" pin="SHIELD" pad="SH"/>+        <connect gate="G$1" pin="SHIELD" pad="SH SH@2 SH@3 SH@4"/>       </connects>       <technologies><technology name=""/></technologies>     </device>
type-c-31-m-12.lbr+4−4
@@ -71,9 +71,9 @@   <smd name="B9" x="-2.4000" y="3.6800" dx="0.6000" dy="1.1500" layer="1"/>   <smd name="B12" x="-3.2000" y="3.6800" dx="0.6000" dy="1.1500" layer="1"/>   <pad name="SH" x="-4.3200" y="3.1050" drill="0.6000" diameter="2.1000" shape="long"/>-  <pad name="SH" x="-4.3200" y="-1.0750" drill="0.6000" diameter="1.8000" shape="long"/>-  <pad name="SH" x="4.3200" y="3.1050" drill="0.6000" diameter="2.1000" shape="long"/>-  <pad name="SH" x="4.3200" y="-1.0750" drill="0.6000" diameter="1.8000" shape="long"/>+  <pad name="SH@2" x="-4.3200" y="-1.0750" drill="0.6000" diameter="1.8000" shape="long"/>+  <pad name="SH@3" x="4.3200" y="3.1050" drill="0.6000" diameter="2.1000" shape="long"/>+  <pad name="SH@4" x="4.3200" y="-1.0750" drill="0.6000" diameter="1.8000" shape="long"/>   <wire x1="-4.4700" y1="3.6750" x2="4.4700" y2="3.6750" width="0.1000" layer="51"/>   <wire x1="4.4700" y1="3.6750" x2="4.4700" y2="-3.6750" width="0.1000" layer="51"/>   <wire x1="4.4700" y1="-3.6750" x2="-4.4700" y2="-3.6750" width="0.1000" layer="51"/>@@ -218,7 +218,7 @@         <connect gate="G$1" pin="SBU2" pad="B8"/>         <connect gate="G$1" pin="VBUS@4" pad="B9"/>         <connect gate="G$1" pin="GND@4" pad="B12"/>-        <connect gate="G$1" pin="SHIELD" pad="SH"/>+        <connect gate="G$1" pin="SHIELD" pad="SH SH@2 SH@3 SH@4"/>       </connects>       <technologies><technology name=""/></technologies>     </device>