-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.kibot.yaml
168 lines (152 loc) · 4.28 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
kibot:
version: 1
globals:
# Filters for KiBot warnings
filters:
- filter: Ignore missing KiCad config, not in docker images
number: 8
- filter: Ignore missing KiCad 3D models, not in docker images
number: 10
- filter: Ignore missing KiCad config from KiAuto, not in docker images
number: 58
regex: kicad_common.json
# This will undo the `set_text_variables` when we run it locally
restore_project: true
preflight:
update_xml: true
drc:
ignore_unconnected: false
variants:
- name: 'default'
comment: 'Default configuration'
type: kibom
file_id: _(default)
outputs:
- name: 'gerbers'
comment: 'Create the Gerber files for the board house'
type: gerber
dir: gerber_files
options:
# generic layer options
exclude_edge_layer: false
exclude_pads_from_silkscreen: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
use_aux_axis_as_origin: false
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: false
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
output: '%f-%i%I_%r.%x'
layers:
- 'F.Cu'
- 'B.Cu'
- 'F.Paste'
- 'B.Paste'
- 'F.Silkscreen'
- 'B.Silkscreen'
- 'F.Mask'
- 'B.Mask'
- 'User.Comments'
- 'User.Drawings'
- 'Edge.Cuts'
- 'F.Fab'
- 'B.Fab'
- name: 'excellon_drill'
comment: 'Create the Excellon drill files to go with the Gerber files'
type: excellon
dir: gerber_files
options:
metric_units: true
map:
type: ps
output: '%f-%i%I_%r.%x' # %i is defined by npth_id and pth_id
use_aux_axis_as_origin: false
pth_and_npth_single_file: false
zeros_format: 'DECIMAL_FORMAT'
npth_id: 'NPTH'
pth_id: 'PTH'
output: '%f-%i%I_%r.%x' # %i is defined by npth_id and pth_id
- name: 'position'
comment: 'Pick and place file'
type: position
dir: positiondir
options:
format: CSV # CSV or ASCII format
units: millimeters # millimeters or inches
separate_files_for_front_and_back: true
use_aux_axis_as_origin: true
output: '%f-%i%I_%r%v.%x'
- name: 'BOM'
comment: 'Generate bill of materials (BOM)'
type: kibom
dir: bom
options:
format: CSV
conf: 'bom.ini'
output: '%f_%I_%sr_(%V).%x' # Note: The %v replacement is broken, so use _(%V) for now
output_id: 'bom' # Used for the %I expansion int the output file name
- name: 'iBOM'
comment: 'Generate Interactive HTML BOM'
type: ibom
dir: bom
options:
dark_mode: false
blacklist: 'LOGO*,TP*,H*'
extra_fields: 'PN'
output: '%f_%I_%sr%v.%x'
highlight_pin1: true
output_id: 'ibom' # Used for the %I expansion int the output file name
- name: 'pdfs'
comment: "Create PDFs of the schematics"
type: pdf_sch_print
dir: schematics
options:
title: "+ (%V variant)"
output: '%f_%I_%sr%v.%x'
output_id: 'schematics' # Used for the %I expansion int the output file name
- name: 'compress_bom'
comment: 'Compress the BOM output'
type: compress
dir: bom_files_compressed
options:
files:
- from_output: BOM
- from_output: iBOM
output: '%I%v.%x'
output_id: 'bom' # Used for the %I expansion int the output file name
- name: 'compress_fab'
comment: 'Compress the fabrication output'
type: compress
dir: gerber_files_compressed
options:
files:
- from_output: gerbers
- from_output: excellon_drill
output: '%I%v.%x'
output_id: 'gerbers' # Used for the %I expansion int the output file name
- name: 'compress_position'
comment: "Compress the position files for assembly orders"
type: compress
dir: gerber_files_compressed
options:
files:
- from_output: position
output: '%I%v.%x'
output_id: 'pos' # Used for the %I expansion int the output file name
groups:
- name: fab
outputs:
- gerbers
- excellon_drill
- position
- name: bom
outputs:
- BOM
- iBOM