This commit is contained in:
Diego Palacios
2022-02-27 01:02:50 +01:00
parent 21944eed07
commit 0f66dc759b
315 changed files with 141939 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['https://cash.app/$DalePrice'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

View File

@@ -0,0 +1,63 @@
(module Kailh_socket_MX (layer F.Cu) (tedit 5DD4FB17)
(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 (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 -4.191 -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 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 "" np_thru_hole circle (at 0 0) (size 3.9878 3.9878) (drill 3.9878) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad 2 smd rect (at -7.56 -2.54) (size 2.55 2.5) (layers B.Cu B.Paste B.Mask))
)

View File

@@ -0,0 +1,70 @@
(module Kailh_socket_MX_optional (layer F.Cu) (tedit 5DD4FC22)
(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 0) (end 0 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 5.969 0.635) (layer B.SilkS) (width 0.15))
(fp_line (start 4.191 0.635) (end 2.54 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 "" np_thru_hole circle (at 5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad 2 smd rect (at 7.56 2.54) (size 2.55 2.5) (layers B.Cu B.Paste B.Mask))
)

View File

@@ -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))
)

View File

@@ -0,0 +1,112 @@
(module Kailh_socket_MX_optional_reversible (layer F.Cu) (tedit 5DD4FDAE)
(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 4.191 -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 4.191 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 "" np_thru_hole circle (at 5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad 2 smd rect (at 7.56 -2.54) (size 2.55 2.5) (layers F.Cu F.Paste F.Mask))
)

View File

@@ -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))
)

View File

@@ -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))
)

View File

