Author SHA1 Message Date
nickdante8 1c502f33e1 Add hook switch H012-10. 2026-08-17 13:17:18 +03:00
7 changed files with 12233 additions and 6 deletions
File diff suppressed because it is too large Load Diff
+9 -5
View File
@@ -2,14 +2,18 @@
All custom components libraries for kicad. All custom components libraries for kicad.
This hub houses a comprehensive collection of symbols and footprints for the electronic compoenents used in the projects. Every HW project developed must use this library to make sure that a certain consistency, efficiency, improvement and versioning is mentained. This hub houses a comprehensive collection of symbols and footprints for the electronic components used in the projects. Every HW project developed must use this library to make sure that a certain consistency, efficiency, improvement and versioning is maintained.
# Getting Started # Getting Started
1. Clone the repository: 1. Clone the repository:
- Download a copy of the entire library collection to your local machine - Download a copy of the entire library collection to your local machine
2. Configure KiCad Paths: 2. Configure KiCad Paths:
- Open KiCad Preferences. - Open KiCad Preferences -> **Configure Paths**.
- Navigate to **Configure Paths**. - Add a new **Environment Variable** named **KICAD_GHOST_CAT_LIB_DIR** and click OK.
- Add a new **Environment Variable** with **GHOST_CAT_KICAD_LIB** name - Open KiCad Preferences -> **Symbol Libraries** / **Footprint Libraries** and set them up as in the table below.
- Add the path to the cloned repository's `/lib` directory.
| Libraries type | Nickname | Library Path | Library Format |
| -- | -- | -- | -- |
| Symbols | GhostCat | `${KICAD_GHOST_CAT_LIB_DIR}`/sym-lib-table | Table |
| Footprints | GhostCat | `${KICAD_GHOST_CAT_LIB_DIR}`/fp-lib-table | Table |
@@ -0,0 +1,203 @@
(footprint "SW_DIP_DEEC_H012-10_B23.8x17.1x8.1mm_2x03_P5mm"
(version 20260206)
(generator "pcbnew")
(generator_version "10.0")
(layer "F.Cu")
(property "Reference" "REF**"
(at 5 -0.5 0)
(unlocked yes)
(layer "F.SilkS")
(uuid "2c8c558b-e0eb-4181-aa40-55f8155e7f27")
(effects
(font
(size 1 1)
(thickness 0.1)
)
)
)
(property "Value" "SW_DIP_DEEC_H012-10_B23.8x17.1x8.1mm_2x03_P5mm"
(at 0 1 0)
(unlocked yes)
(layer "F.Fab")
(uuid "a9020060-91a0-4cb8-a3db-df53f97f4bc2")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "784990a1-f4bf-4c56-95f1-76073569afa0")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "553bb498-406f-478e-ad71-e88aad382cb7")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(attr through_hole)
(duplicate_pad_numbers_are_jumpers no)
(fp_line
(start -6.9 -8.4)
(end 16.9 -8.4)
(stroke
(width 0.1)
(type default)
)
(layer "F.SilkS")
(uuid "2a86b75e-d585-4059-a318-49ae8c9aad9b")
)
(fp_line
(start -6.9 8.4)
(end -6.9 -8.4)
(stroke
(width 0.1)
(type default)
)
(layer "F.SilkS")
(uuid "ed38e96f-57ad-4564-8157-d58a75bcf8e9")
)
(fp_line
(start 16.9 -8.4)
(end 16.9 8.4)
(stroke
(width 0.1)
(type default)
)
(layer "F.SilkS")
(uuid "6b148610-e20a-4231-bb57-aa650b0f3385")
)
(fp_line
(start 16.9 8.4)
(end -6.9 8.4)
(stroke
(width 0.1)
(type default)
)
(layer "F.SilkS")
(uuid "ff8e4ba2-90b5-4050-b880-3155af9deb1d")
)
(fp_text user "${REFERENCE}"
(at 5 2.5 0)
(unlocked yes)
(layer "F.Fab")
(uuid "e2bf4ccc-7ee2-4cfd-bdec-a340128d1268")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(pad "1" thru_hole roundrect
(at 5 -2.5)
(size 1.5 1.27)
(drill 0.8)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(roundrect_rratio 0)
(chamfer_ratio 0.2)
(chamfer top_left)
(uuid "69e5ada1-5367-40af-9c30-6938b2008269")
)
(pad "2" thru_hole oval
(at 0 -2.5)
(size 1.5 1.27)
(drill 0.8)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(uuid "16216805-8e89-4097-afda-6b3981f2eb47")
)
(pad "3" thru_hole oval
(at -5 -2.5)
(size 1.5 1.27)
(drill 0.8)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(uuid "7e4704c6-d384-4c8b-9e8c-c170b8f77212")
)
(pad "4" thru_hole oval
(at -5 2.5)
(size 1.5 1.27)
(drill 0.8)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(uuid "65a8651d-7e09-4108-bbce-6550979dbb06")
)
(pad "5" thru_hole oval
(at 0 2.5)
(size 1.5 1.27)
(drill 0.8)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(uuid "f58d25da-b95d-44cc-a247-4260d20634c7")
)
(pad "6" thru_hole oval
(at 5 2.5)
(size 1.5 1.27)
(drill 0.8)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(uuid "c9dfc8ea-1d2c-4753-a545-c88116135d76")
)
(zone
(layer "F.SilkS")
(uuid "1e933694-0802-47de-8529-61bad97449f6")
(hatch edge 0.5)
(connect_pads
(clearance 0)
)
(min_thickness 0.25)
(keepout
(tracks allowed)
(vias allowed)
(pads not_allowed)
(copperpour allowed)
(footprints not_allowed)
)
(placement
(enabled no)
(sheetname "")
)
(fill
(thermal_gap 0.5)
(thermal_bridge_width 0.5)
(island_removal_mode 0)
)
(polygon
(pts
(xy -6.9 -8.4) (xy 16.9 -8.4) (xy 16.9 8.4) (xy -6.9 8.4)
)
)
)
(embedded_fonts no)
(model "${KICAD_GHOST_CAT_LIB_DIR}/3dmodels/Switch_GhostCat.3dshapes/H012-10.STEP"
(offset
(xyz 0 0 0)
)
(scale
(xyz 1 1 1)
)
(rotate
(xyz 0 0 0)
)
)
)
+4
View File
@@ -0,0 +1,4 @@
(fp_lib_table
(version 7)
(lib (name "Switch_GhostCat") (type "KiCad") (uri "${KICAD_GHOST_CAT_LIB_DIR}/footprints/Switch_GhostCat.pretty") (options "") (descr ""))
)
View File
+4
View File
@@ -0,0 +1,4 @@
(sym_lib_table
(version 7)
(lib (name "Switch_GhostCat") (type "KiCad") (uri "${KICAD_GHOST_CAT_LIB_DIR}/symbols/Switch_GhostCat.kicad_sym") (options "") (descr ""))
)
+316
View File
@@ -0,0 +1,316 @@
(kicad_symbol_lib
(version 20251024)
(generator "kicad_symbol_editor")
(generator_version "10.0")
(symbol "SW_DIP_DEEC_H012-10"
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(in_pos_files yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "SW"
(at 0 10.668 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" ""
(at 0 -8.89 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" "Switch_GhostCat:SW_DIP_DEEC_H012-10_B23.8x17.1x8.1mm_2x03_P5mm"
(at 0 -8.89 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 -8.89 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Plastic Telephone Switch for Communication (6-Pin Push Button Switches)"
(at 0 -8.89 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "SW_DIP_DEEC_H012-10_0_1"
(polyline
(pts
(xy -5.08 0) (xy -5.08 -1.778) (xy -3.556 -1.778)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy -5.08 -8.89) (xy -5.08 -7.112) (xy -3.556 -7.112)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy 5.08 0) (xy 5.08 -3.302) (xy 0.508 -3.302)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy 5.08 -8.89) (xy 5.08 -5.588) (xy 0.508 -5.588)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
)
(symbol "SW_DIP_DEEC_H012-10_1_1"
(circle
(center -3.048 -1.778)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center -3.048 -7.112)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center 0 -0.508)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy 0 -2.794) (xy -2.921 -1.27)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center 0 -3.302)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center 0 -5.588)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(polyline
(pts
(xy 0 -6.096) (xy -2.921 -7.62)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(circle
(center 0 -8.382)
(radius 0.508)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
(pin passive line
(at 5.08 2.54 270)
(length 2.54)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 0 2.54 270)
(length 2.54)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at -5.08 2.54 270)
(length 2.54)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "3"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at -5.08 -11.43 90)
(length 2.54)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "4"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 0 -11.43 90)
(length 2.54)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "5"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 5.08 -11.43 90)
(length 2.54)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "6"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
)