From 678032f04188041e7eda005a98172efcc1f3ed58 Mon Sep 17 00:00:00 2001
From: Lukas Lang <33105866+lukas-lang@users.noreply.github.com>
Date: Wed, 22 May 2024 15:27:00 +0200
Subject: [PATCH 1/2] chore: Update JLCPCB position alignment step size (#163)
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 598dddf..06d978a 100644
--- a/README.md
+++ b/README.md
@@ -106,7 +106,7 @@ Use following table to quickly find out to which coordinate enter the correction
|-90deg, Front or Back | down arrow | right arrow |
For custom angles it's best to place also a temporary straight symbol to perform alignment.
-Single arrow press in JLC is about 0.07mm shift (8 clicks is about 0.5mm).
+Single arrow press in JLC is 0.0635mm (= 1/400in) shift.
From 94bc00fa2b88557a1b75e68b7ded140e72b92808 Mon Sep 17 00:00:00 2001
From: dzid26
Date: Wed, 3 Jul 2024 19:43:07 +0100
Subject: [PATCH 2/2] feat: allow footprints with no pads (#166)
---
plugins/process.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/plugins/process.py b/plugins/process.py
index b42804d..35b26b0 100644
--- a/plugins/process.py
+++ b/plugins/process.py
@@ -169,9 +169,8 @@ class ProcessManager:
or (footprint.GetValue().upper() == 'DNP')
or getattr(footprint, 'IsDNP', bool)())
skip_dnp = exclude_dnp and is_dnp
- skip_footprint = footprint.GetPadCount() == 0
- if not (footprint.GetAttributes() & pcbnew.FP_EXCLUDE_FROM_POS_FILES) and not skip_footprint and not is_dnp:
+ if not (footprint.GetAttributes() & pcbnew.FP_EXCLUDE_FROM_POS_FILES) and not is_dnp:
# append unique ID if duplicate footprint designator
unique_id = ""
if footprint_designators[footprint.GetReference()] > 1:
@@ -214,7 +213,7 @@ class ProcessManager:
'Layer': layer,
})
- if not (footprint.GetAttributes() & pcbnew.FP_EXCLUDE_FROM_BOM) and not skip_footprint and not skip_dnp:
+ if not (footprint.GetAttributes() & pcbnew.FP_EXCLUDE_FROM_BOM) and not skip_dnp:
# append unique ID if we are dealing with duplicate bom designator
unique_id = ""
if bom_designators[footprint.GetReference()] > 1: