(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
    (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 "")
    )
  )
  (net 0 "")
  (net 1 "Net-(Q1-C)")
  (net 2 "GND")
  (net 3 "Net-(J2-Pin_2)")
  (net 4 "Net-(J1-Pin_2)")
  (net 5 "Net-(J3-Pin_2)")
  (net 6 "Net-(Q1-E)")
  (net 7 "Net-(U2-Vref)")
  (net 8 "Net-(U2-Vcont)")
  (net 9 "Net-(J4-Pin_2)")
  (net 10 "Net-(U2-On{slash}Off)")
  (footprint "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" (layer "F.Cu")
    (at 180.578 74.422 180)
    (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (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 handsolder")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor, small US symbol")
    (property "ki_keywords" "r resistor")
    (attr smd)
    (fp_text reference "R2" (at 0 -1.65) (layer "F.SilkS"))
    (fp_text value "NC" (at 0 1.65) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1 0 180) (size 1.2 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333)
      (net 7 "Net-(U2-Vref)") (pintype "passive"))
    (pad "2" smd roundrect (at 1 0 180) (size 1.2 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333)
      (net 8 "Net-(U2-Vcont)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "HVPCBLib:HVSlot" (layer "F.Cu")
    (at 201.168 62.992 90)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr through_hole)
    (fp_text reference "H9" (at 0 -0.5 90 unlocked) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 1 90 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 90 unlocked) (layer "F.Fab"))
    (pad "" np_thru_hole oval (at 0 0 90) (size 1 0.1) (drill oval 5 0.508) (layers "F&B.Cu" "*.Mask")
      (solder_mask_margin 0.102))
  )
  (footprint "HVPCBLib:HV_Out" (layer "F.Cu")
    (at 219.202 48.928 180)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x02, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J4" (at 0 -7.968 90 unlocked) (layer "F.SilkS"))
    (fp_text value "Vout" (at 0 1 180 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 180 unlocked) (layer "F.Fab"))
    (pad "1" thru_hole circle (at 0 0 180) (size 2 2) (drill 1.3) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "Pin_1") (pintype "passive") (solder_mask_margin 0.102))
    (pad "2" thru_hole circle (at 0 -10.16 180) (size 2 2) (drill 1.3) (layers "*.Cu" "*.Mask")
      (net 9 "Net-(J4-Pin_2)") (pinfunction "Pin_2") (pintype "passive") (solder_mask_margin 0.102))
  )
  (footprint "HVPCBLib:HVSlot" (layer "F.Cu")
    (at 215.392 59.182 90)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr through_hole)
    (fp_text reference "H11" (at 0 -0.5 90 unlocked) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 1 90 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 90 unlocked) (layer "F.Fab"))
    (pad "" np_thru_hole oval (at 0 0 90) (size 1 0.1) (drill oval 5 0.508) (layers "F&B.Cu" "*.Mask")
      (solder_mask_margin 0.102))
  )
  (footprint "Capacitor_THT:CP_Radial_D8.0mm_P3.50mm" (layer "F.Cu")
    (at 186.746 51.054)
    (descr "CP, Radial series, Radial, pin pitch=3.50mm, , diameter=8mm, Electrolytic Capacitor")
    (tags "CP Radial series Radial pin pitch 3.50mm  diameter 8mm Electrolytic Capacitor")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Polarized capacitor, small US symbol")
    (property "ki_keywords" "cap capacitor")
    (attr through_hole)
    (fp_text reference "C1" (at 6.294 3.048) (layer "F.SilkS"))
    (fp_text value "47uF" (at 1.75 5.25) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.75 0) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0) (size 1.6 1.6) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 1 "Net-(Q1-C)") (pintype "passive"))
    (pad "2" thru_hole circle (at 3.5 0) (size 1.6 1.6) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_THT.3dshapes/CP_Radial_D8.0mm_P3.50mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "HVPCBLib:Fuse Hldr Keystone" (layer "F.Cu")
    (at 170.406 50.292)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Fuse, small symbol")
    (property "ki_keywords" "fuse")
    (attr through_hole)
    (fp_text reference "F1" (at -0.988 0 unlocked) (layer "F.SilkS"))
    (fp_text value "2A" (at 0 1 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab"))
    (pad "1" thru_hole circle (at -10.95 0) (size 1.75 1.75) (drill 1.3) (layers "*.Cu" "*.Mask")
      (net 3 "Net-(J2-Pin_2)") (pintype "passive") (solder_mask_margin 0.102))
    (pad "2" thru_hole circle (at 10.95 0) (size 1.75 1.75) (drill 1.3) (layers "*.Cu" "*.Mask")
      (net 1 "Net-(Q1-C)") (pintype "passive") (solder_mask_margin 0.102))
  )
  (footprint "TerminalBlock_TE-Connectivity:TerminalBlock_TE_282834-2_1x02_P2.54mm_Horizontal" (layer "F.Cu")
    (at 154.432 70.104 90)
    (descr "Terminal Block TE 282834-2, 2 pins, pitch 2.54mm, size 5.54x6.5mm^2, drill diamater 1.1mm, pad diameter 2.1mm, see http://www.te.com/commerce/DocumentDelivery/DDEController?Action=showdoc&DocId=Customer+Drawing%7F282834%7FC1%7Fpdf%7FEnglish%7FENG_CD_282834_C1.pdf, script-generated using https://github.com/pointhi/kicad-footprint-generator/scripts/TerminalBlock_TE-Connectivity")
    (tags "THT Terminal Block TE 282834-2 pitch 2.54mm size 5.54x6.5mm^2 drill 1.1mm pad 2.1mm")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "screw terminal")
    (attr through_hole)
    (fp_text reference "J1" (at -2.794 0 180) (layer "F.SilkS"))
    (fp_text value "RPi Enable" (at 1.27 4.37 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.27 2 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 90) (size 2.1 2.1) (drill 1.1) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole circle (at 2.54 0 90) (size 2.1 2.1) (drill 1.1) (layers "*.Cu" "*.Mask")
      (net 4 "Net-(J1-Pin_2)") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/TerminalBlock_TE-Connectivity.3dshapes/TerminalBlock_TE_282834-2_1x02_P2.54mm_Horizontal.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "HVPCBLib:HVSlot" (layer "F.Cu")
    (at 202.692 58.674)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr through_hole)
    (fp_text reference "H6" (at 0 -0.5 unlocked) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 1 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab"))
    (pad "" np_thru_hole oval (at 0 0) (size 1 0.1) (drill oval 5 0.508) (layers "F&B.Cu" "*.Mask")
      (solder_mask_margin 0.102))
  )
  (footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu")
    (at 208.026 77.978)
    (descr "Mounting Hole 3.2mm, no annular, M3")
    (tags "mounting hole 3.2mm no annular m3")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr exclude_from_pos_files)
    (fp_text reference "H2" (at 0 -4.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 4.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers "*.Cu" "*.Mask"))
  )
  (footprint "Package_SO:MFSOP6-4_4.4x3.6mm_P1.27mm" (layer "F.Cu")
    (at 164.846 61.62 -90)
    (descr "https://toshiba.semicon-storage.com/ap-en/design-support/package/detail.4pin%20MFSOP6.html")
    (tags "MFSOP 4 pin SMD")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "AC/DC Optocoupler, Vce 80V, CTR 50-100%, MFSOP6")
    (property "ki_keywords" "NPN AC DC Optocoupler")
    (attr smd)
    (fp_text reference "U1" (at 0.102 2.794 90) (layer "F.SilkS"))
    (fp_text value "TLP184" (at 0 2.921 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd rect (at -3.15 -1.27 270) (size 1.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 6 "Net-(Q1-E)") (pintype "passive"))
    (pad "3" smd rect (at -3.15 1.27 270) (size 1.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 2 "GND") (pintype "passive"))
    (pad "4" smd rect (at 3.15 1.27 270) (size 1.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 2 "GND") (pintype "passive"))
    (pad "6" smd rect (at 3.15 -1.27 270) (size 1.2 0.8) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 10 "Net-(U2-On{slash}Off)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Package_SO.3dshapes/MFSOP6-4_4.4x3.6mm_P1.27mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "HVPCBLib:HVSlot" (layer "F.Cu")
    (at 219.202 65.786)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr through_hole)
    (fp_text reference "H14" (at 0 -0.5 unlocked) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 1 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab"))
    (pad "" np_thru_hole oval (at 0 0) (size 1 0.1) (drill oval 5 0.508) (layers "F&B.Cu" "*.Mask")
      (solder_mask_margin 0.102))
  )
  (footprint "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" (layer "F.Cu")
    (at 185.166 75.422 -90)
    (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (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 handsolder")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor, small US symbol")
    (property "ki_keywords" "r resistor")
    (attr smd)
    (fp_text reference "R3" (at 0 -1.65 90) (layer "F.SilkS"))
    (fp_text value "NC" (at 0 1.65 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1 0 270) (size 1.2 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333)
      (net 8 "Net-(U2-Vcont)") (pintype "passive"))
    (pad "2" smd roundrect (at 1 0 270) (size 1.2 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal" (layer "F.Cu")
    (at 219.202 79.248 180)
    (descr "Resistor, Axial_DIN0204 series, Axial, Horizontal, pin pitch=5.08mm, 0.167W, length*diameter=3.6*1.6mm^2, http://cdn-reichelt.de/documents/datenblatt/B400/1_4W%23YAG.pdf")
    (tags "Resistor Axial_DIN0204 series Axial Horizontal pin pitch 5.08mm 0.167W length 3.6mm diameter 1.6mm")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor, small US symbol")
    (property "ki_keywords" "r resistor")
    (attr through_hole)
    (fp_text reference "R5" (at 2.54 -1.92) (layer "F.SilkS"))
    (fp_text value "1k" (at 2.54 1.92) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 2.54 0) (layer "F.Fab"))
    (pad "1" thru_hole circle (at 0 0 180) (size 1.4 1.4) (drill 0.7) (layers "*.Cu" "*.Mask")
      (net 5 "Net-(J3-Pin_2)") (pintype "passive"))
    (pad "2" thru_hole oval (at 5.08 0 180) (size 1.4 1.4) (drill 0.7) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_THT.3dshapes/R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu")
    (at 208.026 48.26)
    (descr "Mounting Hole 3.2mm, no annular, M3")
    (tags "mounting hole 3.2mm no annular m3")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr exclude_from_pos_files)
    (fp_text reference "H1" (at 0 -4.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 4.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers "*.Cu" "*.Mask"))
  )
  (footprint "TerminalBlock_TE-Connectivity:TerminalBlock_TE_282834-2_1x02_P2.54mm_Horizontal" (layer "F.Cu")
    (at 154.432 60.96 90)
    (descr "Terminal Block TE 282834-2, 2 pins, pitch 2.54mm, size 5.54x6.5mm^2, drill diamater 1.1mm, pad diameter 2.1mm, see http://www.te.com/commerce/DocumentDelivery/DDEController?Action=showdoc&DocId=Customer+Drawing%7F282834%7FC1%7Fpdf%7FEnglish%7FENG_CD_282834_C1.pdf, script-generated using https://github.com/pointhi/kicad-footprint-generator/scripts/TerminalBlock_TE-Connectivity")
    (tags "THT Terminal Block TE 282834-2 pitch 2.54mm size 5.54x6.5mm^2 drill 1.1mm pad 2.1mm")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "screw terminal")
    (attr through_hole)
    (fp_text reference "J2" (at -2.794 0 180) (layer "F.SilkS"))
    (fp_text value "12V DC" (at 1.27 4.37 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.27 2 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 90) (size 2.1 2.1) (drill 1.1) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole circle (at 2.54 0 90) (size 2.1 2.1) (drill 1.1) (layers "*.Cu" "*.Mask")
      (net 3 "Net-(J2-Pin_2)") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/TerminalBlock_TE-Connectivity.3dshapes/TerminalBlock_TE_282834-2_1x02_P2.54mm_Horizontal.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "HVPCBLib:HVSlot" (layer "F.Cu")
    (at 219.202 55.372)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr through_hole)
    (fp_text reference "H10" (at 0 -0.5 unlocked) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 1 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab"))
    (pad "" np_thru_hole oval (at 0 0) (size 1 0.1) (drill oval 5 0.508) (layers "F&B.Cu" "*.Mask")
      (solder_mask_margin 0.102))
  )
  (footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu")
    (at 153.924 77.978)
    (descr "Mounting Hole 3.2mm, no annular, M3")
    (tags "mounting hole 3.2mm no annular m3")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr exclude_from_pos_files)
    (fp_text reference "H4" (at 0 -4.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 4.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers "*.Cu" "*.Mask"))
  )
  (footprint "HVPCBLib:HVSlot" (layer "F.Cu")
    (at 215.392 66.802 -90)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr through_hole)
    (fp_text reference "H13" (at 0 -0.5 -90 unlocked) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 1 -90 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 -90 unlocked) (layer "F.Fab"))
    (pad "" np_thru_hole oval (at 0 0 270) (size 1 0.1) (drill oval 5 0.508) (layers "F&B.Cu" "*.Mask")
      (solder_mask_margin 0.102))
  )
  (footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu")
    (at 153.924 48.26)
    (descr "Mounting Hole 3.2mm, no annular, M3")
    (tags "mounting hole 3.2mm no annular m3")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr exclude_from_pos_files)
    (fp_text reference "H3" (at 0 -4.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 4.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers "*.Cu" "*.Mask"))
  )
  (footprint "Potentiometer_THT:Potentiometer_Vishay_T73XW_Horizontal" (layer "F.Cu")
    (at 175.26 77.47 -90)
    (descr "Potentiometer, horizontal, Vishay T73XW, http://www.vishay.com/docs/51016/t73.pdf")
    (tags "Potentiometer horizontal Vishay T73XW")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Potentiometer, US symbol")
    (property "ki_keywords" "resistor variable")
    (attr through_hole)
    (fp_text reference "RV1" (at 0 -2.01 90) (layer "F.SilkS"))
    (fp_text value "5k" (at 0 7.09 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.54 90) (layer "F.Fab"))
    (pad "1" thru_hole circle (at 0 0 270) (size 1.44 1.44) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 7 "Net-(U2-Vref)") (pinfunction "1") (pintype "passive"))
    (pad "2" thru_hole circle (at 0 2.54 270) (size 1.44 1.44) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 8 "Net-(U2-Vcont)") (pinfunction "2") (pintype "passive"))
    (pad "3" thru_hole circle (at 0 5.08 270) (size 1.44 1.44) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "3") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Potentiometer_THT.3dshapes/Potentiometer_Vishay_T73XW_Horizontal.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "HVPCBLib:TDK CHVM1R5" (layer "F.Cu")
    (at 189.484 62.992)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (attr through_hole)
    (fp_text reference "U2" (at 0 -0.5 unlocked) (layer "F.SilkS"))
    (fp_text value "~" (at 0 1 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab"))
    (pad "1" thru_hole circle (at -15.24 0) (size 1.75 1.75) (drill 1.2) (layers "*.Cu" "*.Mask")
      (net 1 "Net-(Q1-C)") (pinfunction "+Vin") (pintype "input") (solder_mask_margin 0.102))
    (pad "2" thru_hole circle (at -12.7 0) (size 1.75 1.75) (drill 1.2) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "-Vin") (pintype "input") (solder_mask_margin 0.102))
    (pad "3" thru_hole circle (at -10.16 0) (size 1.75 1.75) (drill 1.2) (layers "*.Cu" "*.Mask")
      (net 8 "Net-(U2-Vcont)") (pinfunction "Vcont") (pintype "input") (solder_mask_margin 0.102))
    (pad "4" thru_hole circle (at -7.62 0) (size 1.75 1.75) (drill 1.2) (layers "*.Cu" "*.Mask")
      (net 7 "Net-(U2-Vref)") (pinfunction "Vref") (pintype "input") (solder_mask_margin 0.102))
    (pad "5" thru_hole circle (at -5.08 0) (size 1.75 1.75) (drill 1.2) (layers "*.Cu" "*.Mask")
      (net 10 "Net-(U2-On{slash}Off)") (pinfunction "On/Off") (pintype "input") (solder_mask_margin 0.102))
    (pad "6" thru_hole circle (at 7.62 0) (size 1.75 1.75) (drill 1.2) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "Vout_(Com)") (pintype "output") (solder_mask_margin 0.102))
    (pad "7" thru_hole circle (at 15.24 0) (size 1.75 1.75) (drill 1.2) (layers "*.Cu" "*.Mask")
      (net 9 "Net-(J4-Pin_2)") (pinfunction "Vout") (pintype "output") (solder_mask_margin 0.102))
    (pad "8" thru_hole oval (at -17.75 8.75) (size 3.5 2.5) (drill oval 2.5 1.5) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "CASE") (pintype "passive") (solder_mask_margin 0.102))
    (pad "9" thru_hole oval (at 17.75 -6.75) (size 3.5 2.5) (drill oval 2.5 1.5) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "CASE") (pintype "passive") (solder_mask_margin 0.102))
  )
  (footprint "HVPCBLib:HVSlot" (layer "F.Cu")
    (at 206.248 65.786)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr through_hole)
    (fp_text reference "H7" (at 0 -0.5 unlocked) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 1 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab"))
    (pad "" np_thru_hole oval (at 0 0) (size 1 0.1) (drill oval 5 0.508) (layers "F&B.Cu" "*.Mask")
      (solder_mask_margin 0.102))
  )
  (footprint "Package_TO_SOT_THT:TO-92" (layer "F.Cu")
    (at 165.1 72.136 90)
    (descr "TO-92 leads molded, narrow, drill 0.75mm (see NXP sot054_po.pdf)")
    (tags "to-92 sc-43 sc-43a sot54 PA33 transistor")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "Sim.Device" "NPN")
    (property "Sim.Pins" "1=C 2=B 3=E")
    (property "Sim.Type" "GUMMELPOON")
    (property "ki_description" "Bipolar transistor symbol for simulation only, substrate tied to the emitter")
    (property "ki_keywords" "simulation")
    (attr through_hole)
    (fp_text reference "Q1" (at -2.286 -0.254 180) (layer "F.SilkS"))
    (fp_text value "NPN" (at 1.27 2.79 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.27 0 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 90) (size 1.3 1.3) (drill 0.75) (layers "*.Cu" "*.Mask")
      (net 1 "Net-(Q1-C)") (pinfunction "C") (pintype "open_collector"))
    (pad "2" thru_hole circle (at 1.27 -1.27 90) (size 1.3 1.3) (drill 0.75) (layers "*.Cu" "*.Mask")
      (net 4 "Net-(J1-Pin_2)") (pinfunction "B") (pintype "input"))
    (pad "3" thru_hole circle (at 2.54 0 90) (size 1.3 1.3) (drill 0.75) (layers "*.Cu" "*.Mask")
      (net 6 "Net-(Q1-E)") (pinfunction "E") (pintype "open_emitter"))
    (model "${KICAD6_3DMODEL_DIR}/Package_TO_SOT_THT.3dshapes/TO-92.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" (layer "F.Cu")
    (at 198.12 48.26)
    (descr "Through hole straight pin header, 1x01, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x01 2.54mm single row")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x01, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J5" (at 0 -2.33) (layer "F.SilkS"))
    (fp_text value "GND" (at 0 2.33) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "Pin_1") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x01_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" (layer "F.Cu")
    (at 162.56 77.216 -90)
    (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (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 handsolder")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor, small US symbol")
    (property "ki_keywords" "r resistor")
    (attr smd)
    (fp_text reference "R1" (at 0 -1.65 90) (layer "F.SilkS"))
    (fp_text value "10k" (at 0 1.65 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1 0 270) (size 1.2 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333)
      (net 4 "Net-(J1-Pin_2)") (pintype "passive"))
    (pad "2" smd roundrect (at 1 0 270) (size 1.2 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "HVPCBLib:HVSlot" (layer "F.Cu")
    (at 202.692 67.564)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr through_hole)
    (fp_text reference "H8" (at 0 -0.5 unlocked) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 1 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab"))
    (pad "" np_thru_hole oval (at 0 0) (size 1 0.1) (drill oval 5 0.508) (layers "F&B.Cu" "*.Mask")
      (solder_mask_margin 0.102))
  )
  (footprint "TerminalBlock_TE-Connectivity:TerminalBlock_TE_282834-2_1x02_P2.54mm_Horizontal" (layer "F.Cu")
    (at 195.58 76.708 180)
    (descr "Terminal Block TE 282834-2, 2 pins, pitch 2.54mm, size 5.54x6.5mm^2, drill diamater 1.1mm, pad diameter 2.1mm, see http://www.te.com/commerce/DocumentDelivery/DDEController?Action=showdoc&DocId=Customer+Drawing%7F282834%7FC1%7Fpdf%7FEnglish%7FENG_CD_282834_C1.pdf, script-generated using https://github.com/pointhi/kicad-footprint-generator/scripts/TerminalBlock_TE-Connectivity")
    (tags "THT Terminal Block TE 282834-2 pitch 2.54mm size 5.54x6.5mm^2 drill 1.1mm pad 2.1mm")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x02, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J3" (at -2.794 0 180) (layer "F.SilkS"))
    (fp_text value "Vmon" (at 1.27 4.37 180) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.27 2 180) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 180) (size 2.1 2.1) (drill 1.1) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole circle (at 2.54 0 180) (size 2.1 2.1) (drill 1.1) (layers "*.Cu" "*.Mask")
      (net 5 "Net-(J3-Pin_2)") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/TerminalBlock_TE-Connectivity.3dshapes/TerminalBlock_TE_282834-2_1x02_P2.54mm_Horizontal.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "HVPCBLib:HVSlot" (layer "F.Cu")
    (at 214.884 54.864 45)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr through_hole)
    (fp_text reference "H12" (at 0 -0.5 45 unlocked) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 1 45 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 45 unlocked) (layer "F.Fab"))
    (pad "" np_thru_hole oval (at 0 0 45) (size 1 0.1) (drill oval 5 0.508) (layers "F&B.Cu" "*.Mask")
      (solder_mask_margin 0.102))
  )
  (footprint "HVPCBLib:HVSlot" (layer "F.Cu")
    (at 206.248 60.198)
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr through_hole)
    (fp_text reference "H5" (at 0 -0.5 unlocked) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 1 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab"))
    (pad "" np_thru_hole oval (at 0 0) (size 1 0.1) (drill oval 5 0.508) (layers "F&B.Cu" "*.Mask")
      (solder_mask_margin 0.102))
  )
  (footprint "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" (layer "F.Cu")
    (at 219.202 62.992 -90)
    (descr "Resistor, Axial_DIN0309 series, Axial, Horizontal, pin pitch=12.7mm, 0.5W = 1/2W, length*diameter=9*3.2mm^2, http://cdn-reichelt.de/documents/datenblatt/B400/1_4W%23YAG.pdf")
    (tags "Resistor Axial_DIN0309 series Axial Horizontal pin pitch 12.7mm 0.5W = 1/2W length 9mm diameter 3.2mm")
    (property "Sheetfile" "HV_PCB.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor, small US symbol")
    (property "ki_keywords" "r resistor")
    (attr through_hole)
    (fp_text reference "R4" (at 8.89 2.794 90) (layer "F.SilkS"))
    (fp_text value "1M" (at 6.35 2.72 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 6.35 0 90) (layer "F.Fab"))
    (pad "1" thru_hole circle (at 0 0 270) (size 1.6 1.6) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 9 "Net-(J4-Pin_2)") (pintype "passive"))
    (pad "2" thru_hole oval (at 12.7 0 270) (size 1.6 1.6) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 5 "Net-(J3-Pin_2)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_THT.3dshapes/R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_rect (start 150.368 44.45) (end 221.996 81.788)
    (fill none) (layer "Edge.Cuts"))
  (gr_text "FUSE 2A" (at 160.528 56.642) (layer "F.SilkS"))
  (gr_text "Rad49 HV Board V1" (at 157.48 81.534) (layer "F.SilkS"))
  (gr_text "12VDC" (at 159.258 61.214 90) (layer "F.SilkS"))
  (gr_text "Mon 0-1V" (at 190.5 81.534) (layer "F.SilkS"))
  (gr_text "Control \n0-5V" (at 159.766 70.866 90) (layer "F.SilkS"))
  (gr_text "GND" (at 196.596 51.308) (layer "F.SilkS"))
  (gr_text "1M" (at 219.964 70.358 90) (layer "F.SilkS"))
  (gr_text "-HV" (at 217.678 60.96 90) (layer "F.SilkS"))
  (gr_text "GND" (at 217.678 50.546 90) (layer "F.SilkS"))
  (gr_text "1k" (at 215.9 79.756) (layer "F.SilkS"))
  (zone (net 2) (net_name "GND") (layer "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))
    (polygon
      (pts
        (xy 150.622 44.704)
        (xy 221.742 44.704)
        (xy 221.742 50.8)
        (xy 210.566 50.8)
        (xy 210.566 56.388)
        (xy 197.358 56.388)
        (xy 197.358 72.136)
        (xy 210.82 72.136)
        (xy 213.36 75.184)
        (xy 215.392 77.724)
        (xy 215.392 81.534)
        (xy 150.622 81.534)
      )
    )
  )
)
