-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-pcb-kibot.yaml
More file actions
192 lines (176 loc) · 4.27 KB
/
build-pcb-kibot.yaml
File metadata and controls
192 lines (176 loc) · 4.27 KB
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
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
definitions:
_KIBOT_F_PASTE: '- F.Paste'
_KIBOT_B_PASTE: '- B.Paste'
- file: JLCPCB
definitions:
_KIBOT_F_PASTE: '- F.Paste'
_KIBOT_B_PASTE: '- B.Paste'
- file: P-Ban
definitions:
_KIBOT_F_PASTE: '- F.Paste'
_KIBOT_B_PASTE: '- B.Paste'
- 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: 'pcb_pdf'
comment: "Print PCB Drawings (PDF)"
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 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'
- name: 'report_full'
comment: "Full design report"
type: report
dir: Design_Report
- name: 'stencil_3d'
comment: "Creates a 3D printable stencil"
type: stencil_3d
dir: stencil/3D
options:
thickness: 20
- name: 'stencil_for_jig'
comment: "Creates a steel stencil and 3D register"
type: stencil_for_jig
dir: stencil/Jig
options:
thickness: 20
# - name: KiKit_present_files
# comment: "Present test using full auto mode"
# type: kikit_present
# dir: Present/Auto
# options:
# repository: 'https://github.com/INTI-CMNB/KiBot/'
# 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'
conf:
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
- name: 'KiCost'
comment: "Components costs spreadsheet"
type: kicost
dir: KiCost_kicost
options:
output: 'simple'
- name: 'bom_internal'
comment: "Bill of Materials in HTML format"
type: bom
dir: KiCost_bom
options:
html:
digikey_link: 'digikey#'
mouser_link: 'mouser#'
lcsc_link: true
output: '%f.%x'
columns:
- References
- Part
- Value
- Quantity Per PCB
- digikey#
- mouser#
- LCSC#
- manf#