@@ -0,0 +1,108 @@
(module Kailh_socket_MX_reversible (layer F.Cu) (tedit 5DD4FF81)
(descr "MX-style keyswitch with reversible Kailh socket mount")
(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_reversible (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 B.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 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.604) (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 -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 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 -6) (end -7 -7) (layer B.SilkS) (width 0.15))
(fp_line (start -7 -7) (end -6 -7) (layer F.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_arc (start 0 0) (end 0 -2.54) (angle -75.69708604) (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 -4.191 -0.635) (end -2.54 -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_arc (start 0 0) (end -2.539999 0.634999) (angle -75.96375653) (layer F.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_line (start -6.35 4.445) (end -6.35 4.064) (layer F.SilkS) (width 0.15))
(fp_line (start -6.35 1.016) (end -6.35 0.635) (layer F.SilkS) (width 0.15))
(fp_line (start -6.35 0.635) (end -5.969 0.635) (layer F.SilkS) (width 0.15))
(fp_line (start -4.191 0.635) (end -2.539999 0.634999) (layer F.SilkS) (width 0.15))
(fp_line (start 0 2.54) (end 5.08 2.54) (layer F.SilkS) (width 0.15))
(fp_line (start 5.08 2.54) (end 5.08 3.556) (layer F.SilkS) (width 0.15))
(fp_line (start 5.08 6.604) (end 5.08 6.985) (layer F.SilkS) (width 0.15))
(fp_line (start 5.08 6.985) (end -3.81 6.985) (layer F.SilkS) (width 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_text user %R (at -1.27 5.08) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at -1.27 -5.08) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_arc (start 0 0) (end -2.539999 0.634999) (angle -75.96375653) (layer F.Fab) (width 0.12))
(fp_arc (start -3.81 4.445) (end -6.35 4.445) (angle -90) (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 -2.54 0.635) (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 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_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_arc (start 0 0) (end 0 -2.54) (angle -75.96375653) (layer B.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_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_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))
(pad 2 smd rect (at -7.56 -2.54) (size 2.55 2.5) (layers B.Cu B.Paste B.Mask))
(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 -3.81 2.54) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 2.54 5.08) (size 3 3) (drill 3) (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 "" np_thru_hole circle (at 0 0) (size 3.9878 3.9878) (drill 3.9878) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad 2 smd rect (at -7.56 2.54) (size 2.55 2.5) (layers F.Cu F.Paste F.Mask))
)

View File

@@ -0,0 +1,106 @@
(module Kailh_socket_MX_reversible_platemount (layer F.Cu) (tedit 5E34F411)
(descr "MX-style keyswitch with reversible Kailh socket mount")
(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_reversible (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 B.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 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.604) (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 -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 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 -6) (end -7 -7) (layer B.SilkS) (width 0.15))
(fp_line (start -7 -7) (end -6 -7) (layer F.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_arc (start 0 0) (end 0 -2.54) (angle -75.69708604) (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 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_arc (start 0 0) (end -2.539999 0.634999) (angle -75.96375653) (layer F.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_line (start -6.35 4.445) (end -6.35 4.064) (layer F.SilkS) (width 0.15))
(fp_line (start -6.35 1.016) (end -6.35 0.635) (layer F.SilkS) (width 0.15))
(fp_line (start -6.35 0.635) (end -5.969 0.635) (layer F.SilkS) (width 0.15))
(fp_line (start -6.35 0.635) (end -2.539999 0.634999) (layer F.SilkS) (width 0.15))
(fp_line (start 0 2.54) (end 5.08 2.54) (layer F.SilkS) (width 0.15))
(fp_line (start 5.08 2.54) (end 5.08 3.556) (layer F.SilkS) (width 0.15))
(fp_line (start 5.08 6.604) (end 5.08 6.985) (layer F.SilkS) (width 0.15))
(fp_line (start 5.08 6.985) (end -3.81 6.985) (layer F.SilkS) (width 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_text user %R (at -1.27 5.08) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at -1.27 -5.08) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_arc (start 0 0) (end -2.539999 0.634999) (angle -75.96375653) (layer F.Fab) (width 0.12))
(fp_arc (start -3.81 4.445) (end -6.35 4.445) (angle -90) (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 -2.54 0.635) (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 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_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_arc (start 0 0) (end 0 -2.54) (angle -75.96375653) (layer B.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_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_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))
(pad 2 smd rect (at -7.56 -2.54) (size 2.55 2.5) (layers B.Cu B.Paste B.Mask))
(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 -3.81 2.54) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 2.54 5.08) (size 3 3) (drill 3) (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 "" np_thru_hole circle (at 0 0) (size 3.9878 3.9878) (drill 3.9878) (layers *.Cu *.Mask))
(pad 2 smd rect (at -7.56 2.54) (size 2.55 2.5) (layers F.Cu F.Paste F.Mask))
)

View File

@@ -0,0 +1,78 @@
(module Kailh_socket_PG1350 (layer F.Cu) (tedit 5DD50E5C)
(descr "Kailh \"Choc\" PG1350 keyswitch socket mount")
(tags kailh,choc)
(attr smd)
(fp_text reference REF** (at -5 -2) (layer B.SilkS)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text value Kailh_socket_PG1350 (at 0 8.255) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.6 -3.1) (end 2.6 -3.1) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -3.1) (end 2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -6.3) (end -2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start -2.6 -3.1) (end -2.6 -6.3) (layer Eco2.User) (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 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_line (start -7 5.6) (end -7 6.2) (layer B.SilkS) (width 0.15))
(fp_line (start 1.5 3.7) (end -1 3.7) (layer B.SilkS) (width 0.15))
(fp_arc (start -1 2.2) (end -2.5 2.2) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start -1.5 8.2) (end -2 7.7) (layer B.SilkS) (width 0.15))
(fp_line (start -2 6.7) (end -2 7.7) (layer B.SilkS) (width 0.15))
(fp_line (start -7 6.2) (end -2.5 6.2) (layer B.SilkS) (width 0.15))
(fp_line (start 2 4.2) (end 1.5 3.7) (layer B.SilkS) (width 0.15))
(fp_line (start 2 7.7) (end 1.5 8.2) (layer B.SilkS) (width 0.15))
(fp_line (start 1.5 8.2) (end -1.5 8.2) (layer B.SilkS) (width 0.15))
(fp_arc (start -2.5 6.7) (end -2 6.7) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start -2.5 2.2) (end -2.5 1.5) (layer B.SilkS) (width 0.15))
(fp_line (start -2.5 1.5) (end -7 1.5) (layer B.SilkS) (width 0.15))
(fp_line (start -7 1.5) (end -7 2) (layer B.SilkS) (width 0.15))
(fp_line (start 7 -7) (end 6 -7) (layer F.SilkS) (width 0.15))
(fp_text user %V (at -1 9) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at -3 5) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_arc (start -2.5 6.7) (end -2 6.7) (angle -90) (layer B.Fab) (width 0.15))
(fp_line (start 1.5 8.2) (end -1.5 8.2) (layer B.Fab) (width 0.15))
(fp_line (start 2 7.7) (end 1.5 8.2) (layer B.Fab) (width 0.15))
(fp_line (start 1.5 3.7) (end -1 3.7) (layer B.Fab) (width 0.15))
(fp_line (start 2 4.2) (end 1.5 3.7) (layer B.Fab) (width 0.15))
(fp_line (start -7 6.2) (end -2.5 6.2) (layer B.Fab) (width 0.15))
(fp_line (start -2 6.7) (end -2 7.7) (layer B.Fab) (width 0.15))
(fp_line (start -1.5 8.2) (end -2 7.7) (layer B.Fab) (width 0.15))
(fp_arc (start -1 2.2) (end -2.5 2.2) (angle -90) (layer B.Fab) (width 0.15))
(fp_line (start -2.5 1.5) (end -7 1.5) (layer B.Fab) (width 0.15))
(fp_line (start -2.5 2.2) (end -2.5 1.5) (layer B.Fab) (width 0.15))
(fp_line (start 2 4.25) (end 2 7.7) (layer B.Fab) (width 0.12))
(fp_line (start -7 1.5) (end -7 6.2) (layer B.Fab) (width 0.12))
(fp_line (start -7 5) (end -9.5 5) (layer B.Fab) (width 0.12))
(fp_line (start -9.5 5) (end -9.5 2.5) (layer B.Fab) (width 0.12))
(fp_line (start -9.5 2.5) (end -7 2.5) (layer B.Fab) (width 0.12))
(fp_line (start 2 4.75) (end 4.5 4.75) (layer B.Fab) (width 0.12))
(fp_line (start 4.5 4.75) (end 4.5 7.25) (layer B.Fab) (width 0.12))
(fp_line (start 4.5 7.25) (end 2 7.25) (layer B.Fab) (width 0.12))
(pad "" np_thru_hole circle (at 5.22 -4.2) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask))
(pad 2 smd rect (at -8.275 3.75) (size 2.6 2.6) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at 0 5.95) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.429 3.429) (drill 3.429) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5 3.75) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 1 smd rect (at 3.275 5.95) (size 2.6 2.6) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at 5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
)

View File

