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