Skip to content

Commit 1c7aa0d

Browse files
committed
Clean up BoM outputs.
1 parent 0823235 commit 1c7aa0d

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

Kicad/docs.kibot.yaml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ filters:
1515
- column: 'LCSC Part#'
1616
regex: '^C\d+'
1717

18+
- name: only_fitted_parts
19+
comment: 'Only parts that are not DNF'
20+
type: generic
21+
include_only:
22+
- column: 'DNP'
23+
regex: '^0'
24+
1825
variants:
1926
- name: rotated
2027
comment: 'Just a place holder for the rotation filter'
@@ -146,6 +153,63 @@ outputs:
146153
comment: "Generate bill-of-material file as CSV"
147154
type: bom
148155
options:
156+
exclude_filter: 'only_fitted_parts'
157+
group_fields:
158+
- 'Part'
159+
- 'Part Lib'
160+
- 'Value'
161+
- 'Voltage'
162+
- 'Tolerance'
163+
- 'Footprint'
164+
- 'Footprint Lib'
165+
columns:
166+
- field: Manufacturer
167+
name: Part Number
168+
join: ['mpn']
169+
- Footprint
170+
- References
171+
- Quantity per PCB
172+
- field: Value
173+
join: ['voltage', 'current', 'power', 'tolerance']
174+
- Footprint
175+
- field: 'LCSC Part#'
176+
name: LCSC
177+
- Digikey
178+
- Mouser
179+
output: '%f-bom-%r.%x'
180+
181+
- name: 'make_bom_html'
182+
comment: "Generate bill-of-material files as HTML"
183+
type: bom
184+
options:
185+
format: HTML
186+
exclude_filter: 'only_fitted_parts'
187+
html:
188+
datasheet_as_link: "Datasheet"
189+
digikey_link: "Digikey"
190+
title: "Neotron Pico Bill of Materials"
191+
group_fields:
192+
- 'Part'
193+
- 'Part Lib'
194+
- 'Value'
195+
- 'Voltage'
196+
- 'Tolerance'
197+
- 'Footprint'
198+
- 'Footprint Lib'
199+
columns:
200+
- Row
201+
- field: Manufacturer
202+
name: Part Number
203+
join: ['mpn']
204+
- References
205+
- Quantity per PCB
206+
- field: Value
207+
join: ['voltage', 'current', 'power', 'tolerance']
208+
- field: 'LCSC Part#'
209+
name: LCSC
210+
- Digikey
211+
- Mouser
212+
- Footprint
149213
output: '%f-bom-%r.%x'
150214

151215
- name: 'make_ibom'
@@ -182,6 +246,14 @@ outputs:
182246
comment: "Generate BoM, JLC style"
183247
type: bom
184248
options:
249+
group_fields:
250+
- 'Part'
251+
- 'Part Lib'
252+
- 'Value'
253+
- 'Voltage'
254+
- 'Tolerance'
255+
- 'Footprint'
256+
- 'Footprint Lib'
185257
output: '%f-bom-jlc-%r.%x'
186258
exclude_filter: 'only_jlc_parts'
187259
ref_separator: ','

0 commit comments

Comments
 (0)