From 5417532fed78fced5a29ae6a74e842aeb7edadd0 Mon Sep 17 00:00:00 2001 From: Ionel Date: Tue, 14 Feb 2023 17:52:31 +0200 Subject: [PATCH] fix merge similar parts into single entry --- plugins/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/process.py b/plugins/process.py index dc6ce6c..3c72be4 100644 --- a/plugins/process.py +++ b/plugins/process.py @@ -194,7 +194,7 @@ class ProcessManager: # merge similar parts into single entry insert = True for component in self.bom: - if component['Footprint'].upper() == footprint_name.upper() and component['Value'].upper() == footprint.GetValue().upper(): + if self._normalize_footprint_name(component['Footprint']) == self._normalize_footprint_name(footprint_name) and component['Value'].upper() == footprint.GetValue().upper(): component['Designator'] += ", " + "{}{}{}".format(footprint.GetReference(), "" if unique_id == "" else "_", unique_id) component['Quantity'] += 1 insert = False