diff options
Diffstat (limited to 'ec-hardware.rules')
-rw-r--r-- | ec-hardware.rules | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/ec-hardware.rules b/ec-hardware.rules new file mode 100644 index 0000000..5107002 --- /dev/null +++ b/ec-hardware.rules @@ -0,0 +1,79 @@ + +(rules PCB ec-hardware + (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 32) + (layer_rule F.Cu + (active on) + (preferred_direction horizontal) + (preferred_direction_trace_costs 1.0) + (against_preferred_direction_trace_costs 2.0) + ) + (layer_rule B.Cu + (active off) + (preferred_direction horizontal) + (preferred_direction_trace_costs 1.0) + (against_preferred_direction_trace_costs 2.0) + ) + ) + (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) + ) + ) + (class "kicad_default" + GND "Net-(C1-Pad1)" "Net-(C1-Pad2)" "Net-(C2-Pad1)" "Net-(C3-Pad1)" "Net-(C3-Pad2)" "Net-(D1-Pad1)" "Net-(D3-Pad2)" + "Net-(P1-Pad1)" "Net-(P2-Pad1)" "Net-(R7-Pad1)" +5V "Net-(U1-Pad12)" "-5V" ECout "Net-(C5-Pad1)" + "Net-(C5-Pad2)" "Net-(P3-Pad6)" "Net-(P3-Pad5)" "Net-(P3-Pad3)" "Net-(P3-Pad4)" "Net-(P3-Pad7)" "Net-(P3-Pad8)" "Net-(P3-Pad9)" + "Net-(P3-Pad10)" + (clearance_class "kicad_default") + (via_rule kicad_default) + (rule + (width 250.0) + ) + (circuit + (use_layer F.Cu) + ) + ) +)
\ No newline at end of file |