Skip to content

Commit

Permalink
Merge pull request #4 from dingyifei/master
Browse files Browse the repository at this point in the history
Remove two holes to make wiring easier when using plate mount switches
  • Loading branch information
daprice authored Feb 7, 2020
2 parents 1f955fe + da595c8 commit 2f9acbe
Show file tree
Hide file tree
Showing 9 changed files with 349 additions and 0 deletions.
67 changes: 67 additions & 0 deletions Kailh_socket_MX_optional_platemount.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
(module Kailh_socket_MX_optional_platemount (layer F.Cu) (tedit 5E34F197)
(descr "MX-style keyswitch with support for optional Kailh socket")
(tags MX,cherry,gateron,kailh,pg1511,socket)
(fp_text reference REF** (at 0 -8.255) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Kailh_socket_MX_optional (at 0 8.255) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -7 -6) (end -7 -7) (layer F.SilkS) (width 0.15))
(fp_line (start -7 7) (end -6 7) (layer F.SilkS) (width 0.15))
(fp_line (start -6 -7) (end -7 -7) (layer F.SilkS) (width 0.15))
(fp_line (start -7 7) (end -7 6) (layer F.SilkS) (width 0.15))
(fp_line (start 7 6) (end 7 7) (layer F.SilkS) (width 0.15))
(fp_line (start 7 -7) (end 6 -7) (layer F.SilkS) (width 0.15))
(fp_line (start 6 7) (end 7 7) (layer F.SilkS) (width 0.15))
(fp_line (start 7 -7) (end 7 -6) (layer F.SilkS) (width 0.15))
(fp_line (start -6.9 6.9) (end 6.9 6.9) (layer Eco2.User) (width 0.15))
(fp_line (start 6.9 -6.9) (end -6.9 -6.9) (layer Eco2.User) (width 0.15))
(fp_line (start 6.9 -6.9) (end 6.9 6.9) (layer Eco2.User) (width 0.15))
(fp_line (start -6.9 6.9) (end -6.9 -6.9) (layer Eco2.User) (width 0.15))
(fp_line (start -7.5 -7.5) (end 7.5 -7.5) (layer F.Fab) (width 0.15))
(fp_line (start 7.5 -7.5) (end 7.5 7.5) (layer F.Fab) (width 0.15))
(fp_line (start 7.5 7.5) (end -7.5 7.5) (layer F.Fab) (width 0.15))
(fp_line (start -7.5 7.5) (end -7.5 -7.5) (layer F.Fab) (width 0.15))
(fp_arc (start 3.81 4.445) (end 3.81 6.985) (angle -90) (layer B.SilkS) (width 0.15))
(fp_arc (start -0.000362 0) (end -0.000362 2.54) (angle -75.96375653) (layer B.SilkS) (width 0.15))
(fp_line (start 6.35 4.445) (end 6.35 4.064) (layer B.SilkS) (width 0.15))
(fp_line (start 6.35 1.016) (end 6.35 0.635) (layer B.SilkS) (width 0.15))
(fp_line (start 6.35 0.635) (end 2.5 0.635) (layer B.SilkS) (width 0.15))
(fp_line (start 0 2.54) (end -5.08 2.54) (layer B.SilkS) (width 0.15))
(fp_line (start -5.08 2.54) (end -5.08 3.556) (layer B.SilkS) (width 0.15))
(fp_line (start -5.08 6.604) (end -5.08 6.985) (layer B.SilkS) (width 0.15))
(fp_line (start -5.08 6.985) (end 3.81 6.985) (layer B.SilkS) (width 0.15))
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 3.81 8.255) (layer B.SilkS)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 1.905 5.08) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_arc (start 3.81 4.445) (end 3.81 6.985) (angle -90) (layer B.Fab) (width 0.12))
(fp_arc (start 0 0) (end 0 2.54) (angle -75.96375653) (layer B.Fab) (width 0.12))
(fp_line (start 6.35 4.445) (end 6.35 0.635) (layer B.Fab) (width 0.12))
(fp_line (start 6.35 0.635) (end 2.54 0.635) (layer B.Fab) (width 0.12))
(fp_line (start 0 2.54) (end -5.08 2.54) (layer B.Fab) (width 0.12))
(fp_line (start -5.08 2.54) (end -5.08 6.985) (layer B.Fab) (width 0.12))
(fp_line (start -5.08 6.985) (end 3.81 6.985) (layer B.Fab) (width 0.12))
(fp_line (start 6.35 3.81) (end 8.89 3.81) (layer B.Fab) (width 0.12))
(fp_line (start 8.89 3.81) (end 8.89 1.27) (layer B.Fab) (width 0.12))
(fp_line (start 8.89 1.27) (end 6.35 1.27) (layer B.Fab) (width 0.12))
(fp_line (start -5.08 3.81) (end -7.62 3.81) (layer B.Fab) (width 0.12))
(fp_line (start -7.62 3.81) (end -7.62 6.35) (layer B.Fab) (width 0.12))
(fp_line (start -7.62 6.35) (end -5.08 6.35) (layer B.Fab) (width 0.12))
(fp_text user %V (at 0 8.255) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 1 smd rect (at -6.29 5.08) (size 2.55 2.5) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at -2.54 5.08) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 3.81 2.54) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at 2.54 -5.08) (size 2.286 2.286) (drill 1.4986) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.9878 3.9878) (drill 3.9878) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at -3.81 -2.54) (size 2.286 2.286) (drill 1.4986) (layers *.Cu *.Mask))
(pad 2 smd rect (at 7.56 2.54) (size 2.55 2.5) (layers B.Cu B.Paste B.Mask))
)
110 changes: 110 additions & 0 deletions Kailh_socket_MX_optional_reversible_platemount.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
(module Kailh_socket_MX_optional_reversible_platemount (layer F.Cu) (tedit 5E34F399)
(descr "MX-style keyswitch with support for reversible optional Kailh socket")
(tags MX,cherry,gateron,kailh,pg1511,socket)
(attr smd)
(fp_text reference REF** (at 0 -8.255) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Kailh_socket_MX_optional_reversible (at 0 8.255) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -7 -6.604) (end -7 -7) (layer F.SilkS) (width 0.15))
(fp_line (start -7 -7) (end -6 -7) (layer F.SilkS) (width 0.15))
(fp_line (start -6 7) (end -7 7) (layer F.SilkS) (width 0.15))
(fp_line (start -7 7) (end -7 6) (layer F.SilkS) (width 0.15))
(fp_line (start 7 6) (end 7 7) (layer F.SilkS) (width 0.15))
(fp_line (start 7 7) (end 6 7) (layer F.SilkS) (width 0.15))
(fp_line (start 6 -7) (end 7 -7) (layer F.SilkS) (width 0.15))
(fp_line (start 7 -7) (end 7 -6) (layer B.SilkS) (width 0.15))
(fp_line (start -6.9 6.9) (end 6.9 6.9) (layer Eco2.User) (width 0.15))
(fp_line (start 6.9 -6.9) (end -6.9 -6.9) (layer Eco2.User) (width 0.15))
(fp_line (start 6.9 -6.9) (end 6.9 6.9) (layer Eco2.User) (width 0.15))
(fp_line (start -6.9 6.9) (end -6.9 -6.9) (layer Eco2.User) (width 0.15))
(fp_line (start -7.5 -7.5) (end 7.5 -7.5) (layer B.Fab) (width 0.15))
(fp_line (start 7.5 -7.5) (end 7.5 7.5) (layer B.Fab) (width 0.15))
(fp_line (start 7.5 7.5) (end -7.5 7.5) (layer B.Fab) (width 0.15))
(fp_line (start -7.5 7.5) (end -7.5 -7.5) (layer B.Fab) (width 0.15))
(fp_line (start -7 -6) (end -7 -7) (layer B.SilkS) (width 0.15))
(fp_line (start -7 -7) (end -6 -7) (layer B.SilkS) (width 0.15))
(fp_line (start 6 -7) (end 7 -7) (layer B.SilkS) (width 0.15))
(fp_line (start 7 -7) (end 7 -6) (layer F.SilkS) (width 0.15))
(fp_line (start 7 7) (end 6 7) (layer B.SilkS) (width 0.15))
(fp_line (start 7 6) (end 7 7) (layer B.SilkS) (width 0.15))
(fp_line (start -6 7) (end -7 7) (layer B.SilkS) (width 0.15))
(fp_line (start -7 7) (end -7 6.604) (layer B.SilkS) (width 0.15))
(fp_arc (start 3.81 -4.445) (end 6.35 -4.445) (angle -90) (layer F.SilkS) (width 0.15))
(fp_arc (start 0 0) (end 2.539999 -0.634999) (angle -75.96375653) (layer F.SilkS) (width 0.15))
(fp_line (start 3.81 -6.985) (end -5.08 -6.985) (layer F.SilkS) (width 0.15))
(fp_line (start -5.08 -6.985) (end -5.08 -6.604) (layer F.SilkS) (width 0.15))
(fp_line (start -5.08 -3.556) (end -5.08 -3.175) (layer F.SilkS) (width 0.15))
(fp_line (start -2.286 -2.54) (end 0 -2.54) (layer F.SilkS) (width 0.15))
(fp_line (start 2.54 -0.635) (end 6.35 -0.635) (layer F.SilkS) (width 0.15))
(fp_line (start 5.969 -0.635) (end 6.35 -0.635) (layer F.SilkS) (width 0.15))
(fp_line (start 6.35 -0.635) (end 6.35 -1.016) (layer F.SilkS) (width 0.15))
(fp_line (start 6.35 -4.445) (end 6.35 -4.064) (layer F.SilkS) (width 0.15))
(fp_arc (start 0 0) (end 0 2.54) (angle -75.96375653) (layer B.SilkS) (width 0.15))
(fp_arc (start 3.81 4.445) (end 3.81 6.985) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start 6.35 4.445) (end 6.35 4.064) (layer B.SilkS) (width 0.15))
(fp_line (start 6.35 1.016) (end 6.35 0.635) (layer B.SilkS) (width 0.15))
(fp_line (start 6.35 0.635) (end 5.969 0.635) (layer B.SilkS) (width 0.15))
(fp_line (start 6.35 0.635) (end 2.54 0.635) (layer B.SilkS) (width 0.15))
(fp_line (start 0 2.54) (end -2.286 2.54) (layer B.SilkS) (width 0.15))
(fp_line (start -5.08 3.175) (end -5.08 3.556) (layer B.SilkS) (width 0.15))
(fp_line (start -5.08 6.604) (end -5.08 6.985) (layer B.SilkS) (width 0.15))
(fp_line (start -5.08 6.985) (end 3.81 6.985) (layer B.SilkS) (width 0.15))
(fp_line (start 7.5 -7.5) (end 7.5 7.5) (layer F.Fab) (width 0.15))
(fp_line (start -7.5 -7.5) (end 7.5 -7.5) (layer F.Fab) (width 0.15))
(fp_line (start -7.5 7.5) (end -7.5 -7.5) (layer F.Fab) (width 0.15))
(fp_line (start 7.5 7.5) (end -7.5 7.5) (layer F.Fab) (width 0.15))
(fp_text user %R (at 0 5.08) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0.635 -4.445) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 -8.255) (layer B.SilkS)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %V (at 0 8.255) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_arc (start 3.81 -4.445) (end 6.35 -4.445) (angle -90) (layer F.Fab) (width 0.12))
(fp_arc (start 0 0) (end 2.539999 -0.634999) (angle -75.96375653) (layer F.Fab) (width 0.12))
(fp_line (start 2.539999 -0.634999) (end 6.35 -0.635) (layer F.Fab) (width 0.12))
(fp_line (start 6.35 -0.635) (end 6.35 -4.445) (layer F.Fab) (width 0.12))
(fp_line (start 3.81 -6.985) (end -5.08 -6.985) (layer F.Fab) (width 0.12))
(fp_line (start -5.08 -6.985) (end -5.08 -2.54) (layer F.Fab) (width 0.12))
(fp_line (start -5.08 -2.54) (end 0 -2.54) (layer F.Fab) (width 0.12))
(fp_line (start 6.35 -1.27) (end 8.89 -1.27) (layer F.Fab) (width 0.12))
(fp_line (start 8.89 -1.27) (end 8.89 -3.81) (layer F.Fab) (width 0.12))
(fp_line (start 8.89 -3.81) (end 6.35 -3.81) (layer F.Fab) (width 0.12))
(fp_line (start -5.08 -6.35) (end -7.62 -6.35) (layer F.Fab) (width 0.12))
(fp_line (start -7.62 -6.35) (end -7.62 -3.81) (layer F.Fab) (width 0.12))
(fp_line (start -7.62 -3.81) (end -5.08 -3.81) (layer F.Fab) (width 0.12))
(fp_arc (start 3.81 4.445) (end 3.81 6.985) (angle -90) (layer B.Fab) (width 0.12))
(fp_arc (start 0 0) (end 0 2.54) (angle -75.96375653) (layer B.Fab) (width 0.12))
(fp_line (start 6.35 4.445) (end 6.35 0.635) (layer B.Fab) (width 0.12))
(fp_line (start 6.35 0.635) (end 2.54 0.635) (layer B.Fab) (width 0.12))
(fp_line (start 0 2.54) (end -5.08 2.54) (layer B.Fab) (width 0.12))
(fp_line (start -5.08 2.54) (end -5.08 6.985) (layer B.Fab) (width 0.12))
(fp_line (start -5.08 6.985) (end 3.81 6.985) (layer B.Fab) (width 0.12))
(fp_line (start 6.35 3.81) (end 8.89 3.81) (layer B.Fab) (width 0.12))
(fp_line (start 8.89 3.81) (end 8.89 1.27) (layer B.Fab) (width 0.12))
(fp_line (start 8.89 1.27) (end 6.35 1.27) (layer B.Fab) (width 0.12))
(fp_line (start -5.08 3.81) (end -7.62 3.81) (layer B.Fab) (width 0.12))
(fp_line (start -7.62 3.81) (end -7.62 6.35) (layer B.Fab) (width 0.12))
(fp_line (start -7.62 6.35) (end -5.08 6.35) (layer B.Fab) (width 0.12))
(pad 1 smd rect (at -6.29 5.08) (size 2.55 2.5) (layers B.Cu B.Paste B.Mask))
(pad 2 smd rect (at 7.56 2.54) (size 2.55 2.5) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at -2.54 -5.08) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 3.81 -2.54) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 2.54 5.08) (size 2.286 2.286) (drill 1.4986) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at -3.81 2.54) (size 2.286 2.286) (drill 1.4986) (layers *.Cu *.Mask))
(pad 1 smd rect (at -6.29 -5.08) (size 2.55 2.5) (layers F.Cu F.Paste F.Mask))
(pad "" np_thru_hole circle (at -2.54 5.08) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 3.81 2.54) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 2.54 -5.08) (size 2.286 2.286) (drill 1.4986) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.9878 3.9878) (drill 3.9878) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at -3.81 -2.54) (size 2.286 2.286) (drill 1.4986) (layers *.Cu *.Mask))
(pad 2 smd rect (at 7.56 -2.54) (size 2.55 2.5) (layers F.Cu F.Paste F.Mask))
)
61 changes: 61 additions & 0 deletions Kailh_socket_MX_platemount.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
(module Kailh_socket_MX_simplified (layer F.Cu) (tedit 5E123764)
(descr "MX-style keyswitch with Kailh socket mount")
(tags MX,cherry,gateron,kailh,pg1511,socket)
(attr smd)
(fp_text reference REF** (at 0 -8.255) (layer B.SilkS)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text value Kailh_socket_MX_simplified (at 0 8.255) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -7 -6) (end -7 -7) (layer F.SilkS) (width 0.15))
(fp_line (start -7 7) (end -6 7) (layer F.SilkS) (width 0.15))
(fp_line (start -6 -7) (end -7 -7) (layer F.SilkS) (width 0.15))
(fp_line (start -7 7) (end -7 6) (layer F.SilkS) (width 0.15))
(fp_line (start 7 6) (end 7 7) (layer F.SilkS) (width 0.15))
(fp_line (start 7 -7) (end 6 -7) (layer F.SilkS) (width 0.15))
(fp_line (start 6 7) (end 7 7) (layer F.SilkS) (width 0.15))
(fp_line (start 7 -7) (end 7 -6) (layer F.SilkS) (width 0.15))
(fp_line (start -6.9 6.9) (end 6.9 6.9) (layer Eco2.User) (width 0.15))
(fp_line (start 6.9 -6.9) (end -6.9 -6.9) (layer Eco2.User) (width 0.15))
(fp_line (start 6.9 -6.9) (end 6.9 6.9) (layer Eco2.User) (width 0.15))
(fp_line (start -6.9 6.9) (end -6.9 -6.9) (layer Eco2.User) (width 0.15))
(fp_line (start -7.5 -7.5) (end 7.5 -7.5) (layer F.Fab) (width 0.15))
(fp_line (start 7.5 -7.5) (end 7.5 7.5) (layer F.Fab) (width 0.15))
(fp_line (start 7.5 7.5) (end -7.5 7.5) (layer F.Fab) (width 0.15))
(fp_line (start -7.5 7.5) (end -7.5 -7.5) (layer F.Fab) (width 0.15))
(fp_arc (start -3.81 -4.445) (end -3.81 -6.985) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start -6.35 -1.016) (end -6.35 -0.635) (layer B.SilkS) (width 0.15))
(fp_arc (start 0 0) (end 0 -2.54) (angle -75.96375653) (layer B.SilkS) (width 0.15))
(fp_line (start 5.08 -3.556) (end 5.08 -2.54) (layer B.SilkS) (width 0.15))
(fp_line (start 5.08 -2.54) (end 0 -2.54) (layer B.SilkS) (width 0.15))
(fp_line (start -2.464162 -0.635) (end -5.969 -0.635) (layer B.SilkS) (width 0.15))
(fp_line (start -5.969 -0.635) (end -6.35 -0.635) (layer B.SilkS) (width 0.15))
(fp_line (start -6.35 -4.445) (end -6.35 -4.064) (layer B.SilkS) (width 0.15))
(fp_line (start -3.81 -6.985) (end 5.08 -6.985) (layer B.SilkS) (width 0.15))
(fp_line (start 5.08 -6.985) (end 5.08 -6.604) (layer B.SilkS) (width 0.15))
(fp_arc (start -3.81 -4.445) (end -3.81 -6.985) (angle -90) (layer B.Fab) (width 0.12))
(fp_arc (start 0 0) (end 0 -2.54) (angle -75.96375653) (layer B.Fab) (width 0.12))
(fp_line (start -6.35 -0.635) (end -2.54 -0.635) (layer B.Fab) (width 0.12))
(fp_line (start -6.35 -0.635) (end -6.35 -4.445) (layer B.Fab) (width 0.12))
(fp_line (start -3.81 -6.985) (end 5.08 -6.985) (layer B.Fab) (width 0.12))
(fp_line (start 5.08 -6.985) (end 5.08 -2.54) (layer B.Fab) (width 0.12))
(fp_line (start 5.08 -2.54) (end 0 -2.54) (layer B.Fab) (width 0.12))
(fp_line (start 5.08 -6.35) (end 7.62 -6.35) (layer B.Fab) (width 0.12))
(fp_line (start 7.62 -6.35) (end 7.62 -3.81) (layer B.Fab) (width 0.12))
(fp_line (start 7.62 -3.81) (end 5.08 -3.81) (layer B.Fab) (width 0.12))
(fp_line (start -6.35 -1.27) (end -8.89 -1.27) (layer B.Fab) (width 0.12))
(fp_line (start -8.89 -1.27) (end -8.89 -3.81) (layer B.Fab) (width 0.12))
(fp_line (start -8.89 -3.81) (end -6.35 -3.81) (layer B.Fab) (width 0.12))
(fp_text user %R (at -0.635 -4.445) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %V (at -0.635 0.635) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 2 smd rect (at 6.29 -5.08) (size 2.55 2.5) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at 2.54 -5.08) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -3.81 -2.54) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.9878 3.9878) (drill 3.9878) (layers *.Cu *.Mask))
(pad 1 smd rect (at -7.56 -2.54) (size 2.55 2.5) (layers B.Cu B.Paste B.Mask))
)
Loading

0 comments on commit 2f9acbe

Please sign in to comment.