(kicad_pcb (version 20221018) (generator pcbnew)
  (general
    (thickness 1.6)
  )
  (paper "A4")
  (layers
    (0 "F.Cu" signal)
    (31 "B.Cu" signal)
    (32 "B.Adhes" user "B.Adhesive")
    (33 "F.Adhes" user "F.Adhesive")
    (34 "B.Paste" user)
    (35 "F.Paste" user)
    (36 "B.SilkS" user "B.Silkscreen")
    (37 "F.SilkS" user "F.Silkscreen")
    (38 "B.Mask" user)
    (39 "F.Mask" user)
    (40 "Dwgs.User" user "User.Drawings")
    (41 "Cmts.User" user "User.Comments")
    (42 "Eco1.User" user "User.Eco1")
    (43 "Eco2.User" user "User.Eco2")
    (44 "Edge.Cuts" user)
    (45 "Margin" user)
    (46 "B.CrtYd" user "B.Courtyard")
    (47 "F.CrtYd" user "F.Courtyard")
    (48 "B.Fab" user)
    (49 "F.Fab" user)
    (50 "User.1" user)
    (51 "User.2" user)
    (52 "User.3" user)
    (53 "User.4" user)
    (54 "User.5" user)
    (55 "User.6" user)
    (56 "User.7" user)
    (57 "User.8" user)
    (58 "User.9" user)
  )
  (setup
    (stackup
      (layer "F.SilkS" (type "Top Silk Screen"))
      (layer "F.Paste" (type "Top Solder Paste"))
      (layer "F.Mask" (type "Top Solder Mask") (thickness 0.01))
      (layer "F.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 1" (type "core") (thickness 1.51) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "B.Cu" (type "copper") (thickness 0.035))
      (layer "B.Mask" (type "Bottom Solder Mask") (thickness 0.01))
      (layer "B.Paste" (type "Bottom Solder Paste"))
      (layer "B.SilkS" (type "Bottom Silk Screen"))
      (copper_finish "None")
      (dielectric_constraints no)
    )
    (pad_to_mask_clearance 0)
    (pcbplotparams
      (layerselection 0x00010fc_ffffffff)
      (plot_on_all_layers_selection 0x0000000_00000000)
      (disableapertmacros false)
      (usegerberextensions false)
      (usegerberattributes true)
      (usegerberadvancedattributes true)
      (creategerberjobfile true)
      (dashed_line_dash_ratio 12.000000)
      (dashed_line_gap_ratio 3.000000)
      (svgprecision 4)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15.000000)
      (dxfpolygonmode true)
      (dxfimperialunits true)
      (dxfusepcbnewfont true)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue true)
      (plotinvisibletext false)
      (sketchpadsonfab false)
      (subtractmaskfromsilk false)
      (outputformat 1)
      (mirror false)
      (drillshape 0)
      (scaleselection 1)
      (outputdirectory "")
    )
  )
  (net 0 "")
  (net 1 "Net-(J1-Pin_1)")
  (net 2 "Net-(J1-Pin_2)")
  (net 3 "Net-(J2-Pin_1)")
  (footprint "Button_Switch_THT:SW_E-Switch_EG1224_SPDT_Angled" (layer "B.Cu")
    (at 132.1 84.1 90)
    (descr "E-Switch slide switch, EG series, SPDT, right angle, http://spec_sheets.e-switch.com/specs/P040042.pdf")
    (tags "switch SPDT")
    (property "Sheetfile" "andrew.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Single Pole Single Throw (SPST) switch")
    (property "ki_keywords" "switch lever")
    (attr through_hole)
    (fp_text reference "SW1" (at 4 2.95 90) (layer "B.SilkS") hide)
    (fp_text value "SW_SPST" (at 4 -14.45 90) (layer "B.Fab") hide)
    (fp_text user "${REFERENCE}" (at 4 -1.25 90) (layer "B.Fab"))
    (pad "" thru_hole circle (at -2 -4.25 90) (size 2 2) (drill 1.2) (layers "*.Cu" "*.Mask"))
    (pad "" thru_hole circle (at -2 1.75 90) (size 2 2) (drill 1.2) (layers "*.Cu" "*.Mask"))
    (pad "" thru_hole circle (at 10 -4.25 90) (size 2 2) (drill 1.2) (layers "*.Cu" "*.Mask"))
    (pad "" thru_hole circle (at 10 1.75 90) (size 2 2) (drill 1.2) (layers "*.Cu" "*.Mask"))
    (pad "1" thru_hole circle (at 0 0 90) (size 1.7 1.7) (drill 0.9) (layers "*.Cu" "*.Mask")
      (net 3 "Net-(J2-Pin_1)") (pinfunction "A") (pintype "passive"))
    (pad "2" thru_hole circle (at 4 0 90) (size 1.7 1.7) (drill 0.9) (layers "*.Cu" "*.Mask")
      (net 1 "Net-(J1-Pin_1)") (pinfunction "B") (pintype "passive"))
    (pad "3" thru_hole circle (at 8 0 90) (size 1.7 1.7) (drill 0.9) (layers "*.Cu" "*.Mask"))
    (model "${KICAD6_3DMODEL_DIR}/Button_Switch_THT.3dshapes/SW_E-Switch_EG1224_SPDT_Angled.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical" (layer "B.Cu")
    (at 128.4 96.35 180)
    (descr "JST PH series connector, B2B-PH-K (http://www.jst-mfg.com/product/pdf/eng/ePH.pdf), generated with kicad-footprint-generator")
    (tags "connector JST PH side entry")
    (property "Sheetfile" "andrew.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x02, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J2" (at 1 2.9) (layer "B.SilkS") hide)
    (fp_text value "Conn_01x02_Socket" (at 1 -4) (layer "B.Fab") hide)
    (fp_text user "${REFERENCE}" (at 1 -1.5) (layer "B.Fab"))
    (pad "1" thru_hole roundrect (at 0 0 180) (size 1.2 1.75) (drill 0.75) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.2083333333)
      (net 3 "Net-(J2-Pin_1)") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 2 0 180) (size 1.2 1.75) (drill 0.75) (layers "*.Cu" "*.Mask")
      (net 2 "Net-(J1-Pin_2)") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_JST.3dshapes/JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical" (layer "B.Cu")
    (at 128.4 66.95 180)
    (descr "JST PH series connector, B2B-PH-K (http://www.jst-mfg.com/product/pdf/eng/ePH.pdf), generated with kicad-footprint-generator")
    (tags "connector JST PH side entry")
    (property "Sheetfile" "andrew.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x02, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J1" (at 1 2.9) (layer "B.SilkS") hide)
    (fp_text value "Conn_01x02_Pin" (at 1 -4) (layer "B.Fab") hide)
    (fp_text user "${REFERENCE}" (at 1 -1.5) (layer "B.Fab"))
    (pad "1" thru_hole roundrect (at 0 0 180) (size 1.2 1.75) (drill 0.75) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.2083333333)
      (net 1 "Net-(J1-Pin_1)") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 2 0 180) (size 1.2 1.75) (drill 0.75) (layers "*.Cu" "*.Mask")
      (net 2 "Net-(J1-Pin_2)") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_JST.3dshapes/JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_circle (center 126.4 115.571863) (end 130.2 121.771863)
    (fill none) (layer "Edge.Cuts"))
  (gr_circle (center 119.554638 103.5) (end 120.554638 104.4)
    (fill none) (layer "Edge.Cuts"))
  (gr_circle (center 119.554638 51.1) (end 120.554638 52)
    (fill none) (layer "Edge.Cuts"))
  (gr_rect (start 116.5 47.9) (end 137.5 126.5)
    (fill none) (layer "Edge.Cuts"))
  (gr_circle (center 134.354638 103.4) (end 135.354638 104.3)
    (fill none) (layer "Edge.Cuts"))
  (zone (net 0) (net_name "") (layers "F&B.Cu") (hatch edge 0.5)
    (connect_pads (clearance 0.5))
    (min_thickness 0.25) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.5) (thermal_bridge_width 0.5) (island_removal_mode 1) (island_area_min 10))
    (polygon
      (pts
        (xy 116.4 47.8)
        (xy 116.5 126.5)
        (xy 137.5 126.5)
        (xy 137.5 47.9)
      )
    )
  )
)
