(module HASwitchPlate:JST_XH2.54_04x2.54mm_Straight (layer F.Cu) (tedit 59E398E1)
  (descr "JST XH series connector, B04B-XH-A, top entry type, through hole")
  (tags "connector jst xh tht top vertical 2.50mm")
  (fp_text reference J2 (at 3.81 1.778) (layer F.SilkS)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (fp_text value XH2.54-4P (at 3.75 4.5) (layer F.Fab)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (fp_text user %R (at 3.81 3.048) (layer F.Fab)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (fp_line (start 9.3 2.75) (end 3.75 2.75) (layer F.SilkS) (width 0.12))
  (fp_line (start 9.42 -0.2) (end 9.42 2.75) (layer F.SilkS) (width 0.12))
  (fp_line (start 10.17 -0.2) (end 9.42 -0.2) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.8 2.75) (end 3.75 2.75) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.8 -0.2) (end -1.8 2.75) (layer F.SilkS) (width 0.12))
  (fp_line (start -2.55 -0.2) (end -1.8 -0.2) (layer F.SilkS) (width 0.12))
  (fp_line (start 8.38 -1.7) (end 10.17 -1.7) (layer F.SilkS) (width 0.12))
  (fp_line (start -2.55 -1.7) (end -0.75 -1.7) (layer F.SilkS) (width 0.12))
  (fp_line (start 0.75 -1.7) (end 6.83 -1.7) (layer F.SilkS) (width 0.12))
  (fp_line (start 10.17 3.5) (end 10.17 -1.7) (layer F.SilkS) (width 0.12))
  (fp_line (start -2.55 3.5) (end 10.17 3.5) (layer F.SilkS) (width 0.12))
  (fp_line (start -2.55 -1.7) (end -2.55 3.5) (layer F.SilkS) (width 0.12))
  (fp_line (start 10.57 -2.85) (end -2.95 -2.85) (layer F.CrtYd) (width 0.05))
  (fp_line (start 10.57 3.9) (end 10.57 -2.85) (layer F.CrtYd) (width 0.05))
  (fp_line (start -2.95 3.9) (end 10.57 3.9) (layer F.CrtYd) (width 0.05))
  (fp_line (start -2.95 -2.85) (end -2.95 3.9) (layer F.CrtYd) (width 0.05))
  (fp_line (start 10.07 -2.35) (end -2.45 -2.35) (layer F.Fab) (width 0.1))
  (fp_line (start 10.07 3.4) (end 10.07 -2.35) (layer F.Fab) (width 0.1))
  (fp_line (start -2.45 3.4) (end 10.07 3.4) (layer F.Fab) (width 0.1))
  (fp_line (start -2.45 -2.35) (end -2.45 3.4) (layer F.Fab) (width 0.1))
  (pad 1 thru_hole rect (at 7.62 0) (size 1.75 1.75) (drill 1) (layers *.Cu *.Mask))
  (pad 2 thru_hole circle (at 5.08 0) (size 1.75 1.75) (drill 1) (layers *.Cu *.Mask))
  (pad 3 thru_hole circle (at 2.54 0) (size 1.75 1.75) (drill 1) (layers *.Cu *.Mask))
  (pad 4 thru_hole circle (at 0 0) (size 1.75 1.75) (drill 1) (layers *.Cu *.Mask))
  (model ${KISYS3DMOD}/Connector_JST.3dshapes/JST_XH_B04B-XH-A_1x04_P2.50mm_Vertical.wrl
    (at (xyz 0 0 0))
    (scale (xyz 1 1 1))
    (rotate (xyz 0 0 0))
  )
)
