-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.kibot.yaml
140 lines (131 loc) · 3.12 KB
/
build.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
kibot:
version: 1
preflight:
update_xml: true
import:
# Add custom options for each repository
- file: ../options.yaml
- file: Elecrow
definitions:
_KIBOT_F_PASTE: '- F.Paste'
_KIBOT_B_PASTE: '- B.Paste'
# - file: FusionPCB
- file: JLCPCB
definitions:
_KIBOT_F_PASTE: '- F.Paste'
_KIBOT_B_PASTE: '- B.Paste'
# - file: P-Ban
- file: PCBWay
definitions:
_KIBOT_F_PASTE: '- F.Paste'
_KIBOT_B_PASTE: '- B.Paste'
outputs:
# PDF Schematic
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: Drawings
options:
output: '%f-%r-%i.%x'
# PDF Drawings
- name: 'drawings'
comment: ""
type: pcb_print
dir: Drawings
options:
frame_plot_mechanism: 'plot'
dnf_filter: '_kibom_dnf'
output: '%f-%r-drawing.pdf'
pages:
- layers:
- layer: F.Fab
- layer: Edge.Cuts
- layer: Dwgs.User
page_id: Front Assembly
- layers:
- layer: B.Fab
- layer: Edge.Cuts
- layer: Dwgs.User
page_id: Back Assembly
- layers:
- layer: F.Cu
- layer: Edge.Cuts
page_id: Front Cu
- layers:
- layer: B.Cu
- layer: Edge.Cuts
page_id: Back Cu
# Generate IBOM
- name: 'interactive_bom'
comment: "Interactive Bill of Materials (HTML)"
type: ibom
dir: BoM
options:
dark_mode: true
dnf_filter: '_kibom_dnf'
highlight_pin1: true
include_tracks: true
normalize_field_case: true
name_format: '%f_%r_iBoM'
group_fields: 'Value'
show_fields: 'Value,MPN,Datasheet'
output: '%f-%r-%i.%x'
# Generate csv/html BOM
- name: 'bom_html'
comment: "Bill of Materials in HTML format"
type: kibom
dir: BoM
options:
format: HTML
output: '%f-%r-%i.%x'
- name: 'bom_csv'
comment: "Bill of Materials in CSV format"
type: kibom
dir: BoM
options:
format: CSV
output: '%f-%r-%i.%x'
columns:
- References
- Value
- Rating
- Manufacturer
- MPN
- Supplier
- Supplier PN
- Quantity Per PCB
- Price
csv:
hide_pcb_info: true
hide_stats_info: true
quote_all: true
# Generate Pick and Place files
- name: 'position (ASCII)'
comment: "Pick and place file"
type: position
dir: Position
options:
format: ASCII # CSV or ASCII format
units: millimeters # millimeters or inches
separate_files_for_front_and_back: true
only_smd: true
output: '%f-%r-%i.%x'
- name: 'position (CSV)'
comment: "Pick and place file"
type: position
dir: Position
options:
format: CSV # CSV or ASCII format
units: millimeters # millimeters or inches
separate_files_for_front_and_back: true
only_smd: true
output: '%f-%r-%i.%x'
# Generate 3D Model
- name: 'step'
comment: 'Generate 3D Step Model'
type: 'step'
dir: Model
options:
dnf_filter: '_kibom_dnf'
no_virtual: true
output: '%f-%r-%i.%x'