
(rules PCB mmdvm_hs_dual_hat
  (snap_angle 
    fortyfive_degree
  )
  (autoroute_settings
    (fanout off)
    (autoroute on)
    (postroute on)
    (vias on)
    (via_costs 50)
    (plane_via_costs 5)
    (start_ripup_costs 100)
    (start_pass_no 2096)
    (layer_rule F.Cu
      (active on)
      (preferred_direction horizontal)
      (preferred_direction_trace_costs 1.0)
      (against_preferred_direction_trace_costs 2.2)
    )
    (layer_rule B.Cu
      (active on)
      (preferred_direction vertical)
      (preferred_direction_trace_costs 1.0)
      (against_preferred_direction_trace_costs 1.9)
    )
  )
  (rule
    (width 250.0)
    (clear 200.2)
    (clear 125.0 (type smd_to_turn_gap))
    (clear 50.0 (type smd_smd))
  )
  (padstack "Via[0-1]_600:400_um"
    (shape
      (circle F.Cu 600.0 0.0 0.0)
    )
    (shape
      (circle B.Cu 600.0 0.0 0.0)
    )
    (attach off)
  )
  (via 
    "Via[0-1]_600:400_um" "Via[0-1]_600:400_um" default
  )
  (via 
    "Via[0-1]_600:400_um-kicad_default" "Via[0-1]_600:400_um" "kicad_default"
  )
  (via_rule
    default "Via[0-1]_600:400_um"
  )
  (via_rule
    "kicad_default" "Via[0-1]_600:400_um-kicad_default"
  )
  (class default
    (clearance_class default)
    (via_rule default)
    (rule
      (width 250.0)
    )
    (circuit 
      (use_layer F.Cu B.Cu)
    )
  )
  (class "kicad_default"
    "Net-(J1-Pad38)" "Net-(C1-Pad1)" GND "Net-(C2-Pad1)" "Net-(C6-Pad1)" "Net-(C6-Pad2)" "Net-(C7-Pad1)" "Net-(C9-Pad1)"
    "Net-(C10-Pad2)" "Net-(C10-Pad1)" "Net-(C11-Pad1)" "Net-(C12-Pad1)" "Net-(C13-Pad1)" "Net-(C14-Pad1)" "Net-(C19-Pad1)" "Net-(C20-Pad1)"
    "Net-(C21-Pad1)" "Net-(C22-Pad1)" "Net-(C23-Pad1)" "Net-(C23-Pad2)" "Net-(C24-Pad1)" "Net-(C24-Pad2)" "Net-(C25-Pad1)" "Net-(C26-Pad1)"
    "Net-(C27-Pad1)" "Net-(C28-Pad1)" "Net-(C29-Pad2)" "Net-(C30-Pad2)" "Net-(C35-Pad2)" "Net-(C36-Pad2)" NRST +3V3
    SERVICE +5V SDA SCL RXD TXD "Net-(L1-Pad1)" "Net-(L2-Pad1)"
    "DISP_TXD" "DISP_RXD" SWDIO SWCLK BOOT0 "Net-(R2-Pad1)" "Net-(R3-Pad1)" "Net-(R4-Pad1)"
    DCLK2 "Net-(R12-Pad2)" DATA2 "Net-(R13-Pad2)" DCLK1 "Net-(R14-Pad2)" DATA1 "COS_LED"
    "PTT_LED" "DMR_LED" "DSTAR_LED" "YSF_LED" "P25_LED" CE SLE2 SDATA
    SREAD SCLK SLE1 "Net-(C40-Pad1)" "D-" D+ BOOT1 "NXDN_LED"
    "Net-(C33-Pad2)" "Net-(C34-Pad1)" "Net-(C47-Pad1)" "Net-(C48-Pad2)" "Net-(C49-Pad2)" "Net-(C50-Pad1)" "Net-(R1-Pad1)" "Net-(R11-Pad2)"
    "Net-(C33-Pad1)" "Net-(C34-Pad2)" "Net-(C41-Pad1)" "Net-(D1-Pad2)" "Net-(D2-Pad2)" "Net-(D3-Pad2)" "Net-(D4-Pad2)" "Net-(D5-Pad2)"
    "Net-(D6-Pad2)" "Net-(D7-Pad2)" "Net-(D8-Pad2)" "Net-(D0-Pad2)" "Net-(J1-Pad1)" "Net-(J1-Pad7)" "Net-(J1-Pad11)" "Net-(J1-Pad12)"
    "Net-(J1-Pad13)" "Net-(J1-Pad15)" "Net-(J1-Pad16)" "Net-(J1-Pad17)" "Net-(J1-Pad18)" "Net-(J1-Pad19)" "Net-(J1-Pad21)" "Net-(J1-Pad22)"
    "Net-(J1-Pad23)" "Net-(J1-Pad24)" "Net-(J1-Pad26)" "Net-(J1-Pad27)" "Net-(J1-Pad28)" "Net-(J1-Pad29)" "Net-(J1-Pad31)" "Net-(J1-Pad32)"
    "Net-(J1-Pad33)" "Net-(J1-Pad35)" "Net-(J1-Pad36)" "Net-(J1-Pad37)" "Net-(P8-Pad4)" "Net-(U1-Pad13)" "Net-(U1-Pad14)" "Net-(U1-Pad15)"
    "Net-(U1-Pad16)" "Net-(U1-Pad17)" "Net-(U1-Pad18)" "Net-(U1-Pad20)" "Net-(U1-Pad21)" "Net-(U1-Pad23)" "Net-(U1-Pad30)" "Net-(U1-Pad33)"
    "Net-(U1-Pad36)" "Net-(U1-Pad37)" "Net-(U1-Pad38)" "Net-(U1-Pad44)" "Net-(U1-Pad46)" "Net-(U2-Pad13)" "Net-(U2-Pad14)" "Net-(U2-Pad15)"
    "Net-(U2-Pad16)" "Net-(U2-Pad17)" "Net-(U2-Pad18)" "Net-(U2-Pad20)" "Net-(U2-Pad21)" "Net-(U2-Pad23)" "Net-(U2-Pad30)" "Net-(U2-Pad33)"
    "Net-(U2-Pad36)" "Net-(U2-Pad37)" "Net-(U2-Pad38)" "Net-(U2-Pad44)" "Net-(U2-Pad46)" "Net-(U3-Pad4)" "Net-(U3-Pad10)" "Net-(U3-Pad11)"
    "Net-(U3-Pad17)" "Net-(U3-Pad21)" "Net-(U3-Pad22)" "Net-(U3-Pad38)" "Net-(U3-Pad46)" "Net-(X1-Pad1)" "Net-(X2-Pad1)"
    (clearance_class "kicad_default")
    (via_rule kicad_default)
    (rule
      (width 250.0)
    )
    (circuit 
      (use_layer F.Cu B.Cu)
    )
  )
)