-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRadioHAT.kibot.yaml
More file actions
393 lines (361 loc) · 9.09 KB
/
Copy pathRadioHAT.kibot.yaml
File metadata and controls
393 lines (361 loc) · 9.09 KB
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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
kibot:
version: 1
preflight:
check_zone_fills: true
erc: true
drc:
enabled : true
ignore_unconnected: true
set_text_variables:
## Replace git hash inside schematic and pcb prints for revision tracking
- name: 'GITHASH'
command: 'git log -1 --format="%h"'
before: ''
after: ''
## Replace date in prints
- name: 'DATE'
command: 'date +"%Y-%m-%d"'
global:
## Set output directory
out_dir: generated
# Grouping of outputs
groups:
- name: fab
- name: assembly
- name: rendering
- name: doc
outputs:
- rendering
filters:
## Exclude test points and solder bridges from BoM but not the mounting holes
- name: 'exclude_test'
type: 'generic'
comment: 'Excludes test points and solder bridges'
exclude_any:
- column: References
regex: '^TP[0-9]*'
- column: References
regex: '^MH[0-9]*'
- column: Part
regex: 'solder.*bridge'
- column: Part
regex: 'solder.*jump'
- column: Part
regex: 'test.*point'
- column: Footprint
regex: 'test.*point'
outputs:
## PCB Manufacturing data
### Gerbers
- name: 'gerbers'
groups: fab
comment: "Gerbers for the board house"
type: gerber
dir: pcb_fabrication/gerbers
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: true
use_aux_axis_as_origin: true
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:
- 'copper'
- F.Mask
- B.Mask
- F.Silkscreen
- B.Silkscreen
- Edge.Cuts
### Gerbers of stencil
- name: 'gerbers_stencil_fab'
groups: fab
comment: "Gerbers of stencil for the assembly house"
type: gerber
dir: pcb_fabrication/gerbers
extends: gerbers
options:
variant: ''
layers:
- F.Paste
- B.Paste
### Drills
- name: drill
groups: fab
comment: Drill files
type: excellon
dir: pcb_fabrication/gerbers
options:
metric_units: true
pth_and_npth_single_file: false
use_aux_axis_as_origin: true
### Design report
- name: 'report'
groups: fab
comment: 'Design report for PCB manufacturer'
type: 'report'
dir: pcb_fabrication
### Fabrication options
- name: 'fab_options'
groups: fab
comment: "PCB fabrication options"
type: pcb_print
dir: pcb_fabrication
options:
format: 'PDF'
output: '%f_fabrication-options.%x'
force_edge_cuts: true
pages:
- layers:
- layer: User.Comments
color: '#000000'
monochrome: true
### Compressed archive of fabrication data
- name: pcb_fabrication_archive
groups: fab
comment: 'Generates an archive with all the manufacturing data for PCB production'
type: compress
options:
output: '%f-pcb_fabrication.%x'
files:
- from_output: drill
- from_output: gerbers
- from_output: gerbers_stencil_fab
- from_output: report
- from_output: fab_options
## PCB Assembly data
### Bill of Material in various formats
- name: 'bom_html'
groups: assembly
comment: "Bill of Materials in HTML format"
type: bom
dir: pcb_assembly/bom
options:
format: HTML
- name: 'bom_csv'
groups: assembly
comment: "Bill of Materials in CSV format"
type: bom
dir: pcb_assembly/bom
options:
format: CSV
csv:
hide_pcb_info: true
hide_stats_info: true
- name: 'bom_i'
groups: assembly
comment: "Bill of Materials in interactive HTML format"
type: ibom
dir: pcb_assembly/bom
options:
dark_mode: true
### Assembly drawings
- name: 'pcb_print'
groups: assembly
comment: "PCB PDF"
type: pcb_print
dir: pcb_assembly/position
options:
format: 'PDF'
output: '%f-%i%I%v.%x'
force_edge_cuts: true
pages:
- layers:
- layer: F.Fab
color: '#000000'
plot_footprint_values: false
monochrome: true
- layers:
- layer: B.Fab
color: '#000000'
plot_footprint_values: false
mirror: true
monochrome: true
### Pick and place position file
- name: 'pos'
groups: assembly
comment: 'Pick and place position file'
type: position
dir: pcb_assembly/position
options:
format: CSV
separate_files_for_front_and_back: true
units: 'millimeters'
use_aux_axis_as_origin: true
only_smd: false
exclude_filter: exclude_test
include_virtual: true
### Gerbers of stencil
- name: 'gerbers_stencil_assembly'
groups: assembly
comment: "Gerbers of stencil for the assembly house"
type: gerber
dir: pcb_assembly/stencil
extends: gerbers
options:
variant: ''
layers:
- F.Paste
- B.Paste
### Compressed archive of assembly data
- name: pcb_assembly_archive
groups: assembly
comment: 'Generates an archive with all the manufacturing data for PCB assembly'
type: compress
options:
output: '%f-pcb_assembly.%x'
files:
- from_output: pcb_print
- from_output: pos
- from_output: bom_csv
- from_output: bom_html
- from_output: bom_i
- from_output: gerbers_stencil_assembly
## Documentation data
### Schematics
- name: 'print_sch'
groups: doc
comment: "Schematic PDF"
type: pdf_sch_print
dir: pcb_documentation/electrical
### Mechanical dimensions
- name: 'dimensions_pdf'
groups: doc
comment: "Mechanical dimension PDF"
type: pcb_print
dir: pcb_documentation/mechanical
options:
format: 'PDF'
output: '%f_dimensions.%x'
force_edge_cuts: true
pages:
- layers:
- layer: User.Drawings
monochrome: true
- name: 'dimensions_dxf'
groups: doc
comment: "Mechanical dimension DXF"
type: dxf
dir: pcb_documentation/mechanical
layers:
- layer: Edge.Cuts
options:
drill_marks: full
metric_units: true
use_aux_axis_as_origin: true
### Step model
- name: step
groups: doc
run_by_default: false
comment: "3D STEP model of the PCB"
type: export_3d
dir: pcb_documentation/mechanical
options:
download: true
origin: 'grid'
metric_units: true
### 3D renders
- name: '3d-render-view'
groups: rendering
run_by_default: false
comment: "PCB 3d model image"
type: render_3d
dir: .
options:
view: 'top'
rotate_x: 6
rotate_z: -3
move_y: 2
zoom: 2
orthographic: false
transparent_background: true
show_silkscreen: true
auto_crop: true
ray_tracing: false
- name: '3d-render-top'
groups: rendering
run_by_default: false
comment: "PCB 3d model image"
type: render_3d
dir: pcb_documentation/renders
options:
view: 'top'
orthographic: true
transparent_background: true
show_silkscreen: false
zoom: 0
auto_crop: true
ray_tracing: true
- name: '3d-render-bot'
groups: rendering
run_by_default: false
comment: "PCB 3d model image"
type: render_3d
dir: pcb_documentation/renders
extends: '3d-render-top'
options:
view: 'bottom'
- name: '3d-render-left'
groups: rendering
run_by_default: false
comment: "PCB 3d model image"
type: render_3d
dir: pcb_documentation/renders
extends: '3d-render-top'
options:
view: 'left'
- name: '3d-render-right'
groups: rendering
run_by_default: false
comment: "PCB 3d model image"
type: render_3d
dir: pcb_documentation/renders
extends: '3d-render-top'
options:
view: 'right'
- name: '3d-render-front'
groups: rendering
run_by_default: false
comment: "PCB 3d model image"
type: render_3d
dir: pcb_documentation/renders
extends: '3d-render-top'
options:
view: 'front'
- name: '3d-render-rear'
groups: rendering
run_by_default: false
comment: "PCB 3d model image"
type: render_3d
dir: pcb_documentation/renders
extends: '3d-render-top'
options:
view: 'rear'
### Compressed archive of documentation data### Compressed archive of assembly data
- name: pcb_doc_archive
groups: doc
comment: 'Generates an archive with all the documentation data for the project'
type: compress
options:
output: '%f-pcb_doc.%x'
files:
- from_output: print_sch
- from_output: dimensions_pdf
- from_output: dimensions_dxf
- from_output: step
- from_output: 3d-render-top
- from_output: 3d-render-bot
- from_output: 3d-render-left
- from_output: 3d-render-right
- from_output: 3d-render-front
- from_output: 3d-render-rear