USB2SerialMux/pcb/USB2SerialMux.rules

84 lines
No EOL
2.5 KiB
Text
Executable file

(rules PCB USB2SerialMux
(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 4749)
(layer_rule F.Cu
(active on)
(preferred_direction horizontal)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 3.6)
)
(layer_rule B.Cu
(active on)
(preferred_direction vertical)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 1.4)
)
)
(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"
GND +5V +3V3 "/D-" /D+ "Net-(P1-Pad4)" "Net-(P3-Pad1)" "Net-(P3-Pad2)"
"Net-(P3-Pad3)" "Net-(P3-Pad4)" "Net-(P3-Pad5)" "Net-(P3-Pad6)" "Net-(P3-Pad7)" "Net-(P3-Pad8)" "Net-(P4-Pad1)" "Net-(P4-Pad2)"
"Net-(P4-Pad3)" "Net-(P4-Pad4)" "Net-(P4-Pad5)" "Net-(P4-Pad6)" "Net-(P4-Pad7)" "Net-(P4-Pad8)" "/TxD_RxD" "/RxD_TxD"
/S2 /S1 /S0 "Net-(C8-Pad2)" "Net-(C9-Pad2)" "Net-(C17-Pad2)" "Net-(P1-Pad2)" "Net-(P1-Pad3)"
/nE "Net-(U4-Pad1)" "Net-(U4-Pad12)" "Net-(U4-Pad18)" "Net-(U4-Pad19)" "Net-(U4-Pad22)" "Net-(U4-Pad25)" "Net-(U4-Pad26)"
"Net-(U4-Pad27)" "Net-(U4-Pad31)" "Net-(U4-Pad32)" "Net-(U4-Pad33)" "Net-(U4-Pad36)" "Net-(U4-Pad37)" "Net-(U4-Pad38)" "Net-(U4-Pad39)"
"Net-(U4-Pad40)" "Net-(U4-Pad41)" "Net-(D1-Pad1)" "Net-(D2-Pad1)" /LED1 /LED0 "Net-(R7-Pad1)" "Net-(R8-Pad1)"
"Net-(R9-Pad1)" "Net-(R10-Pad1)" "Net-(R11-Pad1)" "Net-(R12-Pad1)" "Net-(R13-Pad1)" "Net-(R14-Pad1)" "Net-(R15-Pad1)" "Net-(R16-Pad1)"
"Net-(R17-Pad1)" "Net-(R18-Pad1)" "Net-(R19-Pad1)" "Net-(R20-Pad1)" "Net-(R21-Pad1)" "Net-(R22-Pad1)" /RESET /MOSI
(clearance_class "kicad_default")
(via_rule kicad_default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
)