From ee2b510b37d2832a67bb13cf27cbe520adff6b71 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 29 May 2019 18:58:14 +0200 Subject: kicad.dl: Classifying net-ties and test points as such. pn-part-search-list: Better value-based searches. Better filtering of irrelevant parts. --- src/ee/kicad/make_bom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ee/kicad') diff --git a/src/ee/kicad/make_bom.py b/src/ee/kicad/make_bom.py index de1412c..ded3e5f 100644 --- a/src/ee/kicad/make_bom.py +++ b/src/ee/kicad/make_bom.py @@ -66,7 +66,7 @@ def work(sch, out: Path, project_uuid: UUID, new_mode, pretty): part.facts.add(sch_fact_types.footprint_name, footprint) for f in c.named_fields: - if f.is_custom and f.value is not None and len(f.value): + if f.is_custom and f.value is not None and len(f.value) and f.value != "~": part.facts.add(sch_fact_types.make_custom_field_key(f.name), f.value) parts.add_entry(part, True) -- cgit v1.2.3