(kicad_pcb (version 20211014) (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)
      (disableapertmacros false)
      (usegerberextensions false)
      (usegerberattributes true)
      (usegerberadvancedattributes true)
      (creategerberjobfile true)
      (svguseinch false)
      (svgprecision 6)
      (excludeedgelayer true)
      (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 "gerbers/")
    )
  )
  (net 0 "")
  (net 1 "Net-(BT1-Pad1)")
  (net 2 "Net-(BT1-Pad2)")
  (footprint "keystone:BatteryHolder_Keystone_3012TR_1x16mm" (layer "F.Cu")
    (tedit 0)
    (at 170 80)
    (tags "cr1616")
    (property "Sheetfile" "gb-cr1616.kicad_sch")
    (property "Sheetname" "")
    (attr smd)
    (fp_text reference "BT1" (at -8 -6 unlocked) (layer "F.SilkS"))
    (fp_text value "CR1616" (at 0 8 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 -2.9) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab"))
    (pad "1" smd rect (at -10 0) (size 3.2 3.2) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 1 "Net-(BT1-Pad1)") (pinfunction "+") (pintype "passive"))
    (pad "1" smd rect (at 10 0) (size 3.2 3.2) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 1 "Net-(BT1-Pad1)") (pinfunction "+") (pintype "passive"))
    (pad "2" smd circle (at 0 0) (size 13.5 13.5) (layers "F.Cu" "F.Mask")
      (net 2 "Net-(BT1-Pad2)") (pinfunction "-") (pintype "passive"))
  )
  (footprint "gameboy:cr1616-tabbed" (layer "B.Cu")
    (tedit 0)
    (at 170 85 180)
    (property "Sheetfile" "gb-cr1616.kicad_sch")
    (property "Sheetname" "")
    (attr smd)
    (fp_text reference "J1" (at 8 6 unlocked) (layer "B.SilkS"))
    (fp_text value "Conn_01x02" (at 0 -2 unlocked) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 -3.5 unlocked) (layer "B.Fab"))
    (pad "1" thru_hole roundrect (at 11 0 180) (size 4.75 5.75) (drill 2) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 1 "Net-(BT1-Pad1)") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole roundrect (at -11.5 0 180) (size 5.5 3.5) (drill 2) (layers *.Cu *.Mask) (roundrect_rratio 0.25)
      (net 2 "Net-(BT1-Pad2)") (pinfunction "Pin_2") (pintype "passive"))
  )
  (gr_line (start 185 78) (end 185 89) (layer "Edge.Cuts") (width 0.2))
  (gr_line (start 156 78) (end 160 73) (layer "Edge.Cuts") (width 0.2))
  (gr_line (start 180 89) (end 160 89) (layer "Edge.Cuts") (width 0.2))
  (gr_line (start 185 89) (end 180 89) (layer "Edge.Cuts") (width 0.2))
  (gr_line (start 160 73) (end 173 73) (layer "Edge.Cuts") (width 0.2))
  (gr_line (start 173 73) (end 181 73) (layer "Edge.Cuts") (width 0.2))
  (gr_line (start 160 89) (end 156 89) (layer "Edge.Cuts") (width 0.2))
  (gr_line (start 181 73) (end 185 78) (layer "Edge.Cuts") (width 0.2))
  (gr_line (start 156 89) (end 156 78) (layer "Edge.Cuts") (width 0.2))
)
