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.
 
 
 
 
 
 

206 lines
4.7 KiB

(rules PCB first_try
(snap_angle
fortyfive_degree
)
(autoroute_settings
(fanout on)
(eu.mihosoft.freerouting.autoroute on)
(postroute on)
(vias off)
(via_costs 50)
(plane_via_costs 5)
(start_ripup_costs 100)
(start_pass_no 135)
(layer_rule F.Cu
(active on)
(preferred_direction vertical)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 2.5)
)
(layer_rule B.Cu
(active on)
(preferred_direction horizontal)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 1.7)
)
)
(rule
(width 250.0)
(clear 400.2)
(clear 125.0 (type smd_to_turn_gap))
(clear 1200.2 (type default_"rf_signal"))
(clear 100.0 (type smd_smd))
(clear 1200.2 (type smd_"rf_signal"))
(clear 1200.2 (type "kicad_default"_"rf_signal"))
(clear 1200.2 (type gnd_"rf_signal"))
(clear 1200.2 (type "logic_signal"_"rf_signal"))
(clear 1200.2 (type power_"rf_signal"))
(clear 1200.2 (type "rf_signal"_"rf_signal"))
)
(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)
)
(padstack "Via[0-1]_1000:400_um"
(shape
(circle F.Cu 1000.0 0.0 0.0)
)
(shape
(circle B.Cu 1000.0 0.0 0.0)
)
(attach off)
)
(padstack "Via[0-1]_1500:400_um"
(shape
(circle F.Cu 1500.0 0.0 0.0)
)
(shape
(circle B.Cu 1500.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]_1000:400_um" "Via[0-1]_1000:400_um" default
)
(via
"Via[0-1]_1500:400_um" "Via[0-1]_1500:400_um" default
)
(via
"Via[0-1]_800:400_um-kicad_default" "Via[0-1]_800:400_um" "kicad_default"
)
(via
"Via[0-1]_1000:400_um-kicad_default" "Via[0-1]_1000:400_um" "kicad_default"
)
(via
"Via[0-1]_1500:400_um-kicad_default" "Via[0-1]_1500:400_um" "kicad_default"
)
(via
"Via[0-1]_800:400_um-gnd" "Via[0-1]_800:400_um" gnd
)
(via
"Via[0-1]_1000:400_um-gnd" "Via[0-1]_1000:400_um" gnd
)
(via
"Via[0-1]_1500:400_um-gnd" "Via[0-1]_1500:400_um" gnd
)
(via
"Via[0-1]_800:400_um-logic_signal" "Via[0-1]_800:400_um" "logic_signal"
)
(via
"Via[0-1]_1000:400_um-logic_signal" "Via[0-1]_1000:400_um" "logic_signal"
)
(via
"Via[0-1]_1500:400_um-logic_signal" "Via[0-1]_1500:400_um" "logic_signal"
)
(via
"Via[0-1]_800:400_um-power" "Via[0-1]_800:400_um" power
)
(via
"Via[0-1]_1000:400_um-power" "Via[0-1]_1000:400_um" power
)
(via
"Via[0-1]_1500:400_um-power" "Via[0-1]_1500:400_um" power
)
(via
"Via[0-1]_800:400_um-rf_signal" "Via[0-1]_800:400_um" "rf_signal"
)
(via
"Via[0-1]_1000:400_um-rf_signal" "Via[0-1]_1000:400_um" "rf_signal"
)
(via
"Via[0-1]_1500:400_um-rf_signal" "Via[0-1]_1500: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
gnd "Via[0-1]_1000:400_um-gnd"
)
(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]_1500: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 "Net-(A1-Pad27)" "Net-(A1-Pad24)" "Net-(A1-Pad23)" "Net-(K1-Pad1)" "Net-(K2-Pad1)" "Net-(K3-Pad1)" "Net-(K4-Pad1)"
"Net-(K5-Pad1)" "Net-(K6-Pad1)" "Net-(A1-Pad5)"
(clearance_class "kicad_default")
(via_rule kicad_default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class gnd
GND
(clearance_class gnd)
(via_rule gnd)
(rule
(width 1000.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
(clearance_class power)
(via_rule power)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class "rf_signal"
"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 1000.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
)