-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kibot.yaml
202 lines (180 loc) · 4.19 KB
/
.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
#
# This is kibot configuration.
#
# Edit this file to generate more stuff automatically.
#
kibot:
version: 1
preflight:
check_zone_fills: false
run_erc: false
run_drc: false
filters:
- name: lcsc_parts
type: generic
include_only:
- column: 'LCSC Part Number'
regex: '^C\d+'
outputs:
- name: print_sch
type: pdf_sch_print
options:
output: 'gen/schematics.pdf'
- name: pcb_print
type: pcb_print
options:
output: 'gen/pcb.pdf'
title: "ESP8266 RS485"
force_edge_cuts: true
keep_temporal_files: false
plot_sheet_reference: false
color_theme: '_builtin_default'
pages:
- sheet: 'Assembly'
scaling: 2
layers:
- layer: F.Mask
color: '#111111'
- layer: F.SilkS
color: '#FFFFFF'
- layer: User.Drawings
color: '#111111'
- name: pcb_image_2d_front
type: pcbdraw
options:
output: 'gen/img_pcb_2d_front_bare.jpg'
format: jpg
dpi: 600
- name: pcb_image_2d_back
type: pcbdraw
options:
output: 'gen/img_pcb_2d_back_bare.jpg'
format: jpg
dpi: 600
bottom: true
- name: pcb_image_3d_main
type: render_3d
options:
output: 'gen/img_pcb_3d_main.png'
download: true
rotate_x: 2
rotate_z: 10
move_y: 1
solder_mask: '#104020'
orthographic: false
ray_tracing: true
width: 1200
height: 1000
view: bottom
zoom: 2
- name: pcb_image_3d_back
type: render_3d
options:
output: 'gen/img_pcb_3d_front.png'
orthographic: true
download: true
solder_mask: '#104020'
ray_tracing: true
width: 1200
height: 1200
view: bottom
zoom: 3
- name: pcb_image_3d_front
type: render_3d
options:
output: 'gen/img_pcb_3d_back.png'
orthographic: true
download: true
solder_mask: '#104020'
ray_tracing: true
width: 1200
height: 1200
view: top
zoom: 3
- name: ibom_html
type: ibom
options:
output: 'gen/bom_ibom.html'
no_compression: true
highlight_pin1: true
layer_view: FB
- name: full_bom
type: bom
options:
output: 'gen/bom.csv'
ref_separator: ','
csv:
hide_pcb_info: true
hide_stats_info: true
quote_all: true
- name: lcsl_bom
type: bom
options:
output: 'gen/bom_lcsc.csv'
ref_separator: ','
exclude_filter: lcsc_parts
columns:
- field: 'Quantity Per PCB'
name: 'Quantity'
- 'LCSC Part Number'
- 'Value'
- 'Footprint'
group_fields: ['LCSC Part Number']
csv:
hide_pcb_info: true
hide_stats_info: true
quote_all: true
- name: JLCPCB_gerbers
comment: Gerbers compatible with JLCPCB
type: gerber
dir: 'gen/gerbers'
options: &gerber_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: false
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
layers:
# Note: a more generic approach is to use 'copper' but then the filenames
# are slightly different.
- F.Cu
- B.Cu
- Edge.Cuts
- F.SilkS
- F.Mask
- F.Paste
- B.SilkS
- B.Mask
- B.Paste
- name: JLCPCB_drill
comment: Drill files compatible with JLCPCB
type: excellon
dir: 'gen/gerbers'
options:
pth_and_npth_single_file: false
pth_id: '-PTH'
npth_id: '-NPTH'
metric_units: true
map: gerber
output: "%f%i.%x"
- name: JLCPCB
comment: ZIP file for JLCPCB
type: compress
dir: 'gen/gerbers'
options:
output: gerbers.zip
files:
- from_output: JLCPCB_gerbers
dest: /
- from_output: JLCPCB_drill
dest: /