From 2a487504df679504f80ce8cda2607a924cf69b07 Mon Sep 17 00:00:00 2001
From: Krisjanis Rijnieks <krisjanis.rijnieks@gmail.com>
Date: Tue, 5 Apr 2022 20:31:46 +0300
Subject: [PATCH] Fix Conn_PinHeader_1x04_P2.54mm_Vertical_THT_D1mm according
 to KLC

---
 fab.kicad_sym | 52 ++++++++++-----------------------------------------
 1 file changed, 10 insertions(+), 42 deletions(-)

diff --git a/fab.kicad_sym b/fab.kicad_sym
index e181a10..4989567 100644
--- a/fab.kicad_sym
+++ b/fab.kicad_sym
@@ -1424,7 +1424,7 @@
       )
     )
   )
-  (symbol "Conn_PinHeader_1x04_P2.54mm_Vertical_THT_D1mm" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
+  (symbol "Conn_PinHeader_1x04_P2.54mm_Vertical_THT_D1mm" (pin_names hide) (in_bom yes) (on_board yes)
     (property "Reference" "J" (id 0) (at 0 5.08 0)
       (effects (font (size 1.27 1.27)))
     )
@@ -1443,56 +1443,24 @@
     (property "ki_description" "Male connector, single row" (id 5) (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
-    (property "ki_fp_filters" "fab:*Header_SMD_01x??_*" (id 6) (at 0 0 0)
+    (property "ki_fp_filters" "*PinHeader*1x04*" (id 6) (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
     (symbol "Conn_PinHeader_1x04_P2.54mm_Vertical_THT_D1mm_1_1"
-      (polyline
-        (pts
-          (xy 1.27 -5.08)
-          (xy 0.8636 -5.08)
-        )
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
-        (fill (type none))
-      )
-      (polyline
-        (pts
-          (xy 1.27 -2.54)
-          (xy 0.8636 -2.54)
-        )
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
-        (fill (type none))
-      )
-      (polyline
-        (pts
-          (xy 1.27 0)
-          (xy 0.8636 0)
-        )
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
-        (fill (type none))
-      )
-      (polyline
-        (pts
-          (xy 1.27 2.54)
-          (xy 0.8636 2.54)
-        )
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
-        (fill (type none))
-      )
-      (rectangle (start 0.8636 -4.953) (end 0 -5.207)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
+      (rectangle (start -1.27 -4.445) (end 1.27 -5.715)
+        (stroke (width 0.254) (type default) (color 0 0 0 0))
         (fill (type outline))
       )
-      (rectangle (start 0.8636 -2.413) (end 0 -2.667)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
+      (rectangle (start -1.27 -1.905) (end 1.27 -3.175)
+        (stroke (width 0.254) (type default) (color 0 0 0 0))
         (fill (type outline))
       )
-      (rectangle (start 0.8636 0.127) (end 0 -0.127)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
+      (rectangle (start -1.27 0.635) (end 1.27 -0.635)
+        (stroke (width 0.254) (type default) (color 0 0 0 0))
         (fill (type outline))
       )
-      (rectangle (start 0.8636 2.667) (end 0 2.413)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
+      (rectangle (start -1.27 3.175) (end 1.27 1.905)
+        (stroke (width 0.254) (type default) (color 0 0 0 0))
         (fill (type outline))
       )
       (pin passive line (at 5.08 2.54 180) (length 3.81)
-- 
GitLab