(kicad_pcb (version 20220914) (generator pcbnew)
  (general
    (thickness 1)
  )
  (paper "A4")
  (layers
    (0 "F.Cu" signal)
    (1 "In1.Cu" signal)
    (2 "In2.Cu" signal)
    (31 "B.Cu" signal)
    (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)
    (58 "User.9" user "Fishpaper")
  )
  (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 "prepreg") (thickness 0.1) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "In1.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 2" (type "core") (thickness 0.64) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "In2.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 3" (type "prepreg") (thickness 0.1) (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 0x4000000_7ffffff8)
      (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 3)
      (mirror false)
      (drillshape 0)
      (scaleselection 1)
      (outputdirectory "")
    )
  )
  (net 0 "")
  (net 1 "Net-(Q2-C)")
  (net 2 "GND")
  (net 3 "Net-(U1-R)")
  (net 4 "Net-(C4-Pad2)")
  (net 5 "+12V")
  (net 6 "Net-(Q3-G)")
  (net 7 "Net-(Q3-S)")
  (net 8 "unconnected-(U1-Pad1)")
  (net 9 "unconnected-(U1-Pad2)")
  (net 10 "/1kV")
  (net 11 "Net-(R4-Pad1)")
  (net 12 "/500Vpp")
  (net 13 "/RoyerReg")
  (net 14 "Net-(Q2-B)")
  (net 15 "Net-(Q1-C)")
  (net 16 "Net-(Q1-E)")
  (net 17 "Net-(Q1-B)")
  (net 18 "Net-(R2-Pad2)")
  (footprint "alexisvl:NetTie-0.4mm" (layer "F.Cu")
    (at 150.8 111.4)
    (descr "Net tie, 2 pin, 0.4mm")
    (tags "net tie")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Inductor")
    (property "ki_keywords" "inductor choke coil reactor magnetic")
    (net_tie_pad_groups "1, 2")
    (fp_text reference "TW2" (at 0 -1.2) (layer "F.SilkS") hide)
    (fp_text value "2½T" (at 0 1.2) (layer "F.Fab") hide)
    (pad "1" smd circle (at -0.5 0) (size 0.4 0.4) (layers "F.Cu")
      (net 5 "+12V") (pinfunction "1") (pintype "passive"))
    (pad "2" smd circle (at 0.5 0) (size 0.4 0.4) (layers "F.Cu")
      (net 1 "Net-(Q2-C)") (pinfunction "2") (pintype "passive"))
  )
  (footprint "alexisvl:NetTie-0.4mm" (layer "F.Cu")
    (at 149.6 109.6)
    (descr "Net tie, 2 pin, 0.4mm")
    (tags "net tie")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Inductor")
    (property "ki_keywords" "inductor choke coil reactor magnetic")
    (net_tie_pad_groups "1, 2")
    (fp_text reference "TW1" (at 0 -1.2) (layer "F.SilkS") hide)
    (fp_text value "2½T" (at 0 1.2) (layer "F.Fab") hide)
    (pad "1" smd circle (at -0.5 0) (size 0.4 0.4) (layers "F.Cu")
      (net 15 "Net-(Q1-C)") (pinfunction "1") (pintype "passive"))
    (pad "2" smd circle (at 0.5 0) (size 0.4 0.4) (layers "F.Cu")
      (net 5 "+12V") (pinfunction "2") (pintype "passive"))
  )
  (footprint "MountingHole:MountingHole_2.2mm_M2" (layer "F.Cu")
    (at 165.4 111.4)
    (descr "Mounting Hole 2.2mm, no annular, M2")
    (tags "mounting hole 2.2mm no annular m2")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (fp_text reference "H3" (at 0 -3.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 3.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 2.2 2.2) (drill 2.2) (layers *.Cu *.Mask))
  )
  (footprint "MountingHole:MountingHole_2.2mm_M2" (layer "F.Cu")
    (at 165.4 76.1)
    (descr "Mounting Hole 2.2mm, no annular, M2")
    (tags "mounting hole 2.2mm no annular m2")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (fp_text reference "H2" (at 0 -3.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 3.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 2.2 2.2) (drill 2.2) (layers *.Cu *.Mask))
  )
  (footprint "MountingHole:MountingHole_2.2mm_M2" (layer "F.Cu")
    (at 134.6 111.4)
    (descr "Mounting Hole 2.2mm, no annular, M2")
    (tags "mounting hole 2.2mm no annular m2")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (fp_text reference "H4" (at 0 -3.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 3.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 2.2 2.2) (drill 2.2) (layers *.Cu *.Mask))
  )
  (footprint "alexisvl:NetTie-0.2mm-1mmClear" (layer "F.Cu")
    (at 142.9 91 90)
    (descr "1mm clearance between pads")
    (tags "net tie")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Inductor")
    (property "ki_keywords" "inductor choke coil reactor magnetic")
    (net_tie_pad_groups "1, 2")
    (fp_text reference "TW3" (at 0 -0.5 90 unlocked) (layer "F.SilkS") hide)
    (fp_text value "½T" (at 0 1 90 unlocked) (layer "F.Fab") hide)
    (pad "1" smd circle (at -0.6 0 90) (size 0.2 0.2) (layers "F.Cu")
      (net 17 "Net-(Q1-B)") (pinfunction "1") (pintype "passive"))
    (pad "2" smd circle (at 0.6 0 90) (size 0.2 0.2) (layers "F.Cu")
      (net 14 "Net-(Q2-B)") (pinfunction "2") (pintype "passive"))
  )
  (footprint "MountingHole:MountingHole_2.2mm_M2" (layer "F.Cu")
    (at 134.6 76.1)
    (descr "Mounting Hole 2.2mm, no annular, M2")
    (tags "mounting hole 2.2mm no annular m2")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (fp_text reference "H1" (at 0 -3.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 3.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 2.2 2.2) (drill 2.2) (layers *.Cu *.Mask))
  )
  (footprint "Potentiometer_SMD:Potentiometer_Bourns_TC33X_Vertical" (layer "B.Cu")
    (at 139.75 80.75)
    (descr "Potentiometer, Bourns, TC33X, Vertical, https://www.bourns.com/pdfs/TC33.pdf")
    (tags "Potentiometer Bourns TC33X Vertical")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Trim-potentiometer")
    (property "ki_keywords" "resistor variable trimpot trimmer")
    (attr smd)
    (fp_text reference "RV1" (at 0 2.5) (layer "B.SilkS") hide)
    (fp_text value "100k" (at 0 -2.5) (layer "B.Fab"))
    (fp_text user "Wiper may be\nanywhere within\ncircle shown" (at -0.15 0.8) (layer "Cmts.User"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab"))
    (pad "1" smd rect (at -1.8 1) (size 1.2 1.2) (layers "B.Cu" "B.Paste" "B.Mask")
      (net 11 "Net-(R4-Pad1)") (pinfunction "1") (pintype "passive"))
    (pad "2" smd rect (at 1.45 0) (size 1.5 1.6) (layers "B.Cu" "B.Paste" "B.Mask")
      (net 3 "Net-(U1-R)") (pinfunction "2") (pintype "passive"))
    (pad "3" smd rect (at -1.8 -1) (size 1.2 1.2) (layers "B.Cu" "B.Paste" "B.Mask")
      (net 18 "Net-(R2-Pad2)") (pinfunction "3") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Potentiometer_SMD.3dshapes/Potentiometer_Bourns_TC33X_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_0603_1608Metric" (layer "B.Cu")
    (at 141.5 89.5 90)
    (descr "Capacitor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "capacitor")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C5" (at 0 1.43 90) (layer "B.SilkS") hide)
    (fp_text value "220n" (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.775 0 90) (size 0.9 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 6 "Net-(Q3-G)") (pintype "passive"))
    (pad "2" smd roundrect (at 0.775 0 90) (size 0.9 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_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 138 89.5 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" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R6" (at 0 1.43 90) (layer "B.SilkS") hide)
    (fp_text value "15k" (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 90) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 5 "+12V") (pintype "passive"))
    (pad "2" smd roundrect (at 0.825 0 90) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 6 "Net-(Q3-G)") (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 "Inductor_SMD:L_Bourns_SRN6045TA" (layer "B.Cu")
    (at 145.8 84.25)
    (descr "http://www.bourns.com/docs/product-datasheets/srn6045ta.pdf")
    (tags "Semi-shielded Power Inductor")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Inductor with ferrite core")
    (property "ki_keywords" "inductor choke coil reactor magnetic")
    (attr smd)
    (fp_text reference "L1" (at 0 4.6 180) (layer "B.SilkS") hide)
    (fp_text value "220u" (at 0 -4.2 180) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 270) (layer "B.Fab"))
    (pad "1" smd rect (at -2.075 0) (size 2.35 5.1) (layers "B.Cu" "B.Paste" "B.Mask")
      (net 16 "Net-(Q1-E)") (pinfunction "1") (pintype "passive"))
    (pad "2" smd rect (at 2.075 0) (size 2.35 5.1) (layers "B.Cu" "B.Paste" "B.Mask")
      (net 13 "/RoyerReg") (pinfunction "2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Inductor_SMD.3dshapes/L_Bourns_SRN6045TA.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Resistor_SMD:R_1210_3225Metric" (layer "B.Cu")
    (at 151 83.9 90)
    (descr "Resistor SMD 1210 (3225 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" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R8" (at 0 2.28 90) (layer "B.SilkS") hide)
    (fp_text value "1r" (at 0 -2.28 90) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "B.Fab"))
    (pad "1" smd roundrect (at -1.4625 0 90) (size 1.125 2.65) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.222222)
      (net 7 "Net-(Q3-S)") (pintype "passive"))
    (pad "2" smd roundrect (at 1.4625 0 90) (size 1.125 2.65) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.222222)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_1210_3225Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_0805_2012Metric" (layer "B.Cu")
    (at 144.7 79.925)
    (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf, https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
    (tags "capacitor")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C2" (at 0 1.68) (layer "B.SilkS") hide)
    (fp_text value "1u" (at 0 -1.68) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab"))
    (pad "1" smd roundrect (at -0.95 0) (size 1 1.45) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 5 "+12V") (pintype "passive"))
    (pad "2" smd roundrect (at 0.95 0) (size 1 1.45) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_0603_1608Metric" (layer "B.Cu")
    (at 136.25 89.5 -90)
    (descr "Capacitor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "capacitor")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C4" (at 0 1.43 90) (layer "B.SilkS") hide)
    (fp_text value "390p" (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.775 0 270) (size 0.9 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 3 "Net-(U1-R)") (pintype "passive"))
    (pad "2" smd roundrect (at 0.775 0 270) (size 0.9 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 4 "Net-(C4-Pad2)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0603_1608Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "alexisvl:SOT-23" (layer "B.Cu")
    (at 148 89.25 -90)
    (descr "SOT-23, Standard")
    (tags "SOT-23")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "NPN transistor, base/emitter/collector")
    (property "ki_keywords" "transistor NPN")
    (attr smd)
    (fp_text reference "Q1" (at 0 2.5 90) (layer "B.SilkS") hide)
    (fp_text value "PBSS8110" (at 0 -2.5 90) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab"))
    (pad "1" smd roundrect (at -1 0.95 270) (size 1.2 0.8) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 17 "Net-(Q1-B)") (pinfunction "B") (pintype "input"))
    (pad "2" smd roundrect (at -1 -0.95 270) (size 1.2 0.8) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 16 "Net-(Q1-E)") (pinfunction "E") (pintype "passive"))
    (pad "3" smd roundrect (at 1 0 270) (size 1.2 0.8) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 15 "Net-(Q1-C)") (pinfunction "C") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-23.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_0805_2012Metric" (layer "B.Cu")
    (at 162.6 92.6 90)
    (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf, https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
    (tags "capacitor")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (zone_connect 1)
    (attr smd)
    (fp_text reference "C3" (at 0 1.68 90) (layer "B.SilkS") hide)
    (fp_text value "1u" (at 0 -1.68 90) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "B.Fab"))
    (pad "1" smd roundrect (at -0.95 0 90) (size 1 1.45) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 5 "+12V") (pintype "passive"))
    (pad "2" smd roundrect (at 0.95 0 90) (size 1 1.45) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 13 "/RoyerReg") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0805_2012Metric.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 137 83.5)
    (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" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R3" (at 0 1.43) (layer "B.SilkS") hide)
    (fp_text value "9k1" (at 0 -1.43) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab"))
    (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 18 "Net-(R2-Pad2)") (pintype "passive"))
    (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 2 "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 136.25 80.75 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" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R2" (at 0 1.43 90) (layer "B.SilkS") hide)
    (fp_text value "15k" (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 90) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 11 "Net-(R4-Pad1)") (pintype "passive"))
    (pad "2" smd roundrect (at 0.825 0 90) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 18 "Net-(R2-Pad2)") (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_0805_2012Metric" (layer "B.Cu")
    (at 136.25 93.4 -90)
    (descr "Resistor SMD 0805 (2012 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" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R7" (at 0 1.65 90) (layer "B.SilkS") hide)
    (fp_text value "1k" (at 0 -1.65 90) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "B.Fab"))
    (pad "1" smd roundrect (at -0.9125 0 270) (size 1.025 1.4) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.243902)
      (net 5 "+12V") (pintype "passive"))
    (pad "2" smd roundrect (at 0.9125 0 270) (size 1.025 1.4) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.243902)
      (net 17 "Net-(Q1-B)") (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 "Connector_JST:JST_XH_B8B-XH-A_1x08_P2.50mm_Vertical" (layer "B.Cu")
    (at 141.25 76.025)
    (descr "JST XH series connector, B8B-XH-A (http://www.jst-mfg.com/product/pdf/eng/eXH.pdf), generated with kicad-footprint-generator")
    (tags "connector JST XH vertical")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x08, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J1" (at 8.75 3.55 180) (layer "B.SilkS") hide)
    (fp_text value "Conn_01x08" (at 8.75 -4.6 180) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 8.75 -2.7 180) (layer "B.Fab"))
    (pad "" np_thru_hole circle (at 5 0) (size 0.95 0.95) (drill 0.95) (layers *.Mask))
    (pad "" np_thru_hole circle (at 7.5 0) (size 0.95 0.95) (drill 0.95) (layers F&B.Cu *.Mask))
    (pad "" np_thru_hole circle (at 12.5 0) (size 0.95 0.95) (drill 0.95) (layers *.Mask))
    (pad "" np_thru_hole circle (at 15 0) (size 0.95 0.95) (drill 0.95) (layers *.Mask))
    (pad "1" thru_hole roundrect (at 0 0) (size 1.7 1.95) (drill 0.95) (layers *.Cu *.Mask) (roundrect_rratio 0.147059)
      (net 5 "+12V") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 2.5 0) (size 1.7 1.95) (drill 0.95) (layers *.Cu *.Mask)
      (net 2 "GND") (pinfunction "Pin_2") (pintype "passive"))
    (pad "5" thru_hole oval (at 10 0) (size 1.7 1.95) (drill 0.95) (layers *.Cu *.Mask)
      (net 12 "/500Vpp") (pinfunction "Pin_5") (pintype "passive"))
    (pad "8" thru_hole oval (at 17.5 0) (size 1.7 1.95) (drill 0.95) (layers *.Cu *.Mask)
      (net 10 "/1kV") (pinfunction "Pin_8") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_JST.3dshapes/JST_XH_B8B-XH-A_1x08_P2.50mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "alexisvl:SOT-23" (layer "B.Cu")
    (at 144.5 89.25 -90)
    (descr "SOT-23, Standard")
    (tags "SOT-23")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "NPN transistor, base/emitter/collector")
    (property "ki_keywords" "transistor NPN")
    (attr smd)
    (fp_text reference "Q2" (at 0 2.5 90) (layer "B.SilkS") hide)
    (fp_text value "PBSS8110" (at 0 -2.5 90) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab"))
    (pad "1" smd roundrect (at -1 0.95 270) (size 1.2 0.8) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 14 "Net-(Q2-B)") (pinfunction "B") (pintype "input"))
    (pad "2" smd roundrect (at -1 -0.95 270) (size 1.2 0.8) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 16 "Net-(Q1-E)") (pinfunction "E") (pintype "passive"))
    (pad "3" smd roundrect (at 1 0 270) (size 1.2 0.8) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 1 "Net-(Q2-C)") (pinfunction "C") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-23.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 139.75 89.5 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" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R5" (at 0 1.43 90) (layer "B.SilkS") hide)
    (fp_text value "3M3" (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 90) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 4 "Net-(C4-Pad2)") (pintype "passive"))
    (pad "2" smd roundrect (at 0.825 0 90) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 6 "Net-(Q3-G)") (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 140.25 83.5)
    (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" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R4" (at 0 1.43) (layer "B.SilkS") hide)
    (fp_text value "100k" (at 0 -1.43) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab"))
    (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 11 "Net-(R4-Pad1)") (pintype "passive"))
    (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 3 "Net-(U1-R)") (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 "Package_TO_SOT_SMD:TO-252-2" (layer "B.Cu")
    (at 158.15 87.35)
    (descr "TO-252 / DPAK SMD package, http://www.infineon.com/cms/en/product/packages/PG-TO252/PG-TO252-3-1/")
    (tags "DPAK TO-252 DPAK-3 TO-252-3 SOT-428")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "N-MOSFET transistor, gate/drain/source")
    (property "ki_keywords" "transistor NMOS N-MOS N-MOSFET")
    (attr smd)
    (fp_text reference "Q3" (at 0 4.5) (layer "B.SilkS") hide)
    (fp_text value "PJD25N03" (at 0 -4.5) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab"))
    (pad "" smd rect (at 0.425 -1.525) (size 3.05 2.75) (layers "B.Paste"))
    (pad "" smd rect (at 0.425 1.525) (size 3.05 2.75) (layers "B.Paste"))
    (pad "" smd rect (at 3.775 -1.525) (size 3.05 2.75) (layers "B.Paste"))
    (pad "" smd rect (at 3.775 1.525) (size 3.05 2.75) (layers "B.Paste"))
    (pad "1" smd rect (at -4.2 2.28) (size 2.2 1.2) (layers "B.Cu" "B.Paste" "B.Mask")
      (net 6 "Net-(Q3-G)") (pinfunction "G") (pintype "input"))
    (pad "2" smd rect (at 2.1 0) (size 6.4 5.8) (layers "B.Cu" "B.Mask")
      (net 13 "/RoyerReg") (pinfunction "D") (pintype "passive"))
    (pad "3" smd rect (at -4.2 -2.28) (size 2.2 1.2) (layers "B.Cu" "B.Paste" "B.Mask")
      (net 7 "Net-(Q3-S)") (pinfunction "S") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/TO-252-2.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_1206_3216Metric" (layer "B.Cu")
    (at 151.25 88.5 -90)
    (descr "Capacitor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "capacitor")
    (property "MPN" "C1206C473J1GEC7210")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C1" (at 0 1.85 -270) (layer "B.SilkS") hide)
    (fp_text value "15n" (at 0 -1.85 -270) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 -270) (layer "B.Fab"))
    (pad "1" smd roundrect (at -1.475 0 270) (size 1.15 1.8) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.217391)
      (net 15 "Net-(Q1-C)") (pintype "passive"))
    (pad "2" smd roundrect (at 1.475 0 270) (size 1.15 1.8) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.217391)
      (net 1 "Net-(Q2-C)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_1206_3216Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Package_TO_SOT_SMD:SOT-23-5" (layer "B.Cu")
    (at 137.5 86 180)
    (descr "SOT, 5 Pin (https://www.jedec.org/sites/default/files/docs/Mo-178c.PDF variant AA), generated with kicad-footprint-generator ipc_gullwing_generator.py")
    (tags "SOT TO_SOT_SMD")
    (property "MFR" "onsemi")
    (property "MPN" "TLV431BSNT1G")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Voltage reference, 2.5V shunt")
    (attr smd)
    (fp_text reference "U1" (at 0 2.4) (layer "B.SilkS") hide)
    (fp_text value "TLV431" (at 0 -2.4) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab"))
    (pad "1" smd roundrect (at -1.1375 0.95 180) (size 1.325 0.6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 8 "unconnected-(U1-Pad1)") (pintype "no_connect"))
    (pad "2" smd roundrect (at -1.1375 0 180) (size 1.325 0.6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 9 "unconnected-(U1-Pad2)") (pintype "no_connect"))
    (pad "3" smd roundrect (at -1.1375 -0.95 180) (size 1.325 0.6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 6 "Net-(Q3-G)") (pinfunction "K") (pintype "passive"))
    (pad "4" smd roundrect (at 1.1375 -0.95 180) (size 1.325 0.6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 3 "Net-(U1-R)") (pinfunction "R") (pintype "input"))
    (pad "5" smd roundrect (at 1.1375 0.95 180) (size 1.325 0.6) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pinfunction "A") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-23-5.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Resistor_SMD:R_2010_5025Metric" (layer "B.Cu")
    (at 156.5 81.1 -160)
    (descr "Resistor SMD 2010 (5025 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 "MFR" "Bourns Inc.")
    (property "MPN" "CHV2010-FX-1005ELF")
    (property "Sheetfile" "File: minikv_primary.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R1" (at 0.5 2.28 20) (layer "B.SilkS") hide)
    (fp_text value "10M" (at 0 -2.28 20) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 20) (layer "B.Fab"))
    (pad "1" smd roundrect (at -2.3125 0 200) (size 1.225 2.65) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.204082)
      (net 10 "/1kV") (pintype "passive"))
    (pad "2" smd roundrect (at 2.3125 0 200) (size 1.225 2.65) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.204082)
      (net 11 "Net-(R4-Pad1)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_2010_5025Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_line (start 138.95 74) (end 134.6 74)
    (layer "Edge.Cuts"))
  (gr_line (start 136.1 101.5) (end 138.1 101.5)
    (layer "Edge.Cuts"))
  (gr_arc (start 157.9 92.1) (mid 158.046447 91.746447) (end 158.4 91.6)
    (layer "Edge.Cuts"))
  (gr_line (start 139.1 91.6) (end 141.6 91.6)
    (layer "Edge.Cuts"))
  (gr_line (start 160.9 108.4) (end 158.4 108.4)
    (layer "Edge.Cuts"))
  (gr_arc (start 161.4 107.9) (mid 161.253553 108.253553) (end 160.9 108.4)
    (layer "Edge.Cuts"))
  (gr_line (start 135.6 99) (end 135.6 101)
    (layer "Edge.Cuts"))
  (gr_arc (start 134.6 113.5) (mid 133.115076 112.884924) (end 132.5 111.4)
    (layer "Edge.Cuts"))
  (gr_arc (start 153 107.9) (mid 152.853553 108.253553) (end 152.5 108.4)
    (layer "Edge.Cuts"))
  (gr_arc (start 142.1 107.9) (mid 141.953553 108.253553) (end 141.6 108.4)
    (layer "Edge.Cuts"))
  (gr_line (start 164.4 99) (end 164.4 101)
    (layer "Edge.Cuts"))
  (gr_line (start 163.9 101.5) (end 161.9 101.5)
    (layer "Edge.Cuts"))
  (gr_line (start 147 92.1) (end 147 107.9)
    (layer "Edge.Cuts"))
  (gr_arc (start 138.6 98) (mid 138.453553 98.353553) (end 138.1 98.5)
    (layer "Edge.Cuts"))
  (gr_arc (start 165.4 74) (mid 166.884924 74.615076) (end 167.5 76.1)
    (layer "Edge.Cuts"))
  (gr_line (start 141.6 108.4) (end 139.1 108.4)
    (layer "Edge.Cuts"))
  (gr_line (start 161.4 102) (end 161.4 107.9)
    (layer "Edge.Cuts"))
  (gr_line (start 138.6 98) (end 138.6 92.1)
    (layer "Edge.Cuts"))
  (gr_line (start 161.9 98.5) (end 163.9 98.5)
    (layer "Edge.Cuts"))
  (gr_line (start 138.1 98.5) (end 136.1 98.5)
    (layer "Edge.Cuts"))
  (gr_line (start 138.6 107.9) (end 138.6 102)
    (layer "Edge.Cuts"))
  (gr_line (start 158.4 91.6) (end 160.9 91.6)
    (layer "Edge.Cuts"))
  (gr_line (start 167.5 76.1) (end 167.5 111.4)
    (layer "Edge.Cuts"))
  (gr_arc (start 147 92.1) (mid 147.146447 91.746447) (end 147.5 91.6)
    (layer "Edge.Cuts"))
  (gr_arc (start 147.5 108.4) (mid 147.146447 108.253553) (end 147 107.9)
    (layer "Edge.Cuts"))
  (gr_arc (start 139.1 108.4) (mid 138.746447 108.253553) (end 138.6 107.9)
    (layer "Edge.Cuts"))
  (gr_arc (start 161.9 98.5) (mid 161.546447 98.353553) (end 161.4 98)
    (layer "Edge.Cuts"))
  (gr_arc (start 160.9 91.6) (mid 161.253553 91.746447) (end 161.4 92.1)
    (layer "Edge.Cuts"))
  (gr_arc (start 141.6 91.6) (mid 141.953553 91.746447) (end 142.1 92.1)
    (layer "Edge.Cuts"))
  (gr_arc (start 132.5 76.1) (mid 133.115076 74.615076) (end 134.6 74)
    (layer "Edge.Cuts"))
  (gr_line (start 147.5 108.4) (end 152.5 108.4)
    (layer "Edge.Cuts"))
  (gr_arc (start 140.35 74) (mid 139.65 74.7) (end 138.95 74)
    (layer "Edge.Cuts"))
  (gr_line (start 153 107.9) (end 153 92.1)
    (layer "Edge.Cuts"))
  (gr_arc (start 136.1 101.5) (mid 135.746447 101.353553) (end 135.6 101)
    (layer "Edge.Cuts"))
  (gr_line (start 140.35 74) (end 165.4 74)
    (layer "Edge.Cuts"))
  (gr_line (start 157.9 107.9) (end 157.9 92.1)
    (layer "Edge.Cuts"))
  (gr_line (start 165.4 113.5) (end 134.6 113.5)
    (layer "Edge.Cuts"))
  (gr_arc (start 135.6 99) (mid 135.746447 98.646447) (end 136.1 98.5)
    (layer "Edge.Cuts"))
  (gr_line (start 161.4 92.1) (end 161.4 98)
    (layer "Edge.Cuts"))
  (gr_arc (start 152.5 91.6) (mid 152.853553 91.746447) (end 153 92.1)
    (layer "Edge.Cuts"))
  (gr_arc (start 158.4 108.4) (mid 158.046447 108.253553) (end 157.9 107.9)
    (layer "Edge.Cuts"))
  (gr_arc (start 138.1 101.5) (mid 138.453553 101.646447) (end 138.6 102)
    (layer "Edge.Cuts"))
  (gr_arc (start 163.9 98.5) (mid 164.253553 98.646447) (end 164.4 99)
    (layer "Edge.Cuts"))
  (gr_arc (start 164.4 101) (mid 164.253553 101.353553) (end 163.9 101.5)
    (layer "Edge.Cuts"))
  (gr_line (start 132.5 111.4) (end 132.5 76.1)
    (layer "Edge.Cuts"))
  (gr_arc (start 161.4 102) (mid 161.546447 101.646447) (end 161.9 101.5)
    (layer "Edge.Cuts"))
  (gr_arc (start 138.6 92.1) (mid 138.746447 91.746447) (end 139.1 91.6)
    (layer "Edge.Cuts"))
  (gr_arc (start 167.5 111.4) (mid 166.884924 112.884924) (end 165.4 113.5)
    (layer "Edge.Cuts"))
  (gr_line (start 142.1 92.1) (end 142.1 107.9)
    (layer "Edge.Cuts"))
  (gr_line (start 152.5 91.6) (end 147.5 91.6)
    (layer "Edge.Cuts"))
  (gr_text "NO METAL SCREWS — DANGER — HIGH VOLTAGE" (at 134.25 93.75 90) (layer "B.SilkS"))
  (gr_text "regulated kilovolt power supply" (at 150 112.75) (layer "B.SilkS"))
  (gr_text "minikv" (at 150 111.5) (layer "B.SilkS"))
  (gr_text "600-1000V 5mA / 1000-1200V 3mA" (at 166.75 93.75 90) (layer "B.SilkS"))
  (gr_text "minikv regulator board" (at 150 110.25) (layer "F.SilkS"))
  (gr_text "DANGER! FOLLOW ALL ASSEMBLY\nAND OPERATION INSTRUCTIONS CAREFULLY" (at 149.75 87.5) (layer "F.SilkS"))
  (gr_text "public domain" (at 150 112.75) (layer "F.SilkS"))
  (gr_text "alexisvl.rocks/projects/minikv" (at 150 111.5) (layer "F.SilkS"))
  (dimension (type aligned) (layer "Dwgs.User")
    (pts (xy 132.5 113.5) (xy 167.5 113.5))
    (height 4)
    (gr_text "35.0000 mm" (at 150 116.35) (layer "Dwgs.User"))
    (format (units 3) (units_format 1) (precision 4))
    (style (thickness 0.15) (arrow_length 1.27) (text_position_mode 0) (extension_height 0.58642) (extension_offset 0.5) keep_text_aligned)
  )
  (dimension (type aligned) (layer "Dwgs.User")
    (pts (xy 167.5 74) (xy 167.5 113.5))
    (height -5)
    (gr_text "39.5000 mm" (at 171.35 93.75 90) (layer "Dwgs.User"))
    (format (units 3) (units_format 1) (precision 4))
    (style (thickness 0.15) (arrow_length 1.27) (text_position_mode 0) (extension_height 0.58642) (extension_offset 0.5) keep_text_aligned)
  )
  (zone (net 13) (net_name "/RoyerReg") (layer "F.Cu") (hatch edge 0.508)
    (priority 1)
    (connect_pads (clearance 0.25))
    (min_thickness 0.254) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508) (island_removal_mode 0) (island_area_min 10))
    (polygon
      (pts
        (xy 147 80)
        (xy 163.5 80)
        (xy 163.5 90.5)
        (xy 158.5 90.5)
        (xy 154.5 84.5)
        (xy 140.5 84.5)
        (xy 140.5 89.5)
        (xy 134.5 89.5)
        (xy 134.5 74)
        (xy 147 74)
      )
    )
  )
  (zone (net 2) (net_name "GND") (layer "In1.Cu") (hatch edge 0.508)
    (connect_pads (clearance 0.25))
    (min_thickness 0.254) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508) (island_removal_mode 0) (island_area_min 10))
    (polygon
      (pts
        (xy 167.5 113.5)
        (xy 132.5 113.5)
        (xy 132.5 108.75)
        (xy 158.75 108.75)
        (xy 158.75 107.75)
        (xy 132.5 107.75)
        (xy 132.5 74)
        (xy 167.5 74)
      )
    )
  )
  (zone (net 0) (net_name "") (layers "In1.Cu" "In2.Cu") (hatch edge 0.508)
    (connect_pads (clearance 0))
    (min_thickness 0.254) (filled_areas_thickness no)
    (keepout (tracks allowed) (vias allowed) (pads allowed) (copperpour not_allowed) (footprints allowed))
    (fill (thermal_gap 0.508) (thermal_bridge_width 0.508) (island_removal_mode 0) (island_area_min 10))
    (polygon
      (pts
        (xy 162 83.5)
        (xy 155.5 83.5)
        (xy 155.5 74)
        (xy 162 74)
      )
    )
  )
  (zone (net 13) (net_name "/RoyerReg") (layer "In2.Cu") (hatch edge 0.508)
    (priority 1)
    (connect_pads (clearance 0.25))
    (min_thickness 0.254) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508) (smoothing fillet) (radius 1) (island_removal_mode 0) (island_area_min 10))
    (polygon
      (pts
        (xy 148.5 80)
        (xy 163.5 80)
        (xy 163.5 90.5)
        (xy 156.5 90.5)
        (xy 152 83)
        (xy 145.25 83)
        (xy 145.25 74.5)
        (xy 148.5 74.5)
      )
    )
  )
  (zone (net 5) (net_name "+12V") (layer "In2.Cu") (hatch edge 0.508)
    (connect_pads (clearance 0.25))
    (min_thickness 0.254) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508) (island_removal_mode 0) (island_area_min 10))
    (polygon
      (pts
        (xy 167.5 113.5)
        (xy 132.5 113.5)
        (xy 132.5 108.75)
        (xy 156.25 108.75)
        (xy 158.75 108.75)
        (xy 158.75 107.75)
        (xy 132.5 107.75)
        (xy 132.5 74)
        (xy 167.5 74)
      )
    )
  )
  (zone (net 16) (net_name "Net-(Q1-E)") (layer "B.Cu") (hatch edge 0.508)
    (priority 2)
    (connect_pads yes (clearance 0.25))
    (min_thickness 0.254) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508) (island_removal_mode 0) (island_area_min 10))
    (polygon
      (pts
        (xy 144.75 86.5)
        (xy 141 86.5)
        (xy 141 84.5)
        (xy 142 84.5)
        (xy 142 82.75)
        (xy 144.75 82.75)
      )
    )
  )
  (zone (net 13) (net_name "/RoyerReg") (layer "B.Cu") (hatch edge 0.508)
    (priority 1)
    (connect_pads yes (clearance 1))
    (min_thickness 0.254) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508) (island_removal_mode 0) (island_area_min 10))
    (polygon
      (pts
        (xy 167 107.75)
        (xy 161.75 107.75)
        (xy 161.75 90)
        (xy 157.25 90)
        (xy 157.25 84.75)
        (xy 167 84.75)
      )
    )
  )
)
