You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
2.8 KiB
128 lines
2.8 KiB
4 years ago
|
|
||
|
(rules PCB first_try
|
||
|
(snap_angle
|
||
|
fortyfive_degree
|
||
|
)
|
||
|
(autoroute_settings
|
||
|
(fanout off)
|
||
|
(eu.mihosoft.freerouting.autoroute on)
|
||
|
(postroute on)
|
||
|
(vias on)
|
||
|
(via_costs 50)
|
||
|
(plane_via_costs 5)
|
||
|
(start_ripup_costs 100)
|
||
|
(start_pass_no 160)
|
||
|
(layer_rule F.Cu
|
||
|
(active on)
|
||
|
(preferred_direction horizontal)
|
||
|
(preferred_direction_trace_costs 1.0)
|
||
|
(against_preferred_direction_trace_costs 2.3)
|
||
|
)
|
||
|
(layer_rule B.Cu
|
||
|
(active on)
|
||
|
(preferred_direction vertical)
|
||
|
(preferred_direction_trace_costs 1.0)
|
||
|
(against_preferred_direction_trace_costs 1.8)
|
||
|
)
|
||
|
)
|
||
|
(rule
|
||
|
(width 250.0)
|
||
|
(clear 400.2)
|
||
|
(clear 125.0 (type smd_to_turn_gap))
|
||
|
(clear 100.0 (type smd_smd))
|
||
|
)
|
||
|
(padstack "Via[0-1]_800:400_um"
|
||
|
(shape
|
||
|
(circle F.Cu 800.0 0.0 0.0)
|
||
|
)
|
||
|
(shape
|
||
|
(circle B.Cu 800.0 0.0 0.0)
|
||
|
)
|
||
|
(attach off)
|
||
|
)
|
||
|
(via
|
||
|
"Via[0-1]_800:400_um" "Via[0-1]_800:400_um" default
|
||
|
)
|
||
|
(via
|
||
|
"Via[0-1]_800:400_um-kicad_default" "Via[0-1]_800:400_um" "kicad_default"
|
||
|
)
|
||
|
(via
|
||
|
"Via[0-1]_800:400_um-logic_signal" "Via[0-1]_800:400_um" "logic_signal"
|
||
|
)
|
||
|
(via
|
||
|
"Via[0-1]_800:400_um-power" "Via[0-1]_800:400_um" power
|
||
|
)
|
||
|
(via
|
||
|
"Via[0-1]_800:400_um-rf_signal" "Via[0-1]_800:400_um" "rf_signal"
|
||
|
)
|
||
|
(via_rule
|
||
|
default "Via[0-1]_800:400_um"
|
||
|
)
|
||
|
(via_rule
|
||
|
"kicad_default" "Via[0-1]_800:400_um-kicad_default"
|
||
|
)
|
||
|
(via_rule
|
||
|
"logic_signal" "Via[0-1]_800:400_um-logic_signal"
|
||
|
)
|
||
|
(via_rule
|
||
|
power "Via[0-1]_800:400_um-power"
|
||
|
)
|
||
|
(via_rule
|
||
|
"rf_signal" "Via[0-1]_800:400_um-rf_signal"
|
||
|
)
|
||
|
(class default
|
||
|
(clearance_class default)
|
||
|
(via_rule default)
|
||
|
(rule
|
||
|
(width 250.0)
|
||
|
)
|
||
|
(circuit
|
||
|
(use_layer F.Cu B.Cu)
|
||
|
)
|
||
|
)
|
||
|
(class "kicad_default"
|
||
|
VCC
|
||
|
(clearance_class "kicad_default")
|
||
|
(via_rule kicad_default)
|
||
|
(rule
|
||
|
(width 250.0)
|
||
|
)
|
||
|
(circuit
|
||
|
(use_layer F.Cu B.Cu)
|
||
|
)
|
||
|
)
|
||
|
(class "logic_signal"
|
||
|
"Net-(A1-Pad11)" "Net-(A1-Pad10)" "Net-(A1-Pad9)" "Net-(A1-Pad8)" "Net-(A1-Pad7)" "Net-(A1-Pad6)"
|
||
|
(clearance_class "logic_signal")
|
||
|
(via_rule logic_signal)
|
||
|
(rule
|
||
|
(width 250.0)
|
||
|
)
|
||
|
(circuit
|
||
|
(use_layer F.Cu B.Cu)
|
||
|
)
|
||
|
)
|
||
|
(class power
|
||
|
"Net-(K1-Pad4)" "Net-(K2-Pad4)" "Net-(K3-Pad4)" "Net-(K4-Pad4)" "Net-(K5-Pad4)" "Net-(K6-Pad4)"
|
||
|
(clearance_class power)
|
||
|
(via_rule power)
|
||
|
(rule
|
||
|
(width 250.0)
|
||
|
)
|
||
|
(circuit
|
||
|
(use_layer F.Cu B.Cu)
|
||
|
)
|
||
|
)
|
||
|
(class "rf_signal"
|
||
|
GND "Net-(J_IN1-Pad1)" "Net-(J_IN2-Pad1)" "Net-(J_IN3-Pad1)" "Net-(J_OUT1-Pad1)" "Net-(J_OUT2-Pad1)" "Net-(J_OUT3-Pad1)" "Net-(K1-Pad8)"
|
||
|
"Net-(K3-Pad8)" "Net-(K5-Pad8)"
|
||
|
(clearance_class "rf_signal")
|
||
|
(via_rule rf_signal)
|
||
|
(rule
|
||
|
(width 500.0)
|
||
|
)
|
||
|
(circuit
|
||
|
(use_layer F.Cu B.Cu)
|
||
|
)
|
||
|
)
|
||
|
)
|