@@ -0,0 +1,83 @@
(module Kailh_socket_PG1350_optional (layer F.Cu) (tedit 5DD50F3F)
(descr "Kailh \"Choc\" PG1350 keyswitch with optional socket mount")
(tags kailh,choc)
(fp_text reference REF** (at 0 -8.255) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Kailh_socket_PG1350_optional (at 0 8.25) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.6 -3.1) (end 2.6 -3.1) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -3.1) (end 2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -6.3) (end -2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start -2.6 -3.1) (end -2.6 -6.3) (layer Eco2.User) (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 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_line (start 7 -1.5) (end 7 -2) (layer B.SilkS) (width 0.15))
(fp_arc (start 2.5 -6.7) (end 2 -6.7) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start -1.5 -8.2) (end 1.5 -8.2) (layer B.SilkS) (width 0.15))
(fp_line (start -2 -7.7) (end -1.5 -8.2) (layer B.SilkS) (width 0.15))
(fp_line (start -1.5 -3.7) (end 1 -3.7) (layer B.SilkS) (width 0.15))
(fp_line (start 7 -5.6) (end 7 -6.2) (layer B.SilkS) (width 0.15))
(fp_line (start -2 -4.2) (end -1.5 -3.7) (layer B.SilkS) (width 0.15))
(fp_line (start 7 -6.2) (end 2.5 -6.2) (layer B.SilkS) (width 0.15))
(fp_line (start 2 -6.7) (end 2 -7.7) (layer B.SilkS) (width 0.15))
(fp_line (start 1.5 -8.2) (end 2 -7.7) (layer B.SilkS) (width 0.15))
(fp_arc (start 1 -2.2) (end 2.5 -2.2) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start 2.5 -1.5) (end 7 -1.5) (layer B.SilkS) (width 0.15))
(fp_line (start 2.5 -2.2) (end 2.5 -1.5) (layer B.SilkS) (width 0.15))
(fp_line (start 9.5 -2.5) (end 7 -2.5) (layer B.Fab) (width 0.12))
(fp_line (start -2 -4.75) (end -4.5 -4.75) (layer B.Fab) (width 0.12))
(fp_line (start -4.5 -4.75) (end -4.5 -7.25) (layer B.Fab) (width 0.12))
(fp_line (start -4.5 -7.25) (end -2 -7.25) (layer B.Fab) (width 0.12))
(fp_line (start 9.5 -5) (end 9.5 -2.5) (layer B.Fab) (width 0.12))
(fp_line (start -2 -4.25) (end -2 -7.7) (layer B.Fab) (width 0.12))
(fp_line (start 2.5 -2.2) (end 2.5 -1.5) (layer B.Fab) (width 0.15))
(fp_line (start 2.5 -1.5) (end 7 -1.5) (layer B.Fab) (width 0.15))
(fp_arc (start 1 -2.2) (end 2.5 -2.2) (angle -90) (layer B.Fab) (width 0.15))
(fp_line (start 1.5 -8.2) (end 2 -7.7) (layer B.Fab) (width 0.15))
(fp_line (start 2 -6.7) (end 2 -7.7) (layer B.Fab) (width 0.15))
(fp_line (start 7 -6.2) (end 2.5 -6.2) (layer B.Fab) (width 0.15))
(fp_line (start -2 -4.2) (end -1.5 -3.7) (layer B.Fab) (width 0.15))
(fp_line (start -1.5 -3.7) (end 1 -3.7) (layer B.Fab) (width 0.15))
(fp_line (start -2 -7.7) (end -1.5 -8.2) (layer B.Fab) (width 0.15))
(fp_line (start -1.5 -8.2) (end 1.5 -8.2) (layer B.Fab) (width 0.15))
(fp_arc (start 2.5 -6.7) (end 2 -6.7) (angle -90) (layer B.Fab) (width 0.15))
(fp_line (start 7 -1.5) (end 7 -6.2) (layer B.Fab) (width 0.12))
(fp_line (start 7 -5) (end 9.5 -5) (layer B.Fab) (width 0.12))
(fp_text user %R (at 3 -5 180) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 4.445 -7.62) (layer B.SilkS)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %V (at 2.54 -0.635) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 2 smd rect (at 8.275 -3.75) (size 2.6 2.6) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at 0 -5.95) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at 0 5.9) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at -5 3.8) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.429 3.429) (drill 3.429) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5 -3.75) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 1 smd rect (at -3.275 -5.95) (size 2.6 2.6) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at 5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
)

View File

