-
Notifications
You must be signed in to change notification settings - Fork 1
/
CheeseUnua.rules
117 lines (116 loc) · 2.9 KB
/
CheeseUnua.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
(rules PCB CheeseUnua
(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 2977)
(layer_rule F.Cu
(active on)
(preferred_direction horizontal)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 2.5)
)
(layer_rule B.Cu
(active on)
(preferred_direction vertical)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 1.7)
)
)
(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)
)
(padstack "Via[0-1]_900:400_um"
(shape
(circle F.Cu 900.0 0.0 0.0)
)
(shape
(circle B.Cu 900.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]_900:400_um" "Via[0-1]_900:400_um" default
)
(via
"Via[0-1]_600:400_um-kicad_default" "Via[0-1]_600:400_um" "kicad_default"
)
(via
"Via[0-1]_900:400_um-kicad_default" "Via[0-1]_900:400_um" "kicad_default"
)
(via
"Via[0-1]_600:400_um-POWER" "Via[0-1]_600:400_um" POWER
)
(via
"Via[0-1]_900:400_um-POWER" "Via[0-1]_900:400_um" POWER
)
(via_rule
default "Via[0-1]_600:400_um"
)
(via_rule
"kicad_default" "Via[0-1]_600:400_um-kicad_default"
)
(via_rule
POWER "Via[0-1]_900:400_um-POWER"
)
(class default
(clearance_class default)
(via_rule default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class "kicad_default"
"BATT_MONITOR" "Net-(C2-Pad1)" "MOTOR_RESET" +3.3VA "Net-(C10-Pad2)" "Net-(C9-Pad2)" "IR_SENSOR" LED
"Net-(D1-Pad2)" "Net-(D2-Pad2)" "Net-(D3-Pad2)" "Net-(D4-Pad1)" SWCLK SWDIO NRST RX
TX "Net-(J5-Pad1)" "Net-(J5-Pad3)" "Net-(J5-Pad4)" "Net-(J5-Pad6)" "LCD_RESET" "LCD_SCL" "LCD_SDA"
SW BUZZER "7SEG_A" "7SEG_B" "7SEG_C" "7SEG_D" "IR_LED" "MOTOR_CLK"
"7SEG_E" "7SEG_F" "7SEG_G" "7SEG_H" "MOTOR_MODE" "MOTOR_DIR" "Net-(L1-Pad2)" "Net-(Q1-Pad1)"
"Net-(Q2-Pad1)" "Net-(Q2-Pad3)" "Net-(R15-Pad1)" "Net-(R16-Pad1)" "Net-(R17-Pad1)" "Net-(R18-Pad1)" "Net-(R19-Pad1)" "Net-(R20-Pad1)"
"Net-(R21-Pad1)" "Net-(R22-Pad1)" "Net-(R23-Pad2)" "Net-(C3-Pad2)" "Net-(R3-Pad2)" "Net-(R11-Pad1)"
(clearance_class "kicad_default")
(via_rule kicad_default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class POWER
GND +3V3 +BATT /1.65V "Net-(F1-Pad1)" "Net-(F1-Pad2)" "Net-(J1-Pad1)" "Net-(J2-Pad1)"
(clearance_class POWER)
(via_rule POWER)
(rule
(width 500.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
)