forked from opulo-inc/lumenpnp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-2layer.kibot.yaml
214 lines (193 loc) · 4.57 KB
/
config-2layer.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
# Example KiPlot config file
kibot:
version: 1
filters:
- name: only_jlc_parts
comment: 'Only parts with JLC code'
type: 'generic'
include_only:
- column: 'JLCPCB'
regex: '^C\d+'
- name: fix_rotation
comment: 'Adjust rotation for JLC'
type: rot_footprint
rotations:
- ["^TI_SO-", 270.0]
- ["^SO-", 270.0]
- ["^HTSSOP-", 270.0]
- ["^SSOP-", 270.0]
global:
variant: default
variants:
- name: default
comment: 'Just a place holder for the rotation filter'
type: kibom
variant: default
- name: jlcpcb
comment: 'JLCPCB requires some rotational transforms'
type: kibom
variant: jlcpcb
pre_transform: fix_rotation
preflight:
# Disable ERC for now while GPereira updates these items.
run_erc: false
update_xml: true
# Disable DRC for now while GPereira updates these items.
run_drc: false
check_zone_fills: true
ignore_unconnected: false
outputs:
- name: 'ibom'
comment: 'Interactive Bill of Materials'
type: ibom
dir: ibom
- name: 'bom'
comment: 'Bill of Materials'
type: bom
dir: .
options:
csv:
hide_pcb_info: true
hide_stats_info: true
format: CSV
- name: 'html_bom'
comment: 'HTML BOM'
type: bom
dir: .
options:
html:
datasheet_as_link: Datasheet
digikey_link: Digikey
title: 'Index MOBO Bill of Materials'
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: .
options:
output: Schematic.pdf
- name: 'print_front'
comment: "Print F.Cu+Dwgs.User"
type: pdf_pcb_print
dir: .
options:
output_name: PCB.pdf
separated: true
layers:
- layer: F.Cu
description: 'Front Copper'
- layer: B.Cu
description: 'Back Copper'
- layer: F.SilkS
description: 'Front Silk'
- layer: B.SilkS
description: 'Rear Silk'
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: gerbers
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
line_width: 0.1
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: true
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
output: '%f.%i'
layers:
# When Moving to Four Layer, Set G2L and G3L as the suffixes
- layer: F.Cu
suffix: GTL
- layer: B.Cu
suffix: GBL
- layer: F.SilkS
suffix: GTO
- layer: B.SilkS
suffix: GBO
- layer: F.Mask
suffix: GTS
- layer: B.Mask
suffix: GBS
- layer: Edge.Cuts
suffix: GKO
- name: 'drill_file'
comment: 'Drill file for Board House'
type: excellon
dir: gerbers
options:
metric_units: false
pth_and_npth_single_file: true
- name: board_top
comment: "Top layer view"
type: pcbdraw
dir: .
options:
format: png
- name: board_bottom
comment: "Bottom layer view"
type: pcbdraw
dir: .
options:
format: png
bottom: true
- name: 'pick_and_place_file'
comment: 'Pick and Place Location File'
type: position
dir: gerbers
options:
format: CSV
- name: 'bom_jlc'
comment: "BoM for JLC"
type: bom
options:
output: '%f_bom_jlc.%x'
# exclude_filter: only_jlc_parts
ref_separator: ','
columns:
- field: Value
name: Comment
- field: References
name: Designator
- field: Footprint
name: Footprint
- field: JLCPCB
name: 'LCSC Part #'
csv:
hide_pcb_info: true
hide_stats_info: true
quote_all: true
- name: 'pick_and_place_jlc'
comment: 'Pick and place file, JLC style'
type: position
options:
output: '%f_cpl_jlc.%x'
format: CSV
units: millimeters
separate_files_for_front_and_back: false
only_smd: true
variant: jlcpcb
columns:
- id: Ref
name: Designator
- id: PosX
name: "Mid X"
- id: PosY
name: "Mid Y"
- id: Side
name: Layer
- id: Rot
name: Rotation
- name: 'step_file'
comment: 'STEP file generation'
type: step
dir: .