@@ -0,0 +1,131 @@
(module Kailh_socket_PG1350_optional_reversible (layer F.Cu) (tedit 5DD50FEF)
(descr "Kailh \"Choc\" PG1350 keyswitch with optional socket mount, reversible")
(tags kailh,choc)
(fp_text reference REF** (at 0 -8.89) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Kailh_socket_PG1350_optional_reversible (at 0 8.255) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.6 -3.1) (end 2.6 -3.1) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -3.1) (end 2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -6.3) (end -2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start -2.6 -3.1) (end -2.6 -6.3) (layer Eco2.User) (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 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 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 -6 7) (end -7 7) (layer B.SilkS) (width 0.15))
(fp_line (start -7 7) (end -7 6) (layer B.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) (layer B.SilkS) (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 7 -1.5) (end 7 -2) (layer B.SilkS) (width 0.15))
(fp_arc (start 2.5 -6.7) (end 2 -6.7) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start -1.5 -8.2) (end 1.5 -8.2) (layer B.SilkS) (width 0.15))
(fp_line (start -2 -7.7) (end -1.5 -8.2) (layer B.SilkS) (width 0.15))
(fp_line (start -1.5 -3.7) (end 1 -3.7) (layer B.SilkS) (width 0.15))
(fp_line (start 7 -5.6) (end 7 -6.2) (layer B.SilkS) (width 0.15))
(fp_line (start -2 -4.2) (end -1.5 -3.7) (layer B.SilkS) (width 0.15))
(fp_line (start 7 -6.2) (end 2.5 -6.2) (layer B.SilkS) (width 0.15))
(fp_line (start 2 -6.7) (end 2 -7.7) (layer B.SilkS) (width 0.15))
(fp_line (start 1.5 -8.2) (end 2 -7.7) (layer B.SilkS) (width 0.15))
(fp_arc (start 1 -2.2) (end 2.5 -2.2) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start 2.5 -1.5) (end 7 -1.5) (layer B.SilkS) (width 0.15))
(fp_line (start 2.5 -2.2) (end 2.5 -1.5) (layer B.SilkS) (width 0.15))
(fp_line (start -7 -1.5) (end -7 -2) (layer F.SilkS) (width 0.15))
(fp_arc (start -2.5 -6.7) (end -2 -6.7) (angle 90) (layer F.SilkS) (width 0.15))
(fp_line (start 1.5 -8.2) (end -1.5 -8.2) (layer F.SilkS) (width 0.15))
(fp_line (start 2 -7.7) (end 1.5 -8.2) (layer F.SilkS) (width 0.15))
(fp_line (start 1.5 -3.7) (end -1 -3.7) (layer F.SilkS) (width 0.15))
(fp_line (start -7 -5.6) (end -7 -6.2) (layer F.SilkS) (width 0.15))
(fp_line (start 2 -4.2) (end 1.5 -3.7) (layer F.SilkS) (width 0.15))
(fp_line (start -7 -6.2) (end -2.5 -6.2) (layer F.SilkS) (width 0.15))
(fp_line (start -2 -6.7) (end -2 -7.7) (layer F.SilkS) (width 0.15))
(fp_line (start -1.5 -8.2) (end -2 -7.7) (layer F.SilkS) (width 0.15))
(fp_arc (start -1 -2.2) (end -2.5 -2.2) (angle 90) (layer F.SilkS) (width 0.15))
(fp_line (start -2.5 -1.5) (end -7 -1.5) (layer F.SilkS) (width 0.15))
(fp_line (start -2.5 -2.2) (end -2.5 -1.5) (layer F.SilkS) (width 0.15))
(fp_line (start 9.5 -2.5) (end 7 -2.5) (layer B.Fab) (width 0.12))
(fp_line (start -2 -4.75) (end -4.5 -4.75) (layer B.Fab) (width 0.12))
(fp_line (start -4.5 -4.75) (end -4.5 -7.25) (layer B.Fab) (width 0.12))
(fp_line (start -4.5 -7.25) (end -2 -7.25) (layer B.Fab) (width 0.12))
(fp_line (start 9.5 -5) (end 9.5 -2.5) (layer B.Fab) (width 0.12))
(fp_line (start -2 -4.25) (end -2 -7.7) (layer B.Fab) (width 0.12))
(fp_line (start 2.5 -2.2) (end 2.5 -1.5) (layer B.Fab) (width 0.15))
(fp_line (start 2.5 -1.5) (end 7 -1.5) (layer B.Fab) (width 0.15))
(fp_arc (start 1 -2.2) (end 2.5 -2.2) (angle -90) (layer B.Fab) (width 0.15))
(fp_line (start 1.5 -8.2) (end 2 -7.7) (layer B.Fab) (width 0.15))
(fp_line (start 2 -6.7) (end 2 -7.7) (layer B.Fab) (width 0.15))
(fp_line (start 7 -6.2) (end 2.5 -6.2) (layer B.Fab) (width 0.15))
(fp_line (start -2 -4.2) (end -1.5 -3.7) (layer B.Fab) (width 0.15))
(fp_line (start -1.5 -3.7) (end 1 -3.7) (layer B.Fab) (width 0.15))
(fp_line (start -2 -7.7) (end -1.5 -8.2) (layer B.Fab) (width 0.15))
(fp_line (start -1.5 -8.2) (end 1.5 -8.2) (layer B.Fab) (width 0.15))
(fp_arc (start 2.5 -6.7) (end 2 -6.7) (angle -90) (layer B.Fab) (width 0.15))
(fp_line (start 7 -1.5) (end 7 -6.2) (layer B.Fab) (width 0.12))
(fp_line (start 7 -5) (end 9.5 -5) (layer B.Fab) (width 0.12))
(fp_text user %R (at 3 -5 180) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -9.5 -2.5) (end -7 -2.5) (layer F.Fab) (width 0.12))
(fp_line (start 2 -4.75) (end 4.5 -4.75) (layer F.Fab) (width 0.12))
(fp_line (start 4.5 -4.75) (end 4.5 -7.25) (layer F.Fab) (width 0.12))
(fp_line (start 4.5 -7.25) (end 2 -7.25) (layer F.Fab) (width 0.12))
(fp_line (start -9.5 -5) (end -9.5 -2.5) (layer F.Fab) (width 0.12))
(fp_line (start 2 -4.25) (end 2 -7.7) (layer F.Fab) (width 0.12))
(fp_line (start -2.5 -2.2) (end -2.5 -1.5) (layer F.Fab) (width 0.15))
(fp_line (start -2.5 -1.5) (end -7 -1.5) (layer F.Fab) (width 0.15))
(fp_arc (start -1 -2.2) (end -2.5 -2.2) (angle 90) (layer F.Fab) (width 0.15))
(fp_line (start -1.5 -8.2) (end -2 -7.7) (layer F.Fab) (width 0.15))
(fp_line (start -2 -6.7) (end -2 -7.7) (layer F.Fab) (width 0.15))
(fp_line (start -7 -6.2) (end -2.5 -6.2) (layer F.Fab) (width 0.15))
(fp_line (start 2 -4.2) (end 1.5 -3.7) (layer F.Fab) (width 0.15))
(fp_line (start 1.5 -3.7) (end -1 -3.7) (layer F.Fab) (width 0.15))
(fp_line (start 2 -7.7) (end 1.5 -8.2) (layer F.Fab) (width 0.15))
(fp_line (start 1.5 -8.2) (end -1.5 -8.2) (layer F.Fab) (width 0.15))
(fp_arc (start -2.5 -6.7) (end -2 -6.7) (angle 90) (layer F.Fab) (width 0.15))
(fp_line (start -7 -1.5) (end -7 -6.2) (layer F.Fab) (width 0.12))
(fp_line (start -7 -5) (end -9.5 -5) (layer F.Fab) (width 0.12))
(fp_text user %R (at -2.25 -4.75) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 -8.89) (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_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))
(pad 2 thru_hole circle (at -5 3.8) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad 2 smd rect (at 8.275 -3.75) (size 2.6 2.6) (layers B.Cu B.Paste B.Mask))
(pad 1 smd rect (at -3.275 -5.95) (size 2.6 2.6) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at 5 -3.75) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 2 smd rect (at -8.275 -3.75) (size 2.6 2.6) (layers F.Cu F.Paste F.Mask))
(pad "" np_thru_hole circle (at 0 -5.95) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at 0 5.9) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 5 3.8) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.429 3.429) (drill 3.429) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5 -3.75) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 1 smd rect (at 3.275 -5.95) (size 2.6 2.6) (layers F.Cu F.Paste F.Mask))
(pad "" np_thru_hole circle (at 5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
)

View File

@@ -0,0 +1,131 @@
(module Kailh_socket_PG1350_reversible (layer F.Cu) (tedit 5DD510DD)
(descr "Kailh \"Choc\" PG1350 keyswitch reversible socket mount")
(tags kailh,choc)
(attr smd)
(fp_text reference REF** (at 4.445 -1.905) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Kailh_socket_PG1350_reversible (at 0 8.89) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.6 -3.1) (end 2.6 -3.1) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -3.1) (end 2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -6.3) (end -2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start -2.6 -3.1) (end -2.6 -6.3) (layer Eco2.User) (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 B.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 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 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 F.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 B.SilkS) (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 1.5) (end -7 2) (layer B.SilkS) (width 0.15))
(fp_arc (start -2.5 6.7) (end -2 6.7) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start 1.5 8.2) (end -1.5 8.2) (layer B.SilkS) (width 0.15))
(fp_line (start 2 7.7) (end 1.5 8.2) (layer B.SilkS) (width 0.15))
(fp_line (start 1.5 3.7) (end -1 3.7) (layer B.SilkS) (width 0.15))
(fp_line (start -7 5.6) (end -7 6.2) (layer B.SilkS) (width 0.15))
(fp_line (start 2 4.2) (end 1.5 3.7) (layer B.SilkS) (width 0.15))
(fp_line (start -7 6.2) (end -2.5 6.2) (layer B.SilkS) (width 0.15))
(fp_line (start -2 6.7) (end -2 7.7) (layer B.SilkS) (width 0.15))
(fp_line (start -1.5 8.2) (end -2 7.7) (layer B.SilkS) (width 0.15))
(fp_arc (start -1 2.2) (end -2.5 2.2) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start -2.5 1.5) (end -7 1.5) (layer B.SilkS) (width 0.15))
(fp_line (start -2.5 2.2) (end -2.5 1.5) (layer B.SilkS) (width 0.15))
(fp_line (start 7 1.5) (end 7 2) (layer F.SilkS) (width 0.15))
(fp_arc (start 2.5 6.7) (end 2 6.7) (angle 90) (layer F.SilkS) (width 0.15))
(fp_line (start -1.5 8.2) (end 1.5 8.2) (layer F.SilkS) (width 0.15))
(fp_line (start -2 7.7) (end -1.5 8.2) (layer F.SilkS) (width 0.15))
(fp_line (start -1.5 3.7) (end 1 3.7) (layer F.SilkS) (width 0.15))
(fp_line (start 7 5.6) (end 7 6.2) (layer F.SilkS) (width 0.15))
(fp_line (start -2 4.2) (end -1.5 3.7) (layer F.SilkS) (width 0.15))
(fp_line (start 7 6.2) (end 2.5 6.2) (layer F.SilkS) (width 0.15))
(fp_line (start 2 6.7) (end 2 7.7) (layer F.SilkS) (width 0.15))
(fp_line (start 1.5 8.2) (end 2 7.7) (layer F.SilkS) (width 0.15))
(fp_arc (start 1 2.2) (end 2.5 2.2) (angle 90) (layer F.SilkS) (width 0.15))
(fp_line (start 2.5 1.5) (end 7 1.5) (layer F.SilkS) (width 0.15))
(fp_line (start 2.5 2.2) (end 2.5 1.5) (layer F.SilkS) (width 0.15))
(fp_line (start -9.5 2.5) (end -7 2.5) (layer B.Fab) (width 0.12))
(fp_line (start 2 4.75) (end 4.5 4.75) (layer B.Fab) (width 0.12))
(fp_line (start 4.5 4.75) (end 4.5 7.25) (layer B.Fab) (width 0.12))
(fp_line (start 4.5 7.25) (end 2 7.25) (layer B.Fab) (width 0.12))
(fp_line (start -9.5 5) (end -9.5 2.5) (layer B.Fab) (width 0.12))
(fp_line (start 2 4.25) (end 2 7.7) (layer B.Fab) (width 0.12))
(fp_line (start -2.5 2.2) (end -2.5 1.5) (layer B.Fab) (width 0.15))
(fp_line (start -2.5 1.5) (end -7 1.5) (layer B.Fab) (width 0.15))
(fp_arc (start -1 2.2) (end -2.5 2.2) (angle -90) (layer B.Fab) (width 0.15))
(fp_line (start -1.5 8.2) (end -2 7.7) (layer B.Fab) (width 0.15))
(fp_line (start -2 6.7) (end -2 7.7) (layer B.Fab) (width 0.15))
(fp_line (start -7 6.2) (end -2.5 6.2) (layer B.Fab) (width 0.15))
(fp_line (start 2 4.2) (end 1.5 3.7) (layer B.Fab) (width 0.15))
(fp_line (start 1.5 3.7) (end -1 3.7) (layer B.Fab) (width 0.15))
(fp_line (start 2 7.7) (end 1.5 8.2) (layer B.Fab) (width 0.15))
(fp_line (start 1.5 8.2) (end -1.5 8.2) (layer B.Fab) (width 0.15))
(fp_arc (start -2.5 6.7) (end -2 6.7) (angle -90) (layer B.Fab) (width 0.15))
(fp_line (start -7 1.5) (end -7 6.2) (layer B.Fab) (width 0.12))
(fp_line (start -7 5) (end -9.5 5) (layer B.Fab) (width 0.12))
(fp_text user %R (at -3 5) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start 9.5 2.5) (end 7 2.5) (layer F.Fab) (width 0.12))
(fp_line (start -2 4.75) (end -4.5 4.75) (layer F.Fab) (width 0.12))
(fp_line (start -4.5 4.75) (end -4.5 7.25) (layer F.Fab) (width 0.12))
(fp_line (start -4.5 7.25) (end -2 7.25) (layer F.Fab) (width 0.12))
(fp_line (start 9.5 5) (end 9.5 2.5) (layer F.Fab) (width 0.12))
(fp_line (start -2 4.25) (end -2 7.7) (layer F.Fab) (width 0.12))
(fp_line (start 2.5 2.2) (end 2.5 1.5) (layer F.Fab) (width 0.15))
(fp_line (start 2.5 1.5) (end 7 1.5) (layer F.Fab) (width 0.15))
(fp_arc (start 1 2.2) (end 2.5 2.2) (angle 90) (layer F.Fab) (width 0.15))
(fp_line (start 1.5 8.2) (end 2 7.7) (layer F.Fab) (width 0.15))
(fp_line (start 2 6.7) (end 2 7.7) (layer F.Fab) (width 0.15))
(fp_line (start 7 6.2) (end 2.5 6.2) (layer F.Fab) (width 0.15))
(fp_line (start -2 4.2) (end -1.5 3.7) (layer F.Fab) (width 0.15))
(fp_line (start -1.5 3.7) (end 1 3.7) (layer F.Fab) (width 0.15))
(fp_line (start -2 7.7) (end -1.5 8.2) (layer F.Fab) (width 0.15))
(fp_line (start -1.5 8.2) (end 1.5 8.2) (layer F.Fab) (width 0.15))
(fp_arc (start 2.5 6.7) (end 2 6.7) (angle 90) (layer F.Fab) (width 0.15))
(fp_line (start 7 1.5) (end 7 6.2) (layer F.Fab) (width 0.12))
(fp_line (start 7 5) (end 9.5 5) (layer F.Fab) (width 0.12))
(fp_text user %R (at 3 5 180) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %V (at 0 8.89) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at -4.445 -1.905) (layer B.SilkS)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(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))
(pad "" np_thru_hole circle (at 5.22 -4.2) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.22 -4.2) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask))
(pad 2 smd rect (at -8.275 3.75) (size 2.6 2.6) (layers B.Cu B.Paste B.Mask))
(pad 1 smd rect (at 3.275 5.95) (size 2.6 2.6) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at -5 3.75) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 2 smd rect (at 8.275 3.75) (size 2.6 2.6) (layers F.Cu F.Paste F.Mask))
(pad "" np_thru_hole circle (at 0 5.95) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.429 3.429) (drill 3.429) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5 3.75) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 1 smd rect (at -3.275 5.95) (size 2.6 2.6) (layers F.Cu F.Paste F.Mask))
(pad "" np_thru_hole circle (at 5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
)

View File

@@ -0,0 +1,3 @@
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a>
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).

