@@ -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+
1825variants :
1926 - name : rotated
2027 comment : ' Just a place holder for the rotation filter'
@@ -31,14 +38,13 @@ preflight:
3138
3239outputs :
3340 # For more information: https://github.com/INTI-CMNB/KiBoM
34- - name : ' generic Schematic PDF '
41+ - name : ' generic_sch_pdf '
3542 comment : " Print the schematic as a PDF"
3643 type : pdf_sch_print
37- dir : pdfs
3844 options :
3945 output : ' %f-schematic-%r.%x'
4046
41- - name : ' generate gerbers '
47+ - name : ' make_gerbers '
4248 comment : " Generate gerber files"
4349 type : gerber
4450 layers :
@@ -74,17 +80,17 @@ outputs:
7480 use_gerber_x2_attributes : true
7581 use_gerber_net_attributes : false
7682
77- - name : ' generate drills '
83+ - name : ' make_drills '
7884 comment : " Generate drill files"
7985 type : excellon
8086 dir : gerbers
8187
82- - name : ' ascii position '
88+ - name : ' make_ascii_position '
8389 comment : " Generate XY position files in ASCII"
8490 type : position
8591 dir : gerbers
8692
87- - name : ' generate PCB DXF '
93+ - name : ' make_dxf '
8894 comment : " Generate 2D PCB CAD in DXF format"
8995 type : dxf
9096 layers :
@@ -104,29 +110,28 @@ outputs:
104110 exclude_edge_layer : false
105111 metric_units : true
106112
107- - name : ' generate SVG '
113+ - name : ' make_svg '
108114 comment : " Generate 2D PCB image in SVG format"
109115 type : pcbdraw
110116 options :
111117 output : ' %f-pcb-%r.%x'
112118
113- - name : ' generate PNG '
119+ - name : ' make_png '
114120 comment : " Generate 2D PCB image in PNG format"
115121 type : pcbdraw
116122 options :
117123 output : ' %f-pcb-%r.%x'
118124 format : png
119125
120- - name : ' generate 3D model '
126+ - name : ' make_step '
121127 comment : " Generate 3D PCB model in STEP format"
122128 type : step
123129 options :
124130 output : ' %f-3d-%r.%x'
125131
126- - name : ' generate PCB PDF '
132+ - name : ' make_pcb_pdf '
127133 comment : " Generate 2D PCB CAD in PDF format"
128134 type : pdf_pcb_print
129- dir : pdfs
130135 layers :
131136 - F.Cu
132137 - In1.Cu
@@ -144,22 +149,78 @@ outputs:
144149 separated : true
145150 monochrome : true
146151
147- - name : ' generate BoM in CSV'
148- comment : " Generate bill-of-material files"
149- type : kibom
150- dir : gerbers
152+ - name : ' make_bom_csv'
153+ comment : " Generate bill-of-material file as CSV"
154+ type : bom
151155 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
152213 output : ' %f-bom-%r.%x'
153214
154- - name : ' generate BoM in HTML '
215+ - name : ' make_ibom '
155216 comment : " Generate assembly HTML page"
156217 type : ibom
157- dir : ibom
158218 options :
159219 output : ' %f-ibom-%r.%x'
220+ extra_fields : " Voltage,Tolerance,Manufacturer,MPN"
160221
161- - name : ' jlc position '
162- comment : " Pick and place file, JLC style"
222+ - name : ' make_jlc_position '
223+ comment : " Generate pick and place file, JLC style"
163224 type : position
164225 options :
165226 variant : rotated
@@ -182,10 +243,18 @@ outputs:
182243 - id : Side
183244 name : Layer
184245
185- - name : ' jlc bom '
186- comment : " BoM for JLC"
246+ - name : ' make_jlc_bom '
247+ comment : " Generate BoM, JLC style "
187248 type : bom
188249 options :
250+ group_fields :
251+ - ' Part'
252+ - ' Part Lib'
253+ - ' Value'
254+ - ' Voltage'
255+ - ' Tolerance'
256+ - ' Footprint'
257+ - ' Footprint Lib'
189258 output : ' %f-bom-jlc-%r.%x'
190259 exclude_filter : ' only_jlc_parts'
191260 ref_separator : ' ,'
0 commit comments