From 12f84934bed5fb9f3d7c5385ea8166c42bf46d03 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Tue, 19 Apr 2022 23:44:15 +0200 Subject: [PATCH] dip: Revert pad x-offset to package width --- generate_dip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_dip.py b/generate_dip.py index 89ac486b..f1bf375b 100644 --- a/generate_dip.py +++ b/generate_dip.py @@ -325,7 +325,7 @@ def add_footprint_variant(key: str, name: str, pad_size: Tuple[float, float]) -> ) # Pads - pad_x_offset = float(config.lead_span) / 2 + pad_x_offset = float(config.body_width) / 2 for p in range(1, pin_count // 2 + 1): # Down on the left y = get_y(p, pin_count // 2, pitch, False)