Files
mikilab-kicad-library/footprints/mechanical/Keebio-Parts.pretty/SW_SPST_TL3342.kicad_mod
T
micheleandClaude Sonnet 5 f54bc6ef62 Import Keebio-Parts.pretty (MIT, keebio/Keebio-Parts.pretty)
Vendor footprint library for mechanical-keyboard hardware (switches,
stabilizers, encoders, connectors, MCU/passive footprints), added
whole as MIKILAB_Keebio_Parts under footprints/mechanical, following
the same "keep vendor .pretty intact" precedent as altera.pretty /
xilinx.pretty / lattice.pretty.

Rewrote every 3D model reference that leaked the original author's
absolute local paths (/Users/danny/..., /Library/Application
Support/kicad/...) so the library stays self-contained:
- resolvable refs -> ${KIPRJMOD}/3dmodels/mechanical/Keebio-Parts/...
  (7 STEP files actually present upstream, copied alongside)
- genuinely missing vendor assets -> ${KISBLIB}/Keebio-Parts.pretty/...,
  the same known-gap convention already used for other vendor
  libraries in this repo
- one hardcoded stock-KiCad path -> ${KISYS3DMOD}/...
Also stripped a stray "Sheet file" property pointing at the original
author's own project.

fp-lib-table/.global regenerated from the tree; MANIFEST.csv rows
added for every imported footprint and 3D model. check_library.py:
0 errors (was 0 before, still 0).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TnzoFuRZAhRGeHAdz8UzR2
2026-09-10 01:54:40 +02:00

69 lines
4.1 KiB
Plaintext

(module "SW_SPST_TL3342" (layer F.Cu) (tedit 5EA282C8)
(descr "Low-profile SMD Tactile Switch, https://www.e-switch.com/system/asset/product_line/data_sheet/165/TL3342.pdf")
(tags "SPST Tactile Switch")
(attr smd)
(fp_text reference "REF**" (at 0 -3.75) (layer F.SilkS)
(effects (font (size 0.7 0.7) (thickness 0.15)))
)
(fp_text value "SW_SPST_TL3342" (at 0 3.75) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user "%R" (at 0 -3.75) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 3.2 2.1) (end 3.2 1.6) (layer F.Fab) (width 0.1))
(fp_line (start 3.2 -2.1) (end 3.2 -1.6) (layer F.Fab) (width 0.1))
(fp_line (start -3.2 2.1) (end -3.2 1.6) (layer F.Fab) (width 0.1))
(fp_line (start -3.2 -2.1) (end -3.2 -1.6) (layer F.Fab) (width 0.1))
(fp_line (start 2.7 -2.1) (end 2.7 -1.6) (layer F.Fab) (width 0.1))
(fp_line (start 1.7 -2.1) (end 3.2 -2.1) (layer F.Fab) (width 0.1))
(fp_line (start 3.2 -1.6) (end 2.2 -1.6) (layer F.Fab) (width 0.1))
(fp_line (start -2.7 -2.1) (end -2.7 -1.6) (layer F.Fab) (width 0.1))
(fp_line (start -1.7 -2.1) (end -3.2 -2.1) (layer F.Fab) (width 0.1))
(fp_line (start -3.2 -1.6) (end -2.2 -1.6) (layer F.Fab) (width 0.1))
(fp_line (start -2.7 2.1) (end -2.7 1.6) (layer F.Fab) (width 0.1))
(fp_line (start -3.2 1.6) (end -2.2 1.6) (layer F.Fab) (width 0.1))
(fp_line (start -1.7 2.1) (end -3.2 2.1) (layer F.Fab) (width 0.1))
(fp_line (start 1.7 2.1) (end 3.2 2.1) (layer F.Fab) (width 0.1))
(fp_line (start 2.7 2.1) (end 2.7 1.6) (layer F.Fab) (width 0.1))
(fp_line (start 3.2 1.6) (end 2.2 1.6) (layer F.Fab) (width 0.1))
(fp_line (start -1.7 2.3) (end -1.25 2.75) (layer F.SilkS) (width 0.12))
(fp_line (start 1.7 2.3) (end 1.25 2.75) (layer F.SilkS) (width 0.12))
(fp_line (start 1.7 -2.3) (end 1.25 -2.75) (layer F.SilkS) (width 0.12))
(fp_line (start -1.7 -2.3) (end -1.25 -2.75) (layer F.SilkS) (width 0.12))
(fp_line (start -2 -1) (end -1 -2) (layer F.Fab) (width 0.1))
(fp_line (start -1 -2) (end 1 -2) (layer F.Fab) (width 0.1))
(fp_line (start 1 -2) (end 2 -1) (layer F.Fab) (width 0.1))
(fp_line (start 2 -1) (end 2 1) (layer F.Fab) (width 0.1))
(fp_line (start 2 1) (end 1 2) (layer F.Fab) (width 0.1))
(fp_line (start 1 2) (end -1 2) (layer F.Fab) (width 0.1))
(fp_line (start -1 2) (end -2 1) (layer F.Fab) (width 0.1))
(fp_line (start -2 1) (end -2 -1) (layer F.Fab) (width 0.1))
(fp_line (start 2.75 -1) (end 2.75 1) (layer F.SilkS) (width 0.12))
(fp_line (start -1.25 2.75) (end 1.25 2.75) (layer F.SilkS) (width 0.12))
(fp_line (start -2.75 -1) (end -2.75 1) (layer F.SilkS) (width 0.12))
(fp_line (start -1.25 -2.75) (end 1.25 -2.75) (layer F.SilkS) (width 0.12))
(fp_line (start -2.6 -1.2) (end -2.6 1.2) (layer F.Fab) (width 0.1))
(fp_line (start -2.6 1.2) (end -1.2 2.6) (layer F.Fab) (width 0.1))
(fp_line (start -1.2 2.6) (end 1.2 2.6) (layer F.Fab) (width 0.1))
(fp_line (start 1.2 2.6) (end 2.6 1.2) (layer F.Fab) (width 0.1))
(fp_line (start 2.6 1.2) (end 2.6 -1.2) (layer F.Fab) (width 0.1))
(fp_line (start 2.6 -1.2) (end 1.2 -2.6) (layer F.Fab) (width 0.1))
(fp_line (start 1.2 -2.6) (end -1.2 -2.6) (layer F.Fab) (width 0.1))
(fp_line (start -1.2 -2.6) (end -2.6 -1.2) (layer F.Fab) (width 0.1))
(fp_line (start -4.25 -3) (end 4.25 -3) (layer F.CrtYd) (width 0.05))
(fp_line (start 4.25 -3) (end 4.25 3) (layer F.CrtYd) (width 0.05))
(fp_line (start 4.25 3) (end -4.25 3) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.25 3) (end -4.25 -3) (layer F.CrtYd) (width 0.05))
(fp_circle (center 0 0) (end 1 0) (layer F.Fab) (width 0.1))
(pad "2" smd rect (at 3.15 1.9) (size 1.7 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "2" smd rect (at -3.15 1.9) (size 1.7 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "1" smd rect (at 3.15 -1.9) (size 1.7 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "1" smd rect (at -3.15 -1.9) (size 1.7 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(model "${KICAD6_3DMODEL_DIR}/Button_Switch_SMD.3dshapes/SW_SPST_TL3342.step"
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)