View File

@@ -0,0 +1,80 @@
an open source [KiCad](https://kicad.org) library of mechanical keyboard switch footprints for your [open source hardware](https://www.oshwa.org/definition/) keyboard designs
## Switches
### Cherry MX style and compatibles
#### Direct solder
Footprint | Description/notes | Preview
--------- | ----------------- | -------
SW_MX | One-sided mount for any MX-compatible switches. Supports PCB mount switches. | ![MX Switch](images/SW_MX.png)
SW_MX_reversible | Enables any MX-compatible switches to be mounted on either side of the PCB, similar to the switch mounts on the original Ergodox PCBs. Supports PCB mount switches. | ![SW_MX_reversible](images/SW_MX_reversible.png)
SW_MX_reversible_minimal | A variant of SW_MX_reversible with condensed reference marking and no PCB mount holes | ![SW_MX_reversible_minimal](images/SW_MX_reversible_minimal.png)
#### Hot-swap socket mount
Footprint | Description/notes | Preview
--------- | ----------------- | -------
Kailh_socket_MX | Hot-swappable socket mount for MX-compatible switches using [Kailh MX sockets](https://novelkeys.xyz/collections/miscellaneous/products/kailh-pcb-sockets) | ![Kailh_socket_MX](images/Kailh_socket_MX.png)
Kailh_socket_MX_reversible | Enables attaching hot-swappable MX-compatible socket mount on either side of the PCB. Note that the switch will be "upside-down" when mounted on the back side of the PCB, which may interfere with Cherry Profile keycaps. | ![Kailh_socket_MX_reversible](images/Kailh_socket_MX_reversible.png)
Kailh_socket_MX_platemount | Hot-swappable socket mount for MX-compatible plate mount (instead of 3 plastic pins, it only have 1 plastic pin on the center) switches using [Kailh MX sockets](https://novelkeys.xyz/collections/miscellaneous/products/kailh-pcb-sockets) **It doesn't support PCB mounting option!** | ![Kailh_socket_MX](images/Kailh_socket_MX_platemount.png)
Kailh_socket_MX_reversible_platemount | Enables attaching hot-swappable MX-compatible socket mount on either side of the PCB for plate mount (instead of 3 plastic pins, it only have 1 plastic pin on the center) switches. Note that the switch will be "upside-down" when mounted on the back side of the PCB, which may interfere with Cherry Profile keycaps. **It doesn't support PCB mounting option!** | ![Kailh_socket_MX_reversible](images/Kailh_socket_MX_reversible_platemount.png)
#### Flexible mounting (choose socket or direct soldered when assembling)
Footprint | Description/notes | Preview
--------- | ----------------- | -------
Kailh_socket_MX_optional | Enables mounting MX-compatible switches using either through-hole soldering or the hot-swappable mount. Note that the switch will be "upside-down" when mounted in the socket, which may interfere with Cherry Profile keycaps. | ![Kailh_socket_MX_optional](images/Kailh_socket_MX_optional.png)
Kailh_socket_MX_optional_reversible | Enables mounting MX-compatible switches using either through-hole soldering or the hot-swappable mount, on either side of the PCB. Note that the switch orientation will be reversed depending on which side of the PCB it is mounted on, which may affect aesthetics if the case leaves the switches visible, as well as possible interference with Cherry Profile keycaps. | ![Kailh_socket_MX_optional_reversible](images/Kailh_socket_MX_optional_reversible.png)
Kailh_socket_MX_optional | Enables mounting MX-compatible plate mount (instead of 3 plastic pins, it only have 1 plastic pin on the center) switches using either through-hole soldering or the hot-swappable mount. Note that the switch will be "upside-down" when mounted in the socket, which may interfere with Cherry Profile keycaps. **It doesn't support PCB mounting option!** | ![Kailh_socket_MX_optional_platemount](images/Kailh_socket_MX_optional_platemount.png)
Kailh_socket_MX_optional_reversible | Enables mounting MX-compatible plate mount (instead of 3 plastic pins, it only have 1 plastic pin on the center) switches using either through-hole soldering or the hot-swappable mount, on either side of the PCB. Note that the switch orientation will be reversed depending on which side of the PCB it is mounted on, which may affect aesthetics if the case leaves the switches visible, as well as possible interference with Cherry Profile keycaps. **It doesn't support PCB mounting option!** | ![Kailh_socket_MX_optional_reversible_platemount](images/Kailh_socket_MX_optional_reversible_platemount.png)
### Kailh Low Profile "Choc"
#### Direct solder
Footprint | Description/notes | Preview
--------- | ----------------- | -------
SW_PG1350 | Just a plain one-sided mount for [Kailh PG1350](http://kailh.com/en/Products/Ks/CS/) switches | ![PG1350 switch](images/SW_PG1350.png)
SW_PG1350_reversible | Enables the switch to be mounted on either side of the PCB, similar to the switch mounts on the original Ergodox PCBs | ![PG1350 reversible](images/SW_PG1350_reversible.png)
SW_PG1350_reversible_rotatable | Enables the switch to be mounted on either side of the PCB *and* optionally rotated 90° by the person assembling the board. This option is intended to allow the board assembler to accomodate keycaps that only fit in a particular orientation. | ![PG1350, reversible & rotatable](images/SW_PG1350_reversible_rotatable.png)
#### Hot-swap socket mount
Footprint | Description/notes | Preview
--------- | ----------------- | -------
Kailh_socket_PG1350 | Hot-swappable socket mount for [Kailh Choc PCB Sockets](https://novelkeys.xyz/collections/miscellaneous/products/kailh-pcb-sockets?variant=3762779357224) | ![PG1350 socket mount](images/Kailh_socket_PG1350.png)
Kailh_socket_PG1350_reversible | Enables attaching hot-swappable socket mount on either side of the PCB | ![PG1350 reversible socket mount](images/Kailh_socket_PG1350_reversible.png)
#### Flexible mounting (choose socket or direct soldered when assembling)
Footprint | Description/notes | Preview
--------- | ----------------- | -------
Kailh_socket_PG1350_optional | Enables switch to be attached with either through-hole soldering or hot-swappable mount | ![PG1350 optional socket mount](images/Kailh_socket_PG1350_optional.png)
Kailh_socket_PG1350_optional_reversible | Enables switch to be attached on either side of the PCB with either through-hole soldering or hot-swappable mount | ![PG1350 optional socket mount, reversible](images/Kailh_socket_PG1350_optional_reversible.png)
### Notes for switch footprints
The square in the layer F.Fab is meant to represent the outline of the switch as it would be mounted on the board. This is a change from older versions of this library but matches the KiCad library convention.
The plate footprint and LED mount area are marked on the layer Eco2.User. The plate footprint markings, especially for MX, are meant to show the overall dimensions of the cutout, not to be detailed enough to cut a plate from.
For all socket-mountable (and flexible-mount) footprints here, the socket is placed on the __back__ of the footprint (i.e. the switch ends up mounted on the front if the footprint is placed on the front of the board). This goes against KiCad library standards for SMD parts but is done for consistency between the direct-mount and socket-mount footprints in this library. Be aware of this when placing the footprints on your board.
The fab layer and silkscreen for the socket footprints contain the [standard](https://kicad-pcb.org/libraries/klc/#f5) information for *both* installing the switch on the front of the PCB *and* installing the socket on the back. Likewise, reversible footprints show the information for installation on *both* sides. Particularly with flexible-mount footprints, be careful that this doesn't cause confusion for anyone assembling your board you may want to delete the extra silkscreen and fab info depending on your preferred assembly method or at least mention this in any assembly documentation you provide for your PCB.
## Other included components
Footprint | Description/notes | Preview
--------- | ----------------- | -------
Stabilizer_MX_2u | Mounting holes for a 2u PCB-mount stabilizer for MX-style switches | ![2u MX-style stabilizer holes](images/Stabilizer_MX_2u.png)
------------------------
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a>
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).

View File

@@ -0,0 +1,34 @@
(module SW_MX (layer F.Cu) (tedit 5DD4F656)
(descr "MX-style keyswitch")
(tags MX,cherry,gateron,kailh)
(fp_text reference REF** (at 0 -8.255) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_MX (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_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(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 "" np_thru_hole circle (at 5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
)

View File

@@ -0,0 +1,57 @@
(module SW_MX_reversible (layer F.Cu) (tedit 5DD4F81F)
(descr "MX-style keyswitch, reversible")
(tags MX,cherry,gateron,kailh)
(fp_text reference REF** (at 0 -8.255) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_MX_reversible (at 0 8.255) (layer F.Fab)
(effects (font (size 1 1) (thickness 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 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 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_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 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 7 -7) (end 7 -6) (layer B.SilkS) (width 0.15))
(fp_line (start 6 -7) (end 7 -7) (layer B.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 B.SilkS) (width 0.15))
(fp_text user %R (at 0 -8.255) (layer B.SilkS)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(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_text user %V (at 0 8.255) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 0) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 2 thru_hole circle (at 3.81 -2.54) (size 2.286 2.286) (drill 1.4986) (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 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 "" np_thru_hole circle (at 5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.08 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
)

View File

@@ -0,0 +1,55 @@
(module SW_MX_reversible_minimal (layer F.Cu) (tedit 5DD4F90D)
(descr "MX-style keyswitch, reversible, without pcb-mount holes")
(tags MX,cherry,gateron,kailh)
(fp_text reference REF** (at 0 -3) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_MX_reversible_minimal (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 B.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 B.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 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 F.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 7 -7) (end 7 -6) (layer B.SilkS) (width 0.15))
(fp_line (start 6 -7) (end 7 -7) (layer F.SilkS) (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.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 B.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 %V (at 0 8.255) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 -3.048) (layer B.SilkS)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 0) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 2 thru_hole circle (at 3.81 -2.54) (size 2.286 2.286) (drill 1.4986) (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 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))
)

View File

@@ -0,0 +1,39 @@
(module SW_PG1350 (layer F.Cu) (tedit 5DD50112)
(descr "Kailh \"Choc\" PG1350 keyswitch")
(tags kailh,choc)
(fp_text reference REF** (at 0 -8.255) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_PG1350 (at 0 8.255) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.6 -3.1) (end 2.6 -3.1) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -3.1) (end 2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -6.3) (end -2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start -2.6 -3.1) (end -2.6 -6.3) (layer Eco2.User) (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 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_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" np_thru_hole circle (at 0 0) (size 3.429 3.429) (drill 3.429) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at -5 3.8) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at 0 5.9) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.22 -4.2) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
)

View File

@@ -0,0 +1,62 @@
(module SW_PG1350_reversible (layer F.Cu) (tedit 5DD501D8)
(descr "Kailh \"Choc\" PG1350 keyswitch, able to be mounted on front or back of PCB")
(tags kailh,choc)
(fp_text reference REF** (at 0 -8.255) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_PG1350_reversible (at 0 8.255) (layer F.Fab)
(effects (font (size 1 1) (thickness 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 -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 -2.6 -3.1) (end 2.6 -3.1) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -3.1) (end 2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -6.3) (end -2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start -2.6 -3.1) (end -2.6 -6.3) (layer Eco2.User) (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 B.SilkS) (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 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_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_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 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 0) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad "" np_thru_hole circle (at -5.22 -4.2) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 5 3.8) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.429 3.429) (drill 3.429) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at -5 3.8) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at 0 5.9) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.22 -4.2) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
)

View File

@@ -0,0 +1,67 @@
(module SW_PG1350_reversible_rotatable (layer F.Cu) (tedit 5DD503F7)
(descr "Kailh \"Choc\" PG1350 keyswitch, able to be mounted on front or back of PCB and/or rotated 90 degrees (see README)")
(tags kailh,choc)
(fp_text reference REF** (at 0 -8.255) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_PG1350_reversible_rotatable (at 0 8.255) (layer F.Fab)
(effects (font (size 1 1) (thickness 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 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 B.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 -2.6 -3.1) (end 2.6 -3.1) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -3.1) (end 2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start 2.6 -6.3) (end -2.6 -6.3) (layer Eco2.User) (width 0.15))
(fp_line (start -2.6 -3.1) (end -2.6 -6.3) (layer Eco2.User) (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 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 B.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 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 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_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_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 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 0) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 1 thru_hole circle (at -5.5 0) (size 2.5 2.5) (drill 1.778) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.5 0) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 4.2 -5.22) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.22 -4.2) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 4.2 5.22) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 5 3.8) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at -3.8 -5) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at -3.8 5) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.429 3.429) (drill 3.429) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at -5 3.8) (size 2.032 2.032) (drill 1.27) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.22 -4.2) (size 0.9906 0.9906) (drill 0.9906) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at 0 5.5) (size 2.5 2.5) (drill 1.778) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 -5.5) (size 1.7018 1.7018) (drill 1.7018) (layers *.Cu *.Mask))
)

View File

@@ -0,0 +1,15 @@
(module Stabilizer_MX_2u (layer F.Cu) (tedit 5DD5122D)
(descr "MX-style stabilizer mount")
(tags MX,cherry,gateron,kailh,pg1511,stabilizer,stab)
(fp_text reference REF** (at 0 0) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Stabilizer_MX_2u (at 0 10.16) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 3 0) (layer Cmts.User) (width 0.15))
(pad "" np_thru_hole circle (at 11.9 8.255) (size 3.9878 3.9878) (drill 3.9878) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -11.9 8.255) (size 3.9878 3.9878) (drill 3.9878) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 11.9 -6.985) (size 3.048 3.048) (drill 3.048) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -11.9 -6.985) (size 3.048 3.048) (drill 3.048) (layers *.Cu *.Mask))
)