Skip to content

Commit

Permalink
Add new footprints
Browse files Browse the repository at this point in the history
  • Loading branch information
foostan committed Jul 29, 2019
1 parent a17445b commit c82c4c4
Show file tree
Hide file tree
Showing 8 changed files with 264 additions and 6 deletions.
33 changes: 33 additions & 0 deletions kbd.pretty/CherryMX-Hotswap-v2.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
(module CherryMX-Hotswap-v2 (layer F.Cu) (tedit 5BC2AA2F)
(fp_text reference REF** (at 0 3.175) (layer Dwgs.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value 1U (at 0 -7.9375) (layer Dwgs.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 5 -7) (end 7 -7) (layer Dwgs.User) (width 0.15))
(fp_line (start 7 -7) (end 7 -5) (layer Dwgs.User) (width 0.15))
(fp_line (start 5 7) (end 7 7) (layer Dwgs.User) (width 0.15))
(fp_line (start 7 7) (end 7 5) (layer Dwgs.User) (width 0.15))
(fp_line (start -7 5) (end -7 7) (layer Dwgs.User) (width 0.15))
(fp_line (start -7 7) (end -5 7) (layer Dwgs.User) (width 0.15))
(fp_line (start -5 -7) (end -7 -7) (layer Dwgs.User) (width 0.15))
(fp_line (start -7 -7) (end -7 -5) (layer Dwgs.User) (width 0.15))
(fp_line (start -9.525 -9.525) (end 9.525 -9.525) (layer Dwgs.User) (width 0.15))
(fp_line (start 9.525 -9.525) (end 9.525 9.525) (layer Dwgs.User) (width 0.15))
(fp_line (start 9.525 9.525) (end -9.525 9.525) (layer Dwgs.User) (width 0.15))
(fp_line (start -9.525 9.525) (end -9.525 -9.525) (layer Dwgs.User) (width 0.15))
(pad 2 thru_hole circle (at 2.54 -5.08) (size 4 4) (drill 3) (layers *.Cu))
(pad "" np_thru_hole circle (at 0 0) (size 3.9878 3.9878) (drill 3.9878) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at -3.81 -2.54) (size 4 4) (drill 3) (layers *.Cu))
(pad "" np_thru_hole circle (at -5.08 0 48.0996) (size 1.75 1.75) (drill 1.75) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.08 0 48.0996) (size 1.75 1.75) (drill 1.75) (layers *.Cu *.Mask))
(pad 1 smd rect (at -7.085 -2.54) (size 2.55 2.5) (layers B.Paste B.Mask))
(pad 2 smd rect (at 5.815 -5.08) (size 2.55 2.5) (layers B.Paste B.Mask))
(pad 1 thru_hole circle (at -8.89 -3.302) (size 0.8 0.8) (drill 0.4) (layers *.Cu))
(pad 2 thru_hole circle (at 7.62 -5.842) (size 0.8 0.8) (drill 0.4) (layers *.Cu))
(pad 1 thru_hole circle (at -8.89 -1.778) (size 0.8 0.8) (drill 0.4) (layers *.Cu))
(pad 2 thru_hole circle (at 7.62 -4.318) (size 0.8 0.8) (drill 0.4) (layers *.Cu))
(pad 1 smd rect (at -7.085 -2.54) (size 4.5 2.5) (layers B.Cu))
(pad 2 smd rect (at 5.842 -5.08) (size 4.5 2.5) (layers B.Cu))
)
33 changes: 33 additions & 0 deletions kbd.pretty/CherryMX_Hotswap_v2.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
(module CherryMX_Hotswap_v2 (layer F.Cu) (tedit 5CC05754)
(fp_text reference SW1 (at 0 3.175) (layer Dwgs.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_PUSH (at 0 -7.9375) (layer Dwgs.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -9.525 9.525) (end -9.525 -9.525) (layer Dwgs.User) (width 0.15))
(fp_line (start 9.525 9.525) (end -9.525 9.525) (layer Dwgs.User) (width 0.15))
(fp_line (start 9.525 -9.525) (end 9.525 9.525) (layer Dwgs.User) (width 0.15))
(fp_line (start -9.525 -9.525) (end 9.525 -9.525) (layer Dwgs.User) (width 0.15))
(fp_line (start -7 -7) (end -7 -6) (layer F.SilkS) (width 0.15))
(fp_line (start -6 -7) (end -7 -7) (layer F.SilkS) (width 0.15))
(fp_line (start -7 7) (end -6 7) (layer F.SilkS) (width 0.15))
(fp_line (start -7 6) (end -7 7) (layer F.SilkS) (width 0.15))
(fp_line (start 7 7) (end 7 6) (layer F.SilkS) (width 0.15))
(fp_line (start 6 7) (end 7 7) (layer F.SilkS) (width 0.15))
(fp_line (start 7 -7) (end 7 -6) (layer F.SilkS) (width 0.15))
(fp_line (start 6 -7) (end 7 -7) (layer F.SilkS) (width 0.15))
(pad 2 smd rect (at 5.842 -5.08) (size 4.5 2.8) (layers B.Cu))
(pad 1 smd rect (at -7.085 -2.54) (size 4.5 2.8) (layers B.Cu))
(pad 2 thru_hole circle (at 7.62 -4.118) (size 0.8 0.8) (drill 0.4) (layers *.Cu))
(pad 1 thru_hole circle (at -8.89 -1.578) (size 0.8 0.8) (drill 0.4) (layers *.Cu))
(pad 2 thru_hole circle (at 7.62 -6.042) (size 0.8 0.8) (drill 0.4) (layers *.Cu))
(pad 1 thru_hole circle (at -8.89 -3.502) (size 0.8 0.8) (drill 0.4) (layers *.Cu))
(pad 2 smd rect (at 5.815 -5.08) (size 2.55 2.8) (layers B.Paste B.Mask))
(pad 1 smd rect (at -7.085 -2.54) (size 2.55 2.8) (layers B.Paste B.Mask))
(pad "" np_thru_hole circle (at 5.08 0 48.0996) (size 1.75 1.75) (drill 1.75) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.08 0 48.0996) (size 1.75 1.75) (drill 1.75) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at -3.81 -2.54) (size 3.5 3.5) (drill 3) (layers *.Cu))
(pad "" np_thru_hole circle (at 0 0) (size 3.9878 3.9878) (drill 3.9878) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 2.54 -5.08) (size 3.5 3.5) (drill 3) (layers *.Cu))
)
28 changes: 28 additions & 0 deletions kbd.pretty/D3_SMD_v2.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
(module D3_SMD_v2 (layer F.Cu) (tedit 5CC6A996)
(descr "Resitance 3 pas")
(tags R)
(autoplace_cost180 10)
(fp_text reference D24 (at 0.5 0) (layer F.Fab) hide
(effects (font (size 0.5 0.5) (thickness 0.125)))
)
(fp_text value D (at -0.6 0) (layer F.Fab) hide
(effects (font (size 0.5 0.5) (thickness 0.125)))
)
(fp_line (start -0.5 -0.5) (end -0.5 0.5) (layer F.SilkS) (width 0.15))
(fp_line (start -0.4 0) (end 0.5 -0.5) (layer F.SilkS) (width 0.15))
(fp_line (start 0.5 0.5) (end -0.4 0) (layer F.SilkS) (width 0.15))
(fp_line (start 0.5 -0.5) (end 0.5 0.5) (layer F.SilkS) (width 0.15))
(fp_line (start 2.7 -0.75) (end 2.7 0.75) (layer F.SilkS) (width 0.15))
(fp_line (start -2.7 -0.75) (end -2.7 0.75) (layer F.SilkS) (width 0.15))
(fp_line (start 2.7 -0.75) (end -2.7 -0.75) (layer F.SilkS) (width 0.15))
(fp_line (start -2.7 0.75) (end 2.7 0.75) (layer F.SilkS) (width 0.15))
(pad 1 smd rect (at -1.775 0) (size 2 1) (layers F.Cu))
(pad 2 smd rect (at 1.775 0) (size 1.4 1) (layers F.Paste F.Mask))
(pad 1 smd rect (at -1.775 0) (size 1.4 1) (layers F.Paste F.Mask))
(pad 2 smd rect (at 1.775 0) (size 2 1) (layers F.Cu))
(model Diodes_SMD.3dshapes/SMB_Handsoldering.wrl
(at (xyz 0 0 0))
(scale (xyz 0.22 0.15 0.15))
(rotate (xyz 0 0 180))
)
)
2 changes: 1 addition & 1 deletion kbd.pretty/HOLE.kicad_mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(module HOLE (layer F.Cu) (tedit 5B7ABFA8)
(module HOLE (layer F.Cu) (tedit 5CC0625B)
(descr "Mounting Hole 2.2mm, no annular, M2")
(tags "mounting hole 2.2mm no annular m2")
(attr virtual)
Expand Down
12 changes: 12 additions & 0 deletions kbd.pretty/M2_HOLE.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(module M2_HOLE (layer F.Cu) (tedit 5CD83928)
(descr "Mounting Hole 2.2mm, no annular, M2")
(tags "mounting hole 2.2mm no annular m2")
(attr virtual)
(fp_text reference Ref** (at -0.95 -0.55) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Val** (at 0 0.55) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" thru_hole circle (at 0 0) (size 6.5 6.5) (drill 4.2) (layers *.Cu *.Mask))
)
12 changes: 12 additions & 0 deletions kbd.pretty/M2_HOLE_v2.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(module M2_HOLE_v2 (layer F.Cu) (tedit 5CC5B725)
(descr "Mounting Hole 2.2mm, no annular, M2")
(tags "mounting hole 2.2mm no annular m2")
(attr virtual)
(fp_text reference Ref** (at -0.95 -0.55) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Val** (at 0 0.55) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" thru_hole circle (at 0 0) (size 4.8 4.8) (drill 4.8) (layers *.Cu *.Mask))
)
140 changes: 140 additions & 0 deletions kbd.pretty/ProMicro_v3.5.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
(module ProMicro_v3.5 (layer F.Cu) (tedit 5CC05BC0)
(fp_text reference U1 (at 0 -5 270) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value ProMicro_r (at -0.1 0.05 90) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user MicroUSB (at -0.05 -18.95) (layer F.SilkS)
(effects (font (size 0.75 0.75) (thickness 0.12)))
)
(fp_line (start -0.15 -20.4) (end 0.15 -20.4) (layer F.SilkS) (width 0.15))
(fp_line (start -0.25 -20.55) (end 0.25 -20.55) (layer F.SilkS) (width 0.15))
(fp_line (start -0.35 -20.7) (end 0.35 -20.7) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -20.2) (end -0.5 -20.85) (layer F.SilkS) (width 0.15))
(fp_line (start 0.5 -20.85) (end 0 -20.2) (layer F.SilkS) (width 0.15))
(fp_line (start -0.5 -20.85) (end 0.5 -20.85) (layer F.SilkS) (width 0.15))
(fp_line (start 3.75 -21.2) (end -3.75 -21.2) (layer F.SilkS) (width 0.15))
(fp_line (start 3.75 -19.9) (end 3.75 -21.2) (layer F.SilkS) (width 0.15))
(fp_line (start -3.75 -19.9) (end 3.75 -19.9) (layer F.SilkS) (width 0.15))
(fp_line (start -3.75 -21.2) (end -3.75 -19.9) (layer F.SilkS) (width 0.15))
(fp_line (start 3.76 -18.3) (end 8.9 -18.3) (layer F.Fab) (width 0.15))
(fp_line (start -3.75 -18.3) (end 3.75 -18.3) (layer F.Fab) (width 0.15))
(fp_line (start -3.75 -19.6) (end -3.75 -18.299039) (layer F.Fab) (width 0.15))
(fp_line (start 3.75 -19.6) (end 3.75 -18.3) (layer F.Fab) (width 0.15))
(fp_line (start -3.75 -19.6) (end 3.75 -19.6) (layer F.Fab) (width 0.15))
(fp_text user B4/8 (at 10.605 10.9 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user D2/RX1 (at 11.055 -11.9 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user B5/9 (at 10.605 13.4 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user C6/5 (at 10.605 3.25 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user SCL/D0/3 (at 11.755 -1.7 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user SDA/D1/2 (at 11.755 -4.2 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user D4/4 (at 10.605 0.7 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user D3/TX0 (at 11.055 -14.45 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user GND (at 10.105 -6.85 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user GND (at 10.105 -9.3 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user D7/6 (at 10.605 5.8 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user E6/7 (at 10.605 8.35 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user 16/B2 (at -10.845 10.95 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user 10/B6 (at -10.845 13.45 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user 14/B3 (at -10.845 8.4 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user 15/B1 (at -10.845 5.85 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user A0/F7 (at -10.845 3.3 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user A1/F6 (at -10.845 0.75 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user A2/F5 (at -10.845 -1.75 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user A3/F4 (at -10.845 -4.25 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user VCC (at -10.195 -6.95 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user RST (at -10.195 -9.4 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user GND (at -10.195 -11.95 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_text user RAW (at -10.195 -14.5 unlocked) (layer F.SilkS)
(effects (font (size 0.75 0.67) (thickness 0.125)))
)
(fp_line (start -8.9 -18.3) (end -3.75 -18.3) (layer F.Fab) (width 0.15))
(fp_line (start 8.9 -18.3) (end 8.9 14.75) (layer F.Fab) (width 0.15))
(fp_line (start 8.9 14.75) (end -8.9 14.75) (layer F.Fab) (width 0.15))
(fp_line (start -8.9 14.75) (end -8.9 -18.3) (layer F.Fab) (width 0.15))
(fp_text user "" (at -0.545 -17.4) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user "" (at -1.2515 -16.256) (layer B.SilkS)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -8.9 -18.3) (end -8.9 -17.3) (layer F.SilkS) (width 0.15))
(fp_line (start 8.9 -18.3) (end 8.9 -17.3) (layer F.SilkS) (width 0.15))
(fp_line (start -8.9 -18.3) (end -7.9 -18.3) (layer F.SilkS) (width 0.15))
(fp_line (start 8.9 -18.3) (end 7.95 -18.3) (layer F.SilkS) (width 0.15))
(fp_line (start -8.9 13.7) (end -8.9 14.75) (layer F.SilkS) (width 0.15))
(fp_line (start 8.9 13.75) (end 8.9 14.75) (layer F.SilkS) (width 0.15))
(fp_line (start -8.9 14.75) (end -7.9 14.75) (layer F.SilkS) (width 0.15))
(fp_line (start 8.9 14.75) (end 7.89 14.75) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 7.6114 -14.478) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 2 thru_hole circle (at 7.6114 -11.938) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 3 thru_hole circle (at 7.6114 -9.398) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 4 thru_hole circle (at 7.6114 -6.858) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 5 thru_hole circle (at 7.6114 -4.318) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 6 thru_hole circle (at 7.6114 -1.778) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 7 thru_hole circle (at 7.6114 0.762) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 8 thru_hole circle (at 7.6114 3.302) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 9 thru_hole circle (at 7.6114 5.842) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 10 thru_hole circle (at 7.6114 8.382) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 11 thru_hole circle (at 7.6114 10.922) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 12 thru_hole circle (at 7.6114 13.462) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 13 thru_hole circle (at -7.6086 13.462) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 14 thru_hole circle (at -7.6086 10.922) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 15 thru_hole circle (at -7.6086 8.382) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 16 thru_hole circle (at -7.6086 5.842) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 17 thru_hole circle (at -7.6086 3.302) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 18 thru_hole circle (at -7.6086 0.762) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 19 thru_hole circle (at -7.6086 -1.778) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 20 thru_hole circle (at -7.6086 -4.318) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 21 thru_hole circle (at -7.6086 -6.858) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 22 thru_hole circle (at -7.6086 -9.398) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 23 thru_hole circle (at -7.6086 -11.938) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
(pad 24 thru_hole circle (at -7.6086 -14.478) (size 1.524 1.524) (drill 0.8128) (layers *.Cu F.SilkS B.Mask))
)
10 changes: 5 additions & 5 deletions kbd.pretty/StripLED_1side.kicad_mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
(module StripLED_1side (layer F.Cu) (tedit 5C226C37)
(fp_text reference J5 (at 0 -2.54) (layer F.SilkS) hide
(module StripLED_1side (layer F.Cu) (tedit 5CC6A803)
(fp_text reference J2 (at 0 -2.54) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value LED (at 0 7.62) (layer F.Fab) hide
(fp_text value led (at 0 7.62) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user VCC (at 2.7 5.1) (layer F.SilkS)
(fp_text user VCC (at -2.75 0.1) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user LED (at -2.71 2.56) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user GND (at 2.6 0.1) (layer F.SilkS)
(fp_text user GND (at -2.8 5.15) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 3 smd rect (at 0 5.08) (size 1.524 1.524) (layers F.Cu F.Mask))
Expand Down

0 comments on commit c82c4c4

Please sign in to comment.