From 5655c8a155c57f8531be5089d0b542f317afb148 Mon Sep 17 00:00:00 2001
From: Krisjanis Rijnieks <krisjanis.rijnieks@gmail.com>
Date: Thu, 7 Apr 2022 21:14:47 +0300
Subject: [PATCH] Fix Conn_PinHeader_2x02_P1.27mm_Vertical_SMD according to KLC

---
 fab.kicad_sym | 34 +++++++++-------------------------
 1 file changed, 9 insertions(+), 25 deletions(-)

diff --git a/fab.kicad_sym b/fab.kicad_sym
index 4285053..097644b 100644
--- a/fab.kicad_sym
+++ b/fab.kicad_sym
@@ -2456,11 +2456,11 @@
       )
     )
   )
-  (symbol "Conn_PinHeader_2x02_P1.27mm_Vertical_SMD" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
-    (property "Reference" "J" (id 0) (at 1.27 2.54 0)
+  (symbol "Conn_PinHeader_2x02_P1.27mm_Vertical_SMD" (pin_names hide) (in_bom yes) (on_board yes)
+    (property "Reference" "J" (id 0) (at 0 3.81 0)
       (effects (font (size 1.27 1.27)))
     )
-    (property "Value" "Conn_PinHeader_2x02_P1.27mm_Vertical_SMD" (id 1) (at 1.27 -5.08 0)
+    (property "Value" "Conn_PinHeader_2x02_P1.27mm_Vertical_SMD" (id 1) (at 1.27 -3.81 0)
       (effects (font (size 1.27 1.27)))
     )
     (property "Footprint" "fab:PinHeader_2x02_P1.27mm_Vertical_SMD" (id 2) (at 0 0 0)
@@ -2475,43 +2475,27 @@
     (property "ki_description" "Connector Header Surface Mount 4 position 0.050\" (1.27mm)" (id 5) (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
-    (property "ki_fp_filters" "Connector*:*_2x??_*" (id 6) (at 0 0 0)
+    (property "ki_fp_filters" "*PinHeader*2x02*" (id 6) (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
     (symbol "Conn_PinHeader_2x02_P1.27mm_Vertical_SMD_1_1"
-      (rectangle (start -1.27 -2.413) (end 0 -2.667)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
-        (fill (type none))
-      )
-      (rectangle (start -1.27 0.127) (end 0 -0.127)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
-        (fill (type none))
-      )
-      (rectangle (start -1.27 1.27) (end 3.81 -3.81)
+      (rectangle (start -3.81 2.54) (end 3.81 -2.54)
         (stroke (width 0.254) (type default) (color 0 0 0 0))
         (fill (type background))
       )
-      (rectangle (start 3.81 -2.413) (end 2.54 -2.667)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
-        (fill (type none))
-      )
-      (rectangle (start 3.81 0.127) (end 2.54 -0.127)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
-        (fill (type none))
-      )
-      (pin passive line (at -5.08 0 0) (length 3.81)
+      (pin passive line (at -7.62 1.27 0) (length 3.81)
         (name "Pin_1" (effects (font (size 1.27 1.27))))
         (number "1" (effects (font (size 1.27 1.27))))
       )
-      (pin passive line (at 7.62 0 180) (length 3.81)
+      (pin passive line (at 7.62 1.27 180) (length 3.81)
         (name "Pin_2" (effects (font (size 1.27 1.27))))
         (number "2" (effects (font (size 1.27 1.27))))
       )
-      (pin passive line (at -5.08 -2.54 0) (length 3.81)
+      (pin passive line (at -7.62 -1.27 0) (length 3.81)
         (name "Pin_3" (effects (font (size 1.27 1.27))))
         (number "3" (effects (font (size 1.27 1.27))))
       )
-      (pin passive line (at 7.62 -2.54 180) (length 3.81)
+      (pin passive line (at 7.62 -1.27 180) (length 3.81)
         (name "Pin_4" (effects (font (size 1.27 1.27))))
         (number "4" (effects (font (size 1.27 1.27))))
       )
-- 
GitLab