forked from peej/for-science-keyboard
-
Notifications
You must be signed in to change notification settings - Fork 1
/
for-science.kibot.yaml
178 lines (159 loc) · 3.91 KB
/
for-science.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
# [KiBot](https://github.com/INTI-CMNB/KiBot) config file
kibot:
version: 1
preflight:
run_erc: true
run_drc: true
check_zone_fills: false
ignore_unconnected: false
global:
# We want the revision added to the names for this project
output: '%f-%i_%r.%x'
outputs:
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: build
- name: 'print_front'
comment: "Print F.Cu+Dwgs.User"
type: pdf_pcb_print
dir: build
layers:
- layer: F.Cu
- layer: Dwgs.User
- name: 'print_bottom'
comment: "Print B.Cu+Dwgs.User"
type: pdf_pcb_print
dir: build
layers:
- layer: B.Cu
- layer: Dwgs.User
# - name: 'print_s2'
# comment: "Print Señal_2+Dwgs.User"
# type: pdf_pcb_print
# dir: build
# layers:
# - layer: Señal_2
# - layer: Dwgs.User
- name: 'interactive_bom'
comment: "Interactive Bill of Materials (HTML)"
type: ibom
dir: build/bom
options:
blacklist: 'DNF*'
- name: 'bom_html'
comment: "Bill of Materials in HTML format"
type: bom
dir: build/bom
options: &bom_options
columns:
- Row
- field: References
name: Referencias
- field: Part
name: Parte
- field: Value
name: Valor
# - field: manf#
# name: P/N
# - field: manf
# name: Fabricante
# - field: digikey#
# name: 'Cod. Digi-Key'
- Footprint
# - field: Desc
# name: Descripción
- 'Quantity Per PCB'
exclude_any:
- column: Reference
regex: '^(G|#|TP|F).*'
group_fields: ['digikey#', 'Part']
normalize_values: true
normalize_locale: true
html:
# logo: '../images/inti.png'
digikey_link: 'digikey#'
highlight_empty: false
- name: 'bom_csv'
comment: "Bill of Materials in CSV format"
type: bom
dir: build/bom
options:
<<: *bom_options
format: CSV
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: build/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: true
use_gerber_net_attributes: true
layers: 'all'
- name: excellon_drill
comment: "Excellon drill files"
type: excellon
dir: build/gerbers
options:
metric_units: false
pth_and_npth_single_file: false
use_aux_axis_as_origin: false
minimal_header: false
mirror_y_axis: false
report:
filename: 'spora-drl.rpt'
map:
type: 'pdf'
- name: gerber_drills
comment: "Gerber drill files"
type: gerb_drill
dir: build/gerbers
options:
use_aux_axis_as_origin: false
- name: 'position'
comment: "Pick and place file"
type: position
dir: build/position
options:
format: ASCII # CSV or ASCII format
units: millimeters # millimeters or inches
separate_files_for_front_and_back: true
only_smd: true
- name: pcb_top_g
comment: "PCB render top green"
type: pcbdraw
dir: build/pcb
options:
format: jpg
show_components: none
dpi: 600
- name: pcb_bot_g
comment: "PCB render bottom green"
type: pcbdraw
dir: build/pcb
options:
format: jpg
bottom: True
show_components: none
dpi: 600
- name: step
comment: "Generate 3D model (STEP)"
type: step
dir: build/3d
options:
metric_units: true
origin: 85,66.2