7
mirror of https://gitlab.com/kicad/libraries/kicad-footprints.git synced 2025-04-24 22:26:21 +00:00

Merge branch 'g-switch-mk12c02' into 'master'

Add SPDT switch MK12C02 by G-Switch

See merge request kicad/libraries/kicad-footprints!3939
This commit is contained in:
Mojca Miklavec 2025-03-31 09:16:41 +00:00
commit 3e89b0ab1e

View File

@ -0,0 +1,266 @@
(footprint "SW_SPDT_G-Switch_MK12C02"
(version 20240108)
(generator "pcbnew")
(generator_version "8.0")
(layer "F.Cu")
(descr "Horizontal attachment 1A SPDT 6V Black SMD Slide Switch, https://www.lcsc.com/datasheet/lcsc_datasheet_2012062037_G-Switch-MK-12C02-G020_C963206.pdf")
(property "Reference" "REF**"
(at 0 -3.5 0)
(layer "F.SilkS")
(uuid "be2234e4-0d03-4134-90ac-5717a9ea8510")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Value" "SW_SPDT_G-Switch_MK12C02"
(at 0 4.1 0)
(layer "F.Fab")
(uuid "f524432e-d810-4d2d-a222-9ce3e92e4b38")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "7f2a6c86-c41e-41b2-a13b-04f9a8c8fb04")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "c0e6c77b-932d-412e-9a20-72913f739de8")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "0cb7b7c9-cc29-4289-94ff-ed02b533c4f0")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(attr smd)
(fp_line
(start -3.45 0.45)
(end -3.45 -0.45)
(stroke
(width 0.12)
(type default)
)
(layer "F.SilkS")
(uuid "3fbaf36f-7693-4cf8-8727-1175b1b31f61")
)
(fp_line
(start -3.15 -1.5)
(end -2.9 -1.5)
(stroke
(width 0.12)
(type default)
)
(layer "F.SilkS")
(uuid "41a9aca8-e195-412e-b377-54ca1aa36332")
)
(fp_line
(start -1.6 -1.5)
(end 0.1 -1.5)
(stroke
(width 0.12)
(type default)
)
(layer "F.SilkS")
(uuid "ef59e33f-87b9-467b-8b5e-4b665a88b4e8")
)
(fp_line
(start 1.4 -1.5)
(end 1.6 -1.5)
(stroke
(width 0.12)
(type default)
)
(layer "F.SilkS")
(uuid "e26a791c-dfbe-4639-8546-4a9bd4f01e16")
)
(fp_line
(start 2.9 -1.5)
(end 3.15 -1.5)
(stroke
(width 0.12)
(type default)
)
(layer "F.SilkS")
(uuid "8fc8c905-9164-41b6-8d5f-76e464a5fd61")
)
(fp_line
(start 3.15 1.5)
(end -3.15 1.5)
(stroke
(width 0.12)
(type default)
)
(layer "F.SilkS")
(uuid "bc7896e8-2cc2-43ce-b711-b59a641ce650")
)
(fp_line
(start 3.45 0.45)
(end 3.45 -0.45)
(stroke
(width 0.12)
(type default)
)
(layer "F.SilkS")
(uuid "50f5141a-aea3-4c50-9dd9-d4bb186264c6")
)
(fp_poly
(pts
(xy -4.45 1.85) (xy -4.45 -1.85) (xy -2.95 -1.85) (xy -2.95 -2.95) (xy 2.95 -2.95) (xy 2.95 -1.85)
(xy 4.45 -1.85) (xy 4.45 1.85) (xy 1.7 1.85) (xy 1.7 3.1) (xy -1.7 3.1) (xy -1.7 1.85)
)
(stroke
(width 0.05)
(type solid)
)
(fill none)
(layer "F.CrtYd")
(uuid "4baef655-7e15-4cdb-83e6-d085fba577d5")
)
(fp_rect
(start -3.3 -1.35)
(end 3.3 1.35)
(stroke
(width 0.1)
(type default)
)
(fill none)
(layer "F.Fab")
(uuid "b71f6bf2-7e89-4244-b069-aaf2b1f873d4")
)
(fp_rect
(start -1.4 1.35)
(end -0.1 2.85)
(stroke
(width 0.1)
(type default)
)
(fill none)
(layer "F.Fab")
(uuid "ec57c435-5aac-466f-9818-7f0011acd82f")
)
(fp_text user "${REFERENCE}"
(at 0 0 0)
(layer "F.Fab")
(uuid "19bdfc56-a715-4e5c-aac2-7851e6ff0910")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(pad "" np_thru_hole circle
(at -1.5 0)
(size 0.9 0.9)
(drill 0.9)
(layers "F&B.Cu" "*.Mask")
(uuid "86054431-db7e-483e-9704-26a812af2834")
)
(pad "" np_thru_hole circle
(at 1.5 0)
(size 0.9 0.9)
(drill 0.9)
(layers "F&B.Cu" "*.Mask")
(uuid "98dbafd6-3eb4-4d73-8c77-0dafdba52b49")
)
(pad "1" smd roundrect
(at -2.25 -2.075)
(size 0.9 1.25)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "5d52906f-d047-42be-8b30-f24c269e4992")
)
(pad "2" smd roundrect
(at 0.75 -2.075)
(size 0.9 1.25)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "503626f3-7d4e-4386-8d9e-e51753c7c22f")
)
(pad "3" smd roundrect
(at 2.25 -2.075)
(size 0.9 1.25)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "98158301-9d4b-4acf-aec3-0c4203ec5c9d")
)
(pad "MP" smd roundrect
(at -3.8 -1.135)
(size 0.8 0.93)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "0bcc0fc9-71b1-42ea-bbf6-3df0669b74d6")
)
(pad "MP" smd roundrect
(at -3.8 1.135)
(size 0.8 0.93)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "758ad9bf-621b-41e7-be6f-088d02a17afc")
)
(pad "MP" smd roundrect
(at 3.8 -1.135)
(size 0.8 0.93)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "07b0daf0-fee6-4eb4-9772-93ba66353673")
)
(pad "MP" smd roundrect
(at 3.8 1.135)
(size 0.8 0.93)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "0b911bb4-986f-4a38-b8ed-da3d05797853")
)
(model "${KICAD8_3DMODEL_DIR}/Button_Switch_SMD.3dshapes/SW_SPDT_G-Switch_MK12C02.wrl"
(offset
(xyz 0 0 0)
)
(scale
(xyz 1 1 1)
)
(rotate
(xyz 0 0 0)
)
)
)