-
Notifications
You must be signed in to change notification settings - Fork 1
/
kibot_generated.kibot.yaml
752 lines (748 loc) · 19.1 KB
/
kibot_generated.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
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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
# This is a working example.
# For a more complete reference use `--example`
kibot:
version: 1
global:
filters:
- number: 1007
- number: 1015
- number: 58
filters:
- name: only_jlc_parts
comment: Only parts with JLC (LCSC) code
type: generic
include_only:
- column: LCSC#
regex: ^C\d+
variants:
- name: place_holder
comment: Just a place holder for pre_transform filters
type: kicost
pre_transform:
- _kicost_rename
- _rot_footprint
outputs:
# - name: basic_boardview
# comment: Board View export
# type: boardview
# dir: export/Assembly
# - name: generic_bom_html
# comment: Generic Bill of Materials in HTML format
# type: bom
# dir: export/BoM/Generic
# options:
# format: HTML
# count_smd_tht: true
- name: generic_bom_csv
comment: Generic Bill of Materials in CSV format
type: bom
dir: export/BoM/Generic
options:
format: CSV
count_smd_tht: true
# - name: generic_bom_txt
# comment: Generic Bill of Materials in TXT format
# type: bom
# dir: export/BoM/Generic
# options:
# format: TXT
# count_smd_tht: true
# - name: generic_bom_tsv
# comment: Generic Bill of Materials in TSV format
# type: bom
# dir: export/BoM/Generic
# options:
# format: TSV
# count_smd_tht: true
# - name: generic_bom_xml
# comment: Generic Bill of Materials in XML format
# type: bom
# dir: export/BoM/Generic
# options:
# format: XML
# count_smd_tht: true
# - name: generic_bom_xlsx
# comment: Generic Bill of Materials in XLSX format
# type: bom
# dir: export/BoM/Generic
# options:
# format: XLSX
# count_smd_tht: true
- name: positional_bom_html
comment: Positional Bill of Materials in HTML format
type: bom
dir: export/BoM/Positional
options:
format: HTML
columns: &id001
- Row
- Description
- Part
- Part Lib
- References
- Value
- Footprint
- Footprint Lib
- Quantity Per PCB
- Build Quantity
- Status
- Datasheet
- Sheetpath
- Source BoM
- Footprint X
- Footprint Y
- Footprint Rot
- Footprint Side
- Footprint Type
- Footprint Populate
- Footprint X-Size
- Footprint Y-Size
count_smd_tht: true
html:
style: modern-red
# - name: positional_bom_xlsx
# comment: Positional Bill of Materials in XLSX format
# type: bom
# dir: export/BoM/Positional
# options:
# format: XLSX
# columns: *id001
# count_smd_tht: true
# xlsx:
# style: modern-red
# - name: costs_bom_xlsx
# comment: Costs Bill of Materials in XLSX format
# type: bom
# dir: export/BoM/Costs
# options:
# format: XLSX
# count_smd_tht: true
# xlsx:
# style: modern-green
# kicost: true
# specs: true
# variant: place_holder
# - name: macrofab_xyrs
# comment: Pick and place file, XYRS style
# type: bom
# options:
# variant: place_holder
# output: '%f_MacroFab.XYRS'
# units: mils
# group_fields: []
# sort_style: ref
# use_aux_axis_as_origin: true
# ignore_dnf: false
# footprint_populate_values: 0,1
# footprint_type_values: 1,2,0
# csv:
# separator: "\t"
# hide_pcb_info: true
# hide_stats_info: true
# hide_header: true
# columns:
# - field: References
# name: Designator
# - field: Footprint X
# name: X-Loc
# - field: Footprint Y
# name: Y-Loc
# - field: Footprint Rot
# name: Rotation
# - field: Footprint Side
# name: Side
# - field: Footprint Type
# name: Type
# - field: Footprint X-Size
# name: X-Size
# - field: Footprint Y-Size
# name: Y-Size
# - field: Value
# - field: Footprint
# - field: Footprint Populate
# name: Populate
# dir: export/Position
# - name: basic_excellon
# comment: Drill files in EXCELLON format
# type: excellon
# dir: export/Gerbers_and_Drill
# options:
# map: pdf
# - name: basic_gerb_drill
# comment: Drill files in GERB_DRILL format
# type: gerb_drill
# dir: export/Gerbers_and_Drill
# options:
# map: gerber
# - name: gerber_modern
# comment: Gerbers in modern format, recommended by the standard
# type: gerber
# dir: export/Gerbers_and_Drill
# layers:
# - layer: F.Cu
# suffix: F_Cu
# description: Front copper
# - layer: B.Cu
# suffix: B_Cu
# description: Bottom copper
# - layer: F.Paste
# suffix: F_Paste
# description: Front solder paste
# - layer: F.Silkscreen
# suffix: F_Silkscreen
# description: Front silkscreen (artwork)
# - layer: B.Mask
# suffix: B_Mask
# description: Bottom soldermask (negative)
# - layer: F.Mask
# suffix: F_Mask
# description: Front soldermask (negative)
# - layer: User.Drawings
# suffix: User_Drawings
# description: User drawings
# - layer: User.Comments
# suffix: User_Comments
# description: User comments
# - layer: Edge.Cuts
# suffix: Edge_Cuts
# description: Board shape
# - layer: F.Courtyard
# suffix: F_Courtyard
# description: Front courtyard area
# - layer: F.Fab
# suffix: F_Fab
# description: Front documentation
- name: PCBWay_gerbers
comment: Gerbers compatible with PCBWay
type: gerber
dir: export/Manufacturers/PCBWay
options:
exclude_edge_layer: true
exclude_pads_from_silkscreen: true
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
use_protel_extensions: true
create_gerber_job_file: false
output: '%f.%x'
gerber_precision: 4.6
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
disable_aperture_macros: true
line_width: 0.1
subtract_mask_from_silk: false
inner_extension_pattern: .gl%N
layers: &id002
- layer: F.Cu
suffix: F_Cu
description: Front copper
- layer: B.Cu
suffix: B_Cu
description: Bottom copper
- layer: F.Paste
suffix: F_Paste
description: Front solder paste
- layer: F.Silkscreen
suffix: F_Silkscreen
description: Front silkscreen (artwork)
- layer: B.Silkscreen
suffix: B_Silkscreen
description: Bottom silkscreen (artwork)
- layer: B.Mask
suffix: B_Mask
description: Bottom soldermask (negative)
- layer: F.Mask
suffix: F_Mask
description: Front soldermask (negative)
- layer: Edge.Cuts
suffix: Edge_Cuts
description: Board shape
- name: PCBWay_drill
comment: Drill files compatible with PCBWay
type: excellon
dir: export/Manufacturers/PCBWay
options:
metric_units: false
minimal_header: true
zeros_format: SUPPRESS_LEADING
left_digits: 2
right_digits: 4
pth_and_npth_single_file: false
pth_id: ''
npth_id: -NPTH
output: '%f%i.drl'
- name: PCBWay
comment: ZIP file for PCBWay
type: compress
dir: export/Manufacturers
options:
format: ZIP
files:
- from_output: PCBWay_gerbers
dest: /
- from_output: PCBWay_drill
dest: /
- name: Elecrow_gerbers
comment: Gerbers compatible with Elecrow
type: gerber
dir: export/Manufacturers/Elecrow
options:
exclude_edge_layer: true
exclude_pads_from_silkscreen: true
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
use_protel_extensions: true
create_gerber_job_file: false
output: '%f.%x'
gerber_precision: 4.6
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
disable_aperture_macros: true
line_width: 0.1
uppercase_extensions: true
subtract_mask_from_silk: true
inner_extension_pattern: .g%n
edge_cut_extension: .gml
layers: *id002
- name: Elecrow_drill
comment: Drill files compatible with Elecrow
type: excellon
dir: export/Manufacturers/Elecrow
options:
pth_and_npth_single_file: false
pth_id: ''
npth_id: -NPTH
output: '%f%i.TXT'
- name: Elecrow
comment: ZIP file for Elecrow
type: compress
dir: export/Manufacturers
options:
files:
- from_output: Elecrow_gerbers
dest: /
- from_output: Elecrow_drill
dest: /
- name: FusionPCB_gerbers
comment: Gerbers compatible with FusionPCB
type: gerber
dir: export/Manufacturers/FusionPCB
options:
exclude_edge_layer: true
exclude_pads_from_silkscreen: true
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
use_protel_extensions: true
create_gerber_job_file: false
output: '%f.%x'
gerber_precision: 4.6
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
disable_aperture_macros: true
line_width: 0.1
uppercase_extensions: true
subtract_mask_from_silk: false
use_aux_axis_as_origin: true
inner_extension_pattern: .gl%N
edge_cut_extension: .gml
layers: *id002
- name: FusionPCB_drill
comment: Drill files compatible with FusionPCB
type: excellon
dir: export/Manufacturers/FusionPCB
options:
pth_and_npth_single_file: true
use_aux_axis_as_origin: true
output: '%f.TXT'
- name: FusionPCB
comment: ZIP file for FusionPCB
type: compress
dir: export/Manufacturers
options:
files:
- from_output: FusionPCB_gerbers
dest: /
- from_output: FusionPCB_drill
dest: /
- name: JLCPCB_gerbers
comment: Gerbers compatible with JLCPCB
type: gerber
dir: export/Manufacturers/JLCPCB
options:
exclude_edge_layer: true
exclude_pads_from_silkscreen: true
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
use_protel_extensions: true
create_gerber_job_file: false
disable_aperture_macros: true
gerber_precision: 4.6
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
line_width: 0.1
subtract_mask_from_silk: true
inner_extension_pattern: .gp%n
layers: *id002
- name: JLCPCB_drill
comment: Drill files compatible with JLCPCB
type: excellon
dir: export/Manufacturers/JLCPCB
options:
pth_and_npth_single_file: false
pth_id: -PTH
npth_id: -NPTH
metric_units: true
map: gerber
route_mode_for_oval_holes: false
output: '%f%i.%x'
- name: JLCPCB_position
comment: Pick and place file, JLCPCB style
type: position
dir: export/Manufacturers/JLCPCB
options:
variant: place_holder
output: '%f_cpl_jlc.%x'
format: CSV
units: millimeters
separate_files_for_front_and_back: false
only_smd: true
columns:
- id: Ref
name: Designator
- Val
- Package
- id: PosX
name: Mid X
- id: PosY
name: Mid Y
- id: Rot
name: Rotation
- id: Side
name: Layer
- name: JLCPCB_bom
comment: BoM for JLCPCB
type: bom
dir: export/Manufacturers/JLCPCB
options:
output: '%f_%i_jlc.%x'
exclude_filter: only_jlc_parts
ref_separator: ','
columns:
- field: Value
name: Comment
- field: References
name: Designator
- Footprint
- field: LCSC#
name: 'LCSC Part #'
csv:
hide_pcb_info: true
hide_stats_info: true
quote_all: true
- name: JLCPCB
comment: ZIP file for JLCPCB
type: compress
dir: export/Manufacturers
options:
files:
- from_output: JLCPCB_gerbers
dest: /
- from_output: JLCPCB_drill
dest: /
- from_output: JLCPCB_position
dest: /
- from_output: JLCPCB_bom
dest: /
- name: basic_ibom
comment: Interactive HTML BoM
type: ibom
dir: export/Assembly
- name: basic_pcb_print_pdf
comment: PCB
type: pcb_print
dir: export/PCB/PDF
options:
format: PDF
pages:
- layers:
- layer: F.Cu
- layer: F.Mask
color: '#14332440'
- layer: F.Paste
- layer: F.Silkscreen
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
sheet: Front copper
- layers:
- layer: B.Cu
- layer: B.Mask
color: '#14332440'
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
mirror: true
sheet: Bottom copper
- layers:
- layer: F.Courtyard
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
sheet: Front courtyard area
- layers:
- layer: F.Fab
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
sheet: Front documentation
keep_temporal_files: true
- name: basic_pcb_print_svg
comment: PCB
type: pcb_print
dir: export/PCB/SVG
options:
format: SVG
pages:
- layers:
- layer: F.Cu
- layer: F.Mask
color: '#14332440'
- layer: F.Paste
- layer: F.Silkscreen
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
sheet: Front copper
- layers:
- layer: B.Cu
- layer: B.Mask
color: '#14332440'
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
mirror: true
sheet: Bottom copper
- layers:
- layer: F.Courtyard
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
sheet: Front courtyard area
- layers:
- layer: F.Fab
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
sheet: Front documentation
keep_temporal_files: true
add_background: true
- name: basic_pcb_print_png
comment: PCB
type: pcb_print
dir: export/PCB/PNG
options:
format: PNG
pages:
- layers:
- layer: F.Cu
- layer: F.Mask
color: '#14332440'
- layer: F.Paste
- layer: F.Silkscreen
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
sheet: Front copper
- layers:
- layer: B.Cu
- layer: B.Mask
color: '#14332440'
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
mirror: true
sheet: Bottom copper
- layers:
- layer: F.Courtyard
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
sheet: Front courtyard area
- layers:
- layer: F.Fab
- layer: Edge.Cuts
- layer: User.Drawings
- layer: User.Comments
sheet: Front documentation
keep_temporal_files: true
add_background: true
- name: basic_pcbdraw_svg_jlcpcb_green_enig_top
comment: PCB 2D render in SVG format, using jlcpcb-green-enig style
type: pcbdraw
dir: export/PCB/2D_render/jlcpcb_green_enig
options:
style: jlcpcb-green-enig
format: svg
- name: basic_pcbdraw_png_jlcpcb_green_enig_top
comment: PCB 2D render in PNG format, using jlcpcb-green-enig style
type: pcbdraw
dir: export/PCB/2D_render/jlcpcb_green_enig
options:
style: jlcpcb-green-enig
format: png
- name: basic_pcbdraw_jpg_jlcpcb_green_enig_top
comment: PCB 2D render in JPG format, using jlcpcb-green-enig style
type: pcbdraw
dir: export/PCB/2D_render/jlcpcb_green_enig
options:
style: jlcpcb-green-enig
format: jpg
# - name: basic_pcbdraw_svg_set_blue_enig_top
# comment: PCB 2D render in SVG format, using set-blue-enig style
# type: pcbdraw
# dir: export/PCB/2D_render/set_blue_enig
# options:
# style: set-blue-enig
# format: svg
# - name: basic_pcbdraw_png_set_blue_enig_top
# comment: PCB 2D render in PNG format, using set-blue-enig style
# type: pcbdraw
# dir: export/PCB/2D_render/set_blue_enig
# options:
# style: set-blue-enig
# format: png
# - name: basic_pcbdraw_jpg_set_blue_enig_top
# comment: PCB 2D render in JPG format, using set-blue-enig style
# type: pcbdraw
# dir: export/PCB/2D_render/set_blue_enig
# options:
# style: set-blue-enig
# format: jpg
# - name: basic_pcbdraw_svg_set_red_hasl_top
# comment: PCB 2D render in SVG format, using set-red-hasl style
# type: pcbdraw
# dir: export/PCB/2D_render/set_red_hasl
# options:
# style: set-red-hasl
# format: svg
# - name: basic_pcbdraw_png_set_red_hasl_top
# comment: PCB 2D render in PNG format, using set-red-hasl style
# type: pcbdraw
# dir: export/PCB/2D_render/set_red_hasl
# options:
# style: set-red-hasl
# format: png
# - name: basic_pcbdraw_jpg_set_red_hasl_top
# comment: PCB 2D render in JPG format, using set-red-hasl style
# type: pcbdraw
# dir: export/PCB/2D_render/set_red_hasl
# options:
# style: set-red-hasl
# format: jpg
- name: basic_pcbdraw_svg_jlcpcb_green_enig_bottom
comment: PCB 2D render in SVG format, using jlcpcb-green-enig style
type: pcbdraw
dir: export/PCB/2D_render/jlcpcb_green_enig
options:
style: jlcpcb-green-enig
format: svg
bottom: true
- name: basic_pcbdraw_png_jlcpcb_green_enig_bottom
comment: PCB 2D render in PNG format, using jlcpcb-green-enig style
type: pcbdraw
dir: export/PCB/2D_render/jlcpcb_green_enig
options:
style: jlcpcb-green-enig
format: png
bottom: true
- name: basic_pcbdraw_jpg_jlcpcb_green_enig_bottom
comment: PCB 2D render in JPG format, using jlcpcb-green-enig style
type: pcbdraw
dir: export/PCB/2D_render/jlcpcb_green_enig
options:
style: jlcpcb-green-enig
format: jpg
bottom: true
# - name: basic_pcbdraw_svg_set_blue_enig_bottom
# comment: PCB 2D render in SVG format, using set-blue-enig style
# type: pcbdraw
# dir: export/PCB/2D_render/set_blue_enig
# options:
# style: set-blue-enig
# format: svg
# bottom: true
# - name: basic_pcbdraw_png_set_blue_enig_bottom
# comment: PCB 2D render in PNG format, using set-blue-enig style
# type: pcbdraw
# dir: export/PCB/2D_render/set_blue_enig
# options:
# style: set-blue-enig
# format: png
# bottom: true
# - name: basic_pcbdraw_jpg_set_blue_enig_bottom
# comment: PCB 2D render in JPG format, using set-blue-enig style
# type: pcbdraw
# dir: export/PCB/2D_render/set_blue_enig
# options:
# style: set-blue-enig
# format: jpg
# bottom: true
# - name: basic_pcbdraw_svg_set_red_hasl_bottom
# comment: PCB 2D render in SVG format, using set-red-hasl style
# type: pcbdraw
# dir: export/PCB/2D_render/set_red_hasl
# options:
# style: set-red-hasl
# format: svg
# bottom: true
# - name: basic_pcbdraw_png_set_red_hasl_bottom
# comment: PCB 2D render in PNG format, using set-red-hasl style
# type: pcbdraw
# dir: export/PCB/2D_render/set_red_hasl
# options:
# style: set-red-hasl
# format: png
# bottom: true
# - name: basic_pcbdraw_jpg_set_red_hasl_bottom
# comment: PCB 2D render in JPG format, using set-red-hasl style
# type: pcbdraw
# dir: export/PCB/2D_render/set_red_hasl
# options:
# style: set-red-hasl
# format: jpg
# bottom: true
- name: basic_pdf_sch_print
comment: Schematic in PDF format
type: pdf_sch_print
dir: export/Schematic
# - name: basic_position_ASCII
# comment: Components position for Pick & Place
# type: position
# dir: export/Position
# options:
# format: ASCII
# only_smd: false
# separate_files_for_front_and_back: false
# - name: basic_position_CSV
# comment: Components position for Pick & Place
# type: position
# dir: export/Position
# options:
# format: CSV
# only_smd: false
# separate_files_for_front_and_back: false
- name: basic_svg_sch_print
comment: Schematic in SVG format
type: svg_sch_print
dir: export/Schematic