switch to through-hole version of switch, add to pref parts
authorBdale Garbee <bdale@gag.com>
Thu, 29 Apr 2021 23:05:57 +0000 (17:05 -0600)
committerBdale Garbee <bdale@gag.com>
Thu, 29 Apr 2021 23:05:57 +0000 (17:05 -0600)
packages/.gitignore
packages/LPH.py
preferred-parts

index ff73fb63c55852b4105061e73c7d49fbbbfd7a69..2f97b241bfa398e3e9c5a095ff9f5b70b0d83153 100644 (file)
@@ -129,3 +129,5 @@ ECX2236.fp
 trapc5mx.fp
 SOIJ4.fp
 SOIJ8.fp
+AT1220.fp
+LPH.fp
index 48aa279d859c809bad3f184fb335e82bc402e91b..48ee2b43d3563df880b8ee36105e1e74b9d0fe08 100755 (executable)
@@ -9,6 +9,8 @@
 PinDiam = 1.0
 RowSpacing = 4.5
 ColumnSpacing = 6.5
+BodyHeight = 6.0
+BodyWidth = 6.0
 
 import sys
 
@@ -59,4 +61,33 @@ print('   Pin[',\
         mm2mils100(PinDiam), \
        '"pin2" "2" 0x0000]')
 
+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 39ed36d9e8ad2a2355fb4e9c4c5280ea54fcdff0..f57cbbf6bdd3c76d24dabfffce6b54db39ac0820 100644 (file)
@@ -264,6 +264,7 @@ RESISTOR    6.8     0402    smt     no      ERJ-U02F6R80X   digikey 10-ERJ-U02F6R80XCT-ND   reel8mm
 RESISTOR       8.06k   0402    smt     no      ERJ-2RKF8061X   digikey P8.06KLCT-ND    reel8mm
 RESISTOR       8.45k   0402    smt     no      ERJ-2RKF8451X   digikey P8.45KLCT-ND    reel8mm
 RESISTOR       9.09k   0402    smt     no      ERJ-2RKF9091X   digikey P9.09KLCT-ND    reel8mm
+SWITCH PUSHNO  LPH     throughhole     no      1301.9307       mouser  693-1301.9307   
 SWITCH On/OFF  PNswitchDPDT    throughhole     no      PN22SJNA03QE    mouser  611-PN22SJNA03QE
 SWITCH SPDT    SK12F17 throughhole     no      SK12F17G7       mouser  611-SK-12F17-G7
 SWITCH SPDT    cus-12  smt     no      CUS-12TB        digikey 563-1102-1-ND
@@ -274,4 +275,4 @@ SWITCH      A6R-102R        A6R-102R        throughhole     no      A6R-102R        mouser  653-A6R-102RF
 SWITCH SPST    pts645  smt     no      PTS645SM43SMTR92 LFS    digikey CKN9112TR-ND
 SWITCH SPDT    l102    throughhole     no      L102011MS02Q    digikey CKC5107-ND
 SWITCH DPST    l201    throughhole     no      L201011MS02Q    digikey CKN11876-ND
-SWITCH SWITCH_PUSHBUTTON_NO    LPH     throughhole     no      1301.9307       mouser  693-1301.9307
+