-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.kibot.yaml
212 lines (192 loc) · 4.38 KB
/
config.kibot.yaml
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# Example KiBot config file
kibot:
version: 1
preflight:
run_erc: true
run_drc: false
check_zone_fills: false
ignore_unconnected: false
global:
# We want the revision added to the names for this project
output: '%f-%i_%r.%x'
filters:
- name: 'exclude_any'
type: 'generic'
comment: 'Exclude logos, testpoints, fiducials and power'
exclude_any:
- column: Reference
regex: '^(G|#|TP|F).*'
outputs:
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: .
- name: 'print_front'
comment: "Print F.Cu+Dwgs.User"
type: pdf_pcb_print
dir: .
layers:
- layer: F.Cu
- layer: Dwgs.User
- name: 'print_in1'
comment: "Print In1.Cu+Dwgs.User"
type: pdf_pcb_print
dir: .
layers:
- layer: In1.Cu
- layer: Dwgs.User
- name: 'print_in2'
comment: "Print In2.Cu+Dwgs.User"
type: pdf_pcb_print
dir: .
layers:
- layer: In2.Cu
- layer: Dwgs.User
- name: 'print_bottom'
comment: "Print B.Cu+Dwgs.User"
type: pdf_pcb_print
dir: .
layers:
- layer: B.Cu
- layer: Dwgs.User
- name: 'interactive_bom'
comment: "Interactive Bill of Materials (HTML)"
type: ibom
dir: BoM
options:
blacklist: 'DNF*'
- name: 'bom_html'
comment: "Bill of Materials in HTML format"
type: bom
dir: BoM
options: &bom_options
columns:
- Row
- field: References
name: Referencias
- field: Part
name: Parte
- field: Value
name: Valor
- Footprint
- 'Quantity Per PCB'
group_fields: ['digikey#', 'Part']
normalize_values: true
normalize_locale: true
exclude_filter: 'exclude_any'
html:
digikey_link: 'digikey#'
highlight_empty: false
- name: 'bom_csv'
comment: "Bill of Materials in CSV format"
type: bom
dir: BoM
options:
<<: *bom_options
format: CSV
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: Gerbers
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
line_width: 0.1
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: true
use_gerber_x2_attributes: true
use_gerber_net_attributes: true
layers:
- layer: F.Cu
suffix: F_Cu
- layer: In1.Cu
suffix: In1_Cu
- layer: In2.Cu
suffix: In2_Cu
- layer: B.Cu
suffix: B_Cu
- layer: F.Paste
suffix: F_Paste
- layer: B.Paste
suffix: B_Paste
- layer: F.SilkS
suffix: F_SilkS
- layer: B.SilkS
suffix: B_SilkS
- layer: F.Mask
suffix: F_Mask
- layer: B.Mask
suffix: B_Mask
- layer: Dwgs.User
suffix: Dwgs_User
- layer: Edge.Cuts
suffix: Edge_Cuts
- layer: F.Fab
suffix: F_Fab
- layer: B.Fab
suffix: B_Fab
- name: pcb_top_g
comment: "PCB render top green"
type: pcbdraw
dir: PCB/green
options:
format: jpg
show_components: none
dpi: 600
- name: pcb_bot_g
comment: "PCB render bottom green"
type: pcbdraw
dir: PCB/green
options:
format: jpg
bottom: True
show_components: none
dpi: 600
- name: pcb_top_b
comment: "PCB render top blue"
type: pcbdraw
dir: PCB/blue
options:
format: jpg
style: set-blue-enig
show_components: none
dpi: 600
- name: pcb_bot_b
comment: "PCB render bottom blue"
type: pcbdraw
dir: PCB/blue
options:
format: jpg
style: set-blue-enig
bottom: True
show_components: none
dpi: 600
- name: pcb_top_r
comment: "PCB render top red"
type: pcbdraw
dir: PCB/red
options:
format: jpg
style: set-red-enig
show_components: none
dpi: 600
- name: pcb_bot_r
comment: "PCB render bottom red"
type: pcbdraw
dir: PCB/red
options:
format: jpg
style: set-red-enig
bottom: True
show_components: none
dpi: 600