-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathkibot.yml
67 lines (63 loc) · 1.94 KB
/
kibot.yml
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
kibot:
version: 1
# variants:
# - name: 'XXX'
# comment: 'default'
# type: kibom
# file_id: _XXX
# variant: XXX
preflight:
set_text_variables:
- name: "date"
command: git log -1 --format="%as"
- name: "version"
command: git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD
update_xml: true
run_erc: true
run_drc: true
check_zone_fills: true
ignore_unconnected: false
# update_qr: true
filters:
- filter: 'suppress "Silkscreen clipped by solder mask"'
regex: 'Silkscreen clipped by solder mask'
error: 'silk_over_copper'
- filter: 'suppress "Silkscreen overlap"'
regex: 'Silkscreen overlap'
error: 'silk_overlap'
# Sad but true: ignoring individual errors via KiCad's "ignore" doesn't help
# so we need to ignore those "globally" here.
# Those errors occur on "overlapping variants" (DC regulators, XLR connectors)
- filter: 'suppress "hole_clearance"'
regex: 'Hole clearance violation'
error: 'hole_clearance'
- filter: 'suppress "courtyards_overlap"'
regex: 'Courtyards overlap'
error: 'courtyards_overlap'
filters:
- name: "exclude_any"
type: "generic"
comment: "Exclude logos, testpoints, fiducials and power"
exclude_any:
- column: Reference
regex: "^(G|#|TP|F).*"
import:
# docs
- file: .kibot/bom_ibom.kibot.yml
- file: .kibot/docs.kibot.yml
# fabrications
- file: .kibot/bom_octopart.kibot.yml
- file: .kibot/gerbers.kibot.yml
- file: .kibot/gerbers_jlcpcb.kibot.yml
- file: .kibot/drills.kibot.yml
- file: .kibot/fabrications.kibot.yml
# img
- file: .kibot/render.kibot.yml
- file: .kibot/plot.kibot.yml
- file: .kibot/plot_jlcpcb-green-hasl.kibot.yml
- file: .kibot/plot_oshpark-afterdark.kibot.yml
- file: .kibot/plot_oshpark-purple.kibot.yml
# cad
- file: .kibot/boardview.kibot.yml
- file: .kibot/step.kibot.yml
- file: .kibot/dxf.kibot.yml