]> git.gag.com Git - hw/altusmetrum/commitdiff
add small SMT push button switch footprint, horizontal USB A to pref parts
authorBdale Garbee <bdale@gag.com>
Wed, 31 Jul 2024 23:03:42 +0000 (17:03 -0600)
committerBdale Garbee <bdale@gag.com>
Wed, 31 Jul 2024 23:03:42 +0000 (17:03 -0600)
packages/PTS815.py
preferred-parts

index 8faf561a9ab5f966bce9840387f214aea1150304..9d20c49c4c102e449d97a408753804bafc3e07be 100755 (executable)
@@ -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(")")
index 296813a8aed21467ffa8ef6484b0c2ef2f0d642a..85eef561b679369602d999d81d07d0849c24d37e 100644 (file)
@@ -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