(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")
    (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)
  )
  (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 1)
      (scaleselection 1)
      (outputdirectory "")
    )
  )
  (property "BoardVer" "v2023-09-13")
  (net 0 "")
  (net 1 "GND")
  (net 2 "/CC1")
  (net 3 "/5V")
  (net 4 "/CC2")
  (footprint "Hubtech_Custom:USB Type C Female Receptacle - 6 Pin Power" (layer "F.Cu")
    (at 150 80)
    (property "Height" "3.41")
    (property "Manufacturer_Name" "Amphenol")
    (property "Manufacturer_Part_Number" "10164359-00011LF")
    (property "Mouser Part Number" "649-10164359-00011LF")
    (property "Mouser Price/Stock" "https://www.mouser.co.uk/ProductDetail/Amphenol-FCI/10164359-00011LF?qs=MyNHzdoqoQLpQ%2FmSqA1%252BtQ%3D%3D")
    (property "Sheetfile" "USB-C 5V Power.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "USB Type C Receptacle SMT Single Row 6Pin")
    (attr smd)
    (fp_text reference "J1" (at 0 2) (layer "F.SilkS") hide)
    (fp_text value "USB Type C Female Receptacle - 6 Pin Power" (at 5 -2) (layer "F.Fab"))
    (pad "A5" smd rect (at -0.5 -0.005 90) (size 1.15 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 2 "/CC1") (pinfunction "CC1") (pintype "passive") (solder_mask_margin 0.102))
    (pad "A9" smd rect (at 1.52 -0.005 90) (size 1.15 0.8) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 3 "/5V") (pinfunction "VBUS_1") (pintype "passive") (solder_mask_margin 0.102))
    (pad "A12" smd rect (at 2.75 -0.005 90) (size 1.15 0.9) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 1 "GND") (pinfunction "GND_1") (pintype "passive") (solder_mask_margin 0.102))
    (pad "B5" smd rect (at 0.5 -0.005 90) (size 1.15 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 4 "/CC2") (pinfunction "CC2") (pintype "passive") (solder_mask_margin 0.102))
    (pad "B9" smd rect (at -1.52 -0.005 90) (size 1.15 0.8) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 3 "/5V") (pinfunction "VBUS_2") (pintype "passive") (solder_mask_margin 0.102))
    (pad "B12" smd rect (at -2.75 -0.005 90) (size 1.15 0.9) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 1 "GND") (pinfunction "GND_2") (pintype "passive") (solder_mask_margin 0.102))
    (pad "S1" thru_hole oval (at -4.32 0) (size 1 2) (drill oval 0.5 1.2) (layers "*.Cu" "*.Mask")
      (net 1 "GND") (solder_mask_margin 0.102))
    (pad "S2" thru_hole oval (at 4.32 0) (size 1 2) (drill oval 0.5 1.2) (layers "*.Cu" "*.Mask")
      (net 1 "GND") (solder_mask_margin 0.102))
    (pad "S3" thru_hole oval (at -4.32 3.8) (size 1 2) (drill oval 0.5 1.2) (layers "*.Cu" "*.Mask")
      (net 1 "GND") (solder_mask_margin 0.102))
    (pad "S4" thru_hole oval (at 4.32 3.8) (size 1 2) (drill oval 0.5 1.2) (layers "*.Cu" "*.Mask")
      (net 1 "GND") (solder_mask_margin 0.102))
    (model "${HUBTECH_CUSTOM_3D}/UJC-HP-3-SMT-TR.step"
      (offset (xyz 0 -2.125 1.3))
      (scale (xyz 1 1 1))
      (rotate (xyz -90 0 0))
    )
  )
  (footprint "Hubtech_Custom:Proto-Hole" (layer "F.Cu")
    (at 151.27 77 -90)
    (property "Sheetfile" "USB-C 5V Power.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J2" (at 0 -1.905 -90 unlocked) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x01" (at 0 1.675 -90 unlocked) (layer "F.Fab") hide)
    (fp_text user "${REFERENCE}" (at 0 3.175 -90 unlocked) (layer "F.Fab") hide)
    (pad "1" thru_hole circle (at 0 0 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 3 "/5V") (pinfunction "Pin_1") (pintype "passive"))
  )
  (footprint "Hubtech_Custom:Proto-Hole" (layer "F.Cu")
    (at 148.73 77 -90)
    (property "Sheetfile" "USB-C 5V Power.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J3" (at 0 -1.905 -90 unlocked) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x01" (at 0 1.675 -90 unlocked) (layer "F.Fab") hide)
    (fp_text user "${REFERENCE}" (at 0 3.175 -90 unlocked) (layer "F.Fab") hide)
    (pad "1" thru_hole circle (at 0 0 270) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 1 "GND") (pinfunction "Pin_1") (pintype "passive"))
  )
  (footprint "Resistor_SMD:R_0603_1608Metric" (layer "F.Cu")
    (at 154.35 77.25 -90)
    (descr "Resistor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "resistor")
    (property "Sheetfile" "USB-C 5V Power.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R2" (at 0 0.01 -180) (layer "F.SilkS"))
    (fp_text value "5.1K" (at 0 1.43 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -0.825 0 270) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 4 "/CC2") (pintype "passive"))
    (pad "2" smd roundrect (at 0.825 0 270) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 1 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Resistor_SMD:R_0603_1608Metric" (layer "F.Cu")
    (at 145.65 77.25 -90)
    (descr "Resistor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "resistor")
    (property "Sheetfile" "USB-C 5V Power.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R1" (at 0 0.01 180) (layer "F.SilkS"))
    (fp_text value "5.1K" (at 0 1.43 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -0.825 0 270) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 2 "/CC1") (pintype "passive"))
    (pad "2" smd roundrect (at 0.825 0 270) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 1 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Resistor_SMD:R_0603_1608Metric" (layer "B.Cu")
    (at 154.35 77.25 -90)
    (descr "Resistor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "resistor")
    (property "Sheetfile" "USB-C 5V Power.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R2" (at 0 -0.01) (layer "B.SilkS"))
    (fp_text value "5.1K" (at 0 -1.43 90) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "B.Fab"))
    (pad "1" smd roundrect (at -0.825 0 270) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 4 "/CC2") (pintype "passive"))
    (pad "2" smd roundrect (at 0.825 0 270) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 1 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Resistor_SMD:R_0603_1608Metric" (layer "B.Cu")
    (at 145.65 77.25 -90)
    (descr "Resistor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "resistor")
    (property "Sheetfile" "USB-C 5V Power.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R1" (at 0 -0.01) (layer "B.SilkS"))
    (fp_text value "5.1K" (at 0 -1.43 90) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "B.Fab"))
    (pad "1" smd roundrect (at -0.825 0 270) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 2 "/CC1") (pintype "passive"))
    (pad "2" smd roundrect (at 0.825 0 270) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 1 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_rect (start 144.85 75.59) (end 155.15 85.02)
    (fill none) (layer "Edge.Cuts"))
  (gr_text "CC2" (at 150.5 80.8 -90) (layer "B.SilkS"))
  (gr_text "5V" (at 151.52 81.4 -90) (layer "B.SilkS"))
  (gr_text "${BoardVer}" (at 149.89 84.59) (layer "B.SilkS"))
  (gr_text "5V" (at 151.27 78.3 -180) (layer "B.SilkS"))
  (gr_text "5V" (at 148.48 81.4 -90) (layer "B.SilkS"))
  (gr_text "R1,R2=5.1K,0603\nOne side, not both" (at 150 83.4) (layer "B.SilkS"))
  (gr_text "GND" (at 147.23 80.8 -90) (layer "B.SilkS"))
  (gr_text "CC1" (at 149.49 80.8 -90) (layer "B.SilkS"))
  (gr_text "GND" (at 152.73 80.8 -90) (layer "B.SilkS"))
  (gr_text "GND" (at 148.73 78.3 -180) (layer "B.SilkS"))
  (gr_text "CC2" (at 150.5 80.8 90) (layer "F.SilkS"))
  (gr_text "${BoardVer}" (at 149.89 84.59) (layer "F.SilkS"))
  (gr_text "GND" (at 148.73 78.3 180) (layer "F.SilkS"))
  (gr_text "5V" (at 151.27 78.3 180) (layer "F.SilkS"))
  (gr_text "5V" (at 151.52 81.4 90) (layer "F.SilkS"))
  (gr_text "GND" (at 147.23 80.8 90) (layer "F.SilkS"))
  (gr_text "CC1" (at 149.49 80.8 90) (layer "F.SilkS"))
  (gr_text "5V" (at 148.48 81.4 90) (layer "F.SilkS"))
  (gr_text "GND" (at 152.73 80.8 90) (layer "F.SilkS"))
  (gr_text "R1,R2=5.1K,0603\nOne side, not both" (at 150 83.4) (layer "F.SilkS"))
  (zone (net 1) (net_name "GND") (layers "F&B.Cu") (hatch edge 0.5)
    (connect_pads (clearance 0.2))
    (min_thickness 0.2) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.5) (thermal_bridge_width 0.5))
    (polygon
      (pts
        (xy 144.89 75.59)
        (xy 144.9 85.01)
        (xy 155.1 85.01)
        (xy 155.11 75.59)
      )
    )
  )
)
