From dc0f4042d9e199cf67caa23eb0f9f64ac69b8ad6 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Wed, 31 Jul 2024 17:03:42 -0600 Subject: [PATCH] add small SMT push button switch footprint, horizontal USB A to pref parts --- packages/PTS815.py | 32 ++++++++++++++++++++++++++++++++ preferred-parts | 4 ++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/packages/PTS815.py b/packages/PTS815.py index 8faf561..9d20c49 100755 --- a/packages/PTS815.py +++ b/packages/PTS815.py @@ -9,6 +9,9 @@ PinWidth = 1.0 HSpacing = 2.15 WSpacing = 4.5 +BodyHeight = 3.2 +BodyWidth = 4.2 + import sys # we're going to use the 1/100 of a mil fundamental unit form @@ -62,4 +65,33 @@ print(' Pad[',\ mm2mils100(PinHeight)+600, \ '"pin3" "3" 0x0100]') +print( ' ElementLine[',\ + -mm2mils100(BodyWidth/2), \ + -mm2mils100(BodyHeight/2), \ + mm2mils100(BodyWidth/2), \ + -mm2mils100(BodyHeight/2), \ + 500, \ + ']') +print( ' ElementLine[',\ + -mm2mils100(BodyWidth/2), \ + -mm2mils100(BodyHeight/2), \ + -mm2mils100(BodyWidth/2), \ + mm2mils100(BodyHeight/2), \ + 500, \ + ']') +print( ' ElementLine[',\ + -mm2mils100(BodyWidth/2), \ + mm2mils100(BodyHeight/2), \ + mm2mils100(BodyWidth/2), \ + mm2mils100(BodyHeight/2), \ + 500, \ + ']') +print( ' ElementLine[',\ + mm2mils100(BodyWidth/2), \ + mm2mils100(BodyHeight/2), \ + mm2mils100(BodyWidth/2), \ + -mm2mils100(BodyHeight/2), \ + 500, \ + ']') + print(")") diff --git a/preferred-parts b/preferred-parts index 296813a..85eef56 100644 --- a/preferred-parts +++ b/preferred-parts @@ -80,8 +80,8 @@ CONNECTOR 50mil6pin 50mil6pin throughhole no M50-3530642 mouser 855-M50-3530642 CONNECTOR 50mil8pin 50mil8pin throughhole no M50-3530842 mouser 855-M50-3530842 CONNECTOR RP-SMA rpsma-th throughhole no 0732519761 digikey 900-0732519761-ND CONNECTOR SMA sma-edge handload no 73251-2120 digikey WM5536-ND -CONNECTOR USB-A-V cu01sav throughhole no CU01SAV1S00 digikey 2987-CU01SAV1S00-ND -CONNECTOR USB-A-H cu01sav throughhole no CU01SAH0S00 digikey 2987-CU01SAH0S00-ND +CONNECTOR USB-A cu01sav throughhole no CU01SAV1S00 digikey 2987-CU01SAV1S00-ND +CONNECTOR USB-A cu01sah throughhole no CU01SAH0S00 digikey 2987-CU01SAH0S00-ND CONNECTOR USBcable-0.81m usbcable handload no 88738-8000 mouser 538-88738-8000 CONNECTOR USBcable usbcable handload no 88728-3400 mouser 538-88728-3400 CONNECTOR USBmicroB 11071 smt no 11071 4ucon 11071 reel_16 -- 2.47.2