From 6c3d0bafb0ea26fee8970544972062d54cb64f39 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 21 Nov 2015 17:06:49 -0800 Subject: [PATCH] Fix slots in vertical USB package to match oshpark requirements oshpark wants two holes, one at either end, with copper painted around them on both sides. I've done this by making round-end pads that go from hole to hole. When you use this package, make sure you paint a 19.68mil trace in the outline layer between the holes; I can't see any way to get that into the package. Signed-off-by: Keith Packard --- packages/1051330011.5c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/1051330011.5c b/packages/1051330011.5c index 1929259..97619a1 100644 --- a/packages/1051330011.5c +++ b/packages/1051330011.5c @@ -37,8 +37,8 @@ public void slot(real x, real y, real width, real drill) { pin_mm(x - width / 2, y, drill, pin_copper, "mnt", "mnt"); - if (drill <= width/2) - pin_mm(x, y, drill, pin_copper, "mnt", "mnt"); + pad_mm_options(x, y, width + pin_copper*2 + drill, drill + pin_copper * 2, "mnt", "mnt", ""); + pad_mm_options(x, y, width + pin_copper*2 + drill, drill + pin_copper * 2, "mnt", "mnt", "onsolder"); pin_mm(x + width / 2, y, drill, pin_copper, "mnt", "mnt"); } -- 2.30.2