Skip to content

Commit

Permalink
Add combined Kailh MX + Choc V1 socket footprint
Browse files Browse the repository at this point in the history
  • Loading branch information
piit79 committed Jul 18, 2023
1 parent 69b8b7c commit 587cccc
Showing 1 changed file with 112 additions and 0 deletions.
112 changes: 112 additions & 0 deletions footprints/Kailh_socket_PG1511+PG1350.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
(footprint "Kailh_socket_PG1511+PG1350" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 6249BD58)
(descr "Kailh \"Choc\" PG1350 keyswitch socket mount")
(tags "kailh,choc")
(property "Sheetfile" "rev57lp.kicad_sch")
(property "Sheetname" "")
(attr smd)
(fp_text reference "**REF" (at -5.25 -6.249999 180) (layer "F.Fab")
(effects (font (size 0.75 0.75) (thickness 0.15)))
(tstamp b4be06c4-f0d0-4aff-a9fe-c726ebd7c384)
)
(fp_text value "SW_Push" (at 0 9.3 180) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 885b1b31-3168-4a03-aee4-2e45b05a00c6)
)
(fp_line (start -1.5 8.2) (end -2 7.7) (layer "B.SilkS") (width 0.15) (tstamp 02b82af5-2d14-4fbe-9e23-84206e36e737))
(fp_line (start -6.155 -5.1) (end -6.155 -3.91) (layer "B.SilkS") (width 0.15) (tstamp 02c7f966-b30b-4b60-a682-919490d762cb))
(fp_line (start -2 6.7) (end -2 7.7) (layer "B.SilkS") (width 0.15) (tstamp 1f765163-5cae-4fdc-8850-817a00d1750e))
(fp_line (start -7 6.2) (end -2.5 6.2) (layer "B.SilkS") (width 0.15) (tstamp 23ca2594-d746-4ce2-ac70-bd6ac21957ea))
(fp_line (start -7 5.6) (end -7 6.2) (layer "B.SilkS") (width 0.15) (tstamp 28c950dd-bba0-43ec-b0ed-91df1429d427))
(fp_line (start -7 1.5) (end -2.5 1.5) (layer "B.SilkS") (width 0.15) (tstamp 5032f670-e177-4d62-bc39-65214a667891))
(fp_line (start -0.885 -2.56) (end 4.845 -2.56) (layer "B.SilkS") (width 0.15) (tstamp 6437d1c2-7312-43d0-9b27-f04844a2cd47))
(fp_line (start -6.155 -0.885) (end -2.56 -0.885) (layer "B.SilkS") (width 0.15) (tstamp 753e7e16-5475-4ed7-b365-e2551363b110))
(fp_line (start 4.845 -6.775) (end 4.845 -6.45) (layer "B.SilkS") (width 0.15) (tstamp 7fe1451b-4b4b-45e7-911a-de9ac707c22e))
(fp_line (start 2 4.2) (end 1.5 3.7) (layer "B.SilkS") (width 0.15) (tstamp 991751e5-68b9-4d1c-bc0f-bb263d36ffa6))
(fp_line (start 4.845 -3.75) (end 4.845 -2.56) (layer "B.SilkS") (width 0.15) (tstamp aa8a8848-ac28-46e7-938e-ce22f59dd916))
(fp_line (start -2.5 2.2) (end -2.5 1.5) (layer "B.SilkS") (width 0.15) (tstamp ab965527-eaa8-4127-a191-bb592cf4476c))
(fp_line (start 2 7.7) (end 1.5 8.2) (layer "B.SilkS") (width 0.15) (tstamp af7ee30e-3d1a-4271-b5b5-e28878fd779e))
(fp_line (start -4.48 -6.775) (end 4.845 -6.775) (layer "B.SilkS") (width 0.15) (tstamp cc1272f1-9562-476f-a5c0-a2ceb55f7d69))
(fp_line (start -7 1.5) (end -7 2) (layer "B.SilkS") (width 0.15) (tstamp d861e136-6e56-4940-9172-285f7fce77c6))
(fp_line (start 1.5 3.7) (end -1 3.7) (layer "B.SilkS") (width 0.15) (tstamp dbb888f2-0843-4010-823d-6bd77d5f1bf6))
(fp_line (start 1.5 8.2) (end -1.5 8.2) (layer "B.SilkS") (width 0.15) (tstamp f6c46580-32bd-49a6-b1d5-3e487018a3aa))
(fp_line (start -6.155 -1.21) (end -6.155 -0.885) (layer "B.SilkS") (width 0.15) (tstamp fb8c6703-d247-49eb-aa0a-e020fcda4cc8))
(fp_arc (start -1 3.7) (mid -2.06066 3.26066) (end -2.5 2.2) (layer "B.SilkS") (width 0.15) (tstamp 5890ce95-4704-42b8-8be6-23f82e1dde5c))
(fp_arc (start -6.155 -5.1) (mid -5.664404 -6.284404) (end -4.48 -6.775) (layer "B.SilkS") (width 0.15) (tstamp 9b39f789-de3f-4dd3-9414-f05ef4e28b7c))
(fp_arc (start -2.56 -0.885) (mid -2.069404 -2.069404) (end -0.885 -2.56) (layer "B.SilkS") (width 0.15) (tstamp a3f294eb-1a4f-45c3-a4ea-cdbd16a58515))
(fp_arc (start -2.5 6.2) (mid -2.146447 6.346447) (end -2 6.7) (layer "B.SilkS") (width 0.15) (tstamp c798af4f-518c-434e-9814-80e6cb6e4191))
(fp_line (start 7 -7) (end 6 -7) (layer "F.SilkS") (width 0.15) (tstamp 04effaf7-dd7c-411b-af3d-f47ce9a68a35))
(fp_line (start 6 7) (end 7 7) (layer "F.SilkS") (width 0.15) (tstamp 47a54e2d-fe56-46db-977e-9f4191a22d22))
(fp_line (start 7 -7) (end 7 -6) (layer "F.SilkS") (width 0.15) (tstamp 6ebc3a38-5100-40f7-a3bd-850c3733b7d7))
(fp_line (start 7 6) (end 7 7) (layer "F.SilkS") (width 0.15) (tstamp 78d71440-1a14-4922-9b61-fb347c40a649))
(fp_line (start -6 -7) (end -7 -7) (layer "F.SilkS") (width 0.15) (tstamp 8ccdfcbd-877d-417a-aceb-4dd505961921))
(fp_line (start 7 7) (end 6 7) (layer "F.SilkS") (width 0.15) (tstamp bfdfb1f7-b33a-4513-a46c-3228a5b2ec6b))
(fp_line (start -7 7) (end -6 7) (layer "F.SilkS") (width 0.15) (tstamp ca6e3b6e-03e4-44e6-8d61-a75ddad95359))
(fp_line (start -7 -6) (end -7 -7) (layer "F.SilkS") (width 0.15) (tstamp e1570e92-753c-40d3-bc4e-1d1f20e41638))
(fp_line (start -7 7) (end -7 6) (layer "F.SilkS") (width 0.15) (tstamp f57d1238-6819-444e-8c9c-578cfcfaa1d6))
(fp_line (start -7.64 -7.64) (end -7.64 -5.64) (layer "Dwgs.User") (width 0.381) (tstamp 11cdba81-d3f0-41c8-9e95-206c0e384886))
(fp_line (start 5.6 7.6) (end 7.6 7.6) (layer "Dwgs.User") (width 0.381) (tstamp 29df9f3f-32a1-4212-ab55-323f61c880c3))
(fp_line (start -7.64 7.6) (end -5.64 7.6) (layer "Dwgs.User") (width 0.381) (tstamp 3496ce23-7138-4714-93f9-366ccaf84f36))
(fp_line (start -7.64 5.6) (end -7.64 7.6) (layer "Dwgs.User") (width 0.381) (tstamp 5400f23a-82a2-4d16-9ce4-f13cd4b25dff))
(fp_line (start -5.64 -7.64) (end -7.64 -7.64) (layer "Dwgs.User") (width 0.381) (tstamp 842b51ce-40f1-4536-8fb4-8643cd7b2c1d))
(fp_line (start 7.6 -5.64) (end 7.6 -7.64) (layer "Dwgs.User") (width 0.381) (tstamp d86cc93b-05db-4dbb-b75e-8697adb5f717))
(fp_line (start 7.6 -7.64) (end 5.6 -7.64) (layer "Dwgs.User") (width 0.381) (tstamp e4cfa114-570e-4dd9-a90d-e0692995319c))
(fp_line (start 7.6 5.6) (end 7.6 7.6) (layer "Dwgs.User") (width 0.381) (tstamp f727fa49-b3b3-4dfa-b0df-ca7692e051df))
(fp_rect (start -7 -7) (end 7 7) (layer "Eco2.User") (width 0.15) (fill none) (tstamp 4a2eeacd-538c-4abb-ab30-db285e68ac58))
(fp_line (start -2.5 1.5) (end -7 1.5) (layer "B.Fab") (width 0.15) (tstamp 1978d017-30ea-44af-ae1c-23a631b199a2))
(fp_line (start -7 5) (end -9.5 5) (layer "B.Fab") (width 0.12) (tstamp 19aa7567-2145-4a9d-9d08-1a21a611495f))
(fp_line (start 4.5 4.75) (end 4.5 7.25) (layer "B.Fab") (width 0.12) (tstamp 1a262c3e-f767-4f33-a7d6-7f987ab8d0bb))
(fp_line (start -7 1.5) (end -7 6.2) (layer "B.Fab") (width 0.12) (tstamp 347517d4-4e0c-4a1c-b489-9984e557bbac))
(fp_line (start -7 6.2) (end -2.5 6.2) (layer "B.Fab") (width 0.15) (tstamp 4557f8a0-9ec0-4abf-ab25-2a4d9d3e2b43))
(fp_line (start -9.5 5) (end -9.5 2.5) (layer "B.Fab") (width 0.12) (tstamp 45af266e-984b-46f4-90a3-a4c3a61c6174))
(fp_line (start 1.5 3.7) (end -1 3.7) (layer "B.Fab") (width 0.15) (tstamp 77949d34-6397-43e6-860e-e307c1795e54))
(fp_line (start 2 4.75) (end 4.5 4.75) (layer "B.Fab") (width 0.12) (tstamp 7d296f57-320f-438c-9c53-d4abeaa813ad))
(fp_line (start -2.5 2.2) (end -2.5 1.5) (layer "B.Fab") (width 0.15) (tstamp 8d708628-eb9d-411a-9abb-e864e7216444))
(fp_line (start 2 4.25) (end 2 7.7) (layer "B.Fab") (width 0.12) (tstamp 9d664a20-03e5-44e3-a391-ead2e7d27209))
(fp_line (start 2 4.2) (end 1.5 3.7) (layer "B.Fab") (width 0.15) (tstamp ab9cf5dd-e2dd-48db-a910-82c878ba8583))
(fp_line (start 4.5 7.25) (end 2 7.25) (layer "B.Fab") (width 0.12) (tstamp b935b80d-ac38-4539-b329-4cddaf8af736))
(fp_line (start -1.5 8.2) (end -2 7.7) (layer "B.Fab") (width 0.15) (tstamp d594c481-0285-4b3e-b5bb-cbbfeeb1dd99))
(fp_line (start 1.5 8.2) (end -1.5 8.2) (layer "B.Fab") (width 0.15) (tstamp ded35e56-5d50-46ef-ae83-0cfbe446dc41))
(fp_line (start -9.5 2.5) (end -7 2.5) (layer "B.Fab") (width 0.12) (tstamp e751ae6b-dd7d-4090-880a-e3cfe6ab2d9b))
(fp_line (start -2 6.7) (end -2 7.7) (layer "B.Fab") (width 0.15) (tstamp e82fb049-c332-47c1-b502-500ab0acbec4))
(fp_line (start 2 7.7) (end 1.5 8.2) (layer "B.Fab") (width 0.15) (tstamp f46c7968-fe3c-4e26-a467-80964a8a574d))
(fp_arc (start -2.5 6.2) (mid -2.146447 6.346447) (end -2 6.7) (layer "B.Fab") (width 0.15) (tstamp 2ac75ea8-ea59-46bd-8a37-1c411402fd73))
(fp_arc (start -1 3.7) (mid -2.06066 3.26066) (end -2.5 2.2) (layer "B.Fab") (width 0.15) (tstamp cf65ead6-caac-4acb-a564-a0bb98cc758b))
(fp_line (start -2.6 -3.1) (end -2.6 -6.3) (layer "F.Fab") (width 0.15) (tstamp 21de0df8-cbb2-4147-b43c-373bf0b43dfb))
(fp_line (start 9 8.5) (end -9 8.5) (layer "F.Fab") (width 0.15) (tstamp 3557cd4e-c7e8-4242-b90b-ce79003dceb5))
(fp_line (start -2.6 -3.1) (end 2.6 -3.1) (layer "F.Fab") (width 0.15) (tstamp 5cacbea4-2d08-49bc-84cb-c83fc6a05350))
(fp_line (start 9 -8.5) (end 9 8.5) (layer "F.Fab") (width 0.15) (tstamp a1da7703-91dd-4302-bfdc-0c48c02504f7))
(fp_line (start -9 8.5) (end -9 -8.5) (layer "F.Fab") (width 0.15) (tstamp aa20f8c4-abca-4111-b7dc-a8e64d9e4b52))
(fp_line (start 2.6 -3.1) (end 2.6 -6.3) (layer "F.Fab") (width 0.15) (tstamp beae5701-62b7-41ec-bb89-8b1980eb09e2))
(fp_line (start 2.6 -6.3) (end -2.6 -6.3) (layer "F.Fab") (width 0.15) (tstamp e7627038-7a38-4794-9956-7c6203be6365))
(fp_line (start -9 -8.5) (end 9 -8.5) (layer "F.Fab") (width 0.15) (tstamp f4738637-bb5f-4cf1-80f4-1f37c4093631))
(pad "" np_thru_hole circle (at 0 5.95 180) (size 3 3) (drill 3) (layers *.Cu *.Mask) (tstamp 0cff5e28-24be-4f35-96c0-a3825693dc9e))
(pad "" np_thru_hole circle (at -5 3.75 180) (size 3 3) (drill 3) (layers *.Cu *.Mask) (tstamp 252f5afb-e692-46fd-bc07-08de793667b7))
(pad "" np_thru_hole circle (at -5.5 0) (size 1.8 1.8) (drill 1.8) (layers F&B.Cu *.Mask) (tstamp 28ebf621-39d9-4fe8-8c48-22bcf794451d))
(pad "" np_thru_hole circle (at 5.06 -0.02) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask) (tstamp 3d91c41c-2b64-47aa-9032-c2f93240eb26))
(pad "" np_thru_hole circle (at -5.1 -0.02) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask) (tstamp 741c4c97-deee-4d18-a989-8e235a5457c2))
(pad "" np_thru_hole circle (at 5.5 0) (size 1.8 1.8) (drill 1.8) (layers F&B.Cu *.Mask) (tstamp 9c929d15-e757-4739-951d-aab119f8c1d6))
(pad "" np_thru_hole circle (at -3.83 -2.56) (size 3 3) (drill 3) (layers *.Cu *.Mask) (tstamp c3f6f8bc-8f77-400d-a3d2-9f940ee0a884))
(pad "" np_thru_hole circle (at 2.52 -5.1) (size 3 3) (drill 3) (layers *.Cu *.Mask) (tstamp d38971e6-1206-41aa-9a15-db967b1638b6))
(pad "" np_thru_hole circle (at -0.02 -0.02) (size 3.98018 3.98018) (drill 3.98018) (layers *.Cu *.Mask) (tstamp f442af60-9fda-41a9-a4ce-e007eb9a1a3c))
(pad "1" smd rect (at 6.07 -5.1) (size 2.55 2.5) (layers "B.Cu" "B.Paste" "B.Mask") (tstamp 7500e801-e73a-4fd3-859a-c19996f1bd25))
(pad "1" smd rect (at 3.275 5.95) (size 2.6 2.6) (layers "B.Cu" "B.Paste" "B.Mask") (tstamp d3115a78-83ed-41cc-9c03-888345a679fb))
(pad "2" smd rect (at -8.275 3.75) (size 2.6 2.6) (layers "B.Cu" "B.Paste" "B.Mask") (tstamp 9aa3808f-48cf-4ca2-b266-6fd27c91ce6d))
(pad "2" smd rect (at -7.38 -2.56) (size 2.55 2.5) (layers "B.Cu" "B.Paste" "B.Mask") (tstamp d57b519c-dda6-4514-9611-bbcbed756511))
(model "${KIPRJMOD}/42keebs-kicad/3dmodels/Kailh_socket_PG1350.step"
(offset (xyz 5 -3.8 -1.86))
(scale (xyz 1 1 1))
(rotate (xyz -90 0 0))
)
(model "${KIPRJMOD}/42keebs-kicad/3dmodels/Kailh_Choc_PG1350_switch.step"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
(model "${KIPRJMOD}/42keebs-kicad/3dmodels/MBK_Keycap_1u_Black.step"
(offset (xyz 0 0 5.1))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

0 comments on commit 587cccc

Please sign in to comment.