From: Keith Packard Date: Sun, 22 Nov 2015 01:06:49 +0000 (-0800) Subject: Fix slots in vertical USB package to match oshpark requirements X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=6c3d0bafb0ea26fee8970544972062d54cb64f39;p=hw%2Faltusmetrum 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 --- 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"); }