From f25a63a00ef11729d6b92759f9d27e778cf3d43d Mon Sep 17 00:00:00 2001
From: Krisjanis Rijnieks <krisjanis.rijnieks@gmail.com>
Date: Tue, 5 Apr 2022 20:52:12 +0300
Subject: [PATCH] Fix Conn_PinHeader_1x07_P2.54mm_Horizontal_SMD according to
 KLC

---
 fab.kicad_sym | 88 ++++++++++-----------------------------------------
 1 file changed, 16 insertions(+), 72 deletions(-)

diff --git a/fab.kicad_sym b/fab.kicad_sym
index ab16532..d6e6c09 100644
--- a/fab.kicad_sym
+++ b/fab.kicad_sym
@@ -1895,7 +1895,7 @@
       )
     )
   )
-  (symbol "Conn_PinHeader_1x07_P2.54mm_Horizontal_SMD" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
+  (symbol "Conn_PinHeader_1x07_P2.54mm_Horizontal_SMD" (pin_names hide) (in_bom yes) (on_board yes)
     (property "Reference" "J" (id 0) (at 0 10.16 0)
       (effects (font (size 1.27 1.27)))
     )
@@ -1914,92 +1914,36 @@
     (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*1x07*" (id 6) (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
     (symbol "Conn_PinHeader_1x07_P2.54mm_Horizontal_SMD_1_1"
-      (polyline
-        (pts
-          (xy 1.27 -7.62)
-          (xy 0.8636 -7.62)
-        )
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
-        (fill (type none))
-      )
-      (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))
-      )
-      (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 7.62)
-          (xy 0.8636 7.62)
-        )
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
-        (fill (type none))
-      )
-      (rectangle (start 0.8636 -7.493) (end 0 -7.747)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
+      (rectangle (start -1.27 -6.985) (end 1.27 -8.255)
+        (stroke (width 0.254) (type default) (color 0 0 0 0))
         (fill (type outline))
       )
-      (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))
       )
-      (rectangle (start 0.8636 5.207) (end 0 4.953)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
+      (rectangle (start -1.27 5.715) (end 1.27 4.445)
+        (stroke (width 0.254) (type default) (color 0 0 0 0))
         (fill (type outline))
       )
-      (rectangle (start 0.8636 7.747) (end 0 7.493)
-        (stroke (width 0.1524) (type default) (color 0 0 0 0))
+      (rectangle (start -1.27 8.255) (end 1.27 6.985)
+        (stroke (width 0.254) (type default) (color 0 0 0 0))
         (fill (type outline))
       )
       (pin passive line (at 5.08 7.62 180) (length 3.81)
-- 
GitLab