Skip to content

Commit

Permalink
added vertical 2u
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoles committed Apr 14, 2021
1 parent 0a5438e commit 3c6aaec
Show file tree
Hide file tree
Showing 3 changed files with 228 additions and 0 deletions.
53 changes: 53 additions & 0 deletions mbk.pretty/Choc-2u-vertical-cutout.kicad_mod
@@ -0,0 +1,53 @@
(module Choc-2u-vertical-cutout (layer F.Cu) (tedit 6076E4C3)
(fp_text reference 2u (at 0 -7.14375 180) (layer Dwgs.User)
(effects (font (size 1 1) (thickness 0.2)))
)
(fp_text value " " (at 2.5 -2 180) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.2)))
)
(fp_line (start -8.45 -10.2) (end -8.45 -13.8) (layer Edge.Cuts) (width 0.12))
(fp_line (start -8.45 -13.8) (end -3.8 -13.8) (layer Edge.Cuts) (width 0.12))
(fp_line (start -8.45 -10.2) (end -3.8 -10.2) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.8 -13.8) (end -3.8 -15.15) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.8 -8.85) (end -3.8 -10.2) (layer Edge.Cuts) (width 0.12))
(fp_line (start 3.05 -8.85) (end -3.8 -8.85) (layer Edge.Cuts) (width 0.12))
(fp_line (start 3.05 -15.15) (end -3.8 -15.15) (layer Edge.Cuts) (width 0.12))
(fp_line (start 3.05 -8.85) (end 3.05 -15.15) (layer Edge.Cuts) (width 0.12))
(fp_line (start -9 -17) (end 9 -17) (layer Dwgs.User) (width 0.1524))
(fp_line (start 9 17) (end -9 17) (layer Dwgs.User) (width 0.1524))
(fp_line (start 9 -17) (end 9 17) (layer Dwgs.User) (width 0.1524))
(fp_line (start -8.45 13.8) (end -8.45 10.2) (layer Edge.Cuts) (width 0.12))
(fp_line (start -8.45 10.2) (end -3.8 10.2) (layer Edge.Cuts) (width 0.12))
(fp_line (start -8.45 13.8) (end -3.8 13.8) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.8 10.2) (end -3.8 8.85) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.8 15.15) (end -3.8 13.8) (layer Edge.Cuts) (width 0.12))
(fp_line (start 3.05 15.15) (end -3.8 15.15) (layer Edge.Cuts) (width 0.12))
(fp_line (start 3.05 8.85) (end -3.8 8.85) (layer Edge.Cuts) (width 0.12))
(fp_line (start 3.05 15.15) (end 3.05 8.85) (layer Edge.Cuts) (width 0.12))
(fp_line (start 5.5 7.5) (end 7.5 7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start 5.5 -7.5) (end 7.5 -7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start 7.5 7.5) (end 7.5 5.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -7 -7) (end -7 7) (layer Edge.Cuts) (width 0.12))
(fp_line (start -5.5 -7.5) (end -7.5 -7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -7.5 7.5) (end -7.5 5.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -5.5 7.5) (end -7.5 7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start 7 -7) (end -7 -7) (layer Edge.Cuts) (width 0.12))
(fp_line (start 7 7) (end 7 -7) (layer Edge.Cuts) (width 0.12))
(fp_line (start -7 7) (end 7 7) (layer Edge.Cuts) (width 0.12))
(fp_line (start 7.5 -7.5) (end 7.5 -5.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -7.5 -7.5) (end -7.5 -5.5) (layer Dwgs.User) (width 0.15))
(fp_text user " " (at 2.5 -2 180) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.2)))
)
(fp_line (start -9 -17) (end -9 17) (layer F.CrtYd) (width 0.12))
(model /Users/danny/Documents/proj/custom-keyboard/kicad-libs/3d_models/mx-switch.wrl
(offset (xyz 7.4675998878479 7.4675998878479 5.943599910736085))
(scale (xyz 0.4 0.4 0.4))
(rotate (xyz 270 0 180))
)
(model /Users/danny/Documents/proj/custom-keyboard/kicad-libs/3d_models/SA-R3-1u.wrl
(offset (xyz 0 0 11.93799982070923))
(scale (xyz 0.394 0.394 0.394))
(rotate (xyz 270 0 0))
)
)
81 changes: 81 additions & 0 deletions mbk.pretty/Choc-2u-vertical-solder.kicad_mod
@@ -0,0 +1,81 @@
(module Choc-2u-vertical-solder (layer F.Cu) (tedit 6076E3D6)
(fp_text reference 2u (at 0 -7.14375 180) (layer Dwgs.User)
(effects (font (size 1 1) (thickness 0.2)))
)
(fp_text value " " (at 2.5 -2 180) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.2)))
)
(fp_line (start -5.5 -14) (end -9 -14) (layer Edge.Cuts) (width 0.12))
(fp_line (start -9 -10) (end -5.5 -10) (layer Edge.Cuts) (width 0.12))
(fp_line (start -5.5 -10) (end -5.5 -14) (layer Edge.Cuts) (width 0.12))
(fp_line (start -9 -10) (end -9 -14) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.2 -9.35) (end 2.3 -9.35) (layer Edge.Cuts) (width 0.12))
(fp_line (start 2.3 -14.65) (end -3.2 -14.65) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.2 -9.35) (end -3.2 -14.65) (layer Edge.Cuts) (width 0.12))
(fp_line (start 2.3 -9.35) (end 2.3 -14.65) (layer Edge.Cuts) (width 0.12))
(fp_line (start -8.45 -10.2) (end -8.45 -13.8) (layer Cmts.User) (width 0.12))
(fp_line (start -8.45 -13.8) (end -3.8 -13.8) (layer Cmts.User) (width 0.12))
(fp_line (start -8.45 -10.2) (end -3.8 -10.2) (layer Cmts.User) (width 0.12))
(fp_line (start -3.8 -13.8) (end -3.8 -15.15) (layer Cmts.User) (width 0.12))
(fp_line (start -3.8 -8.85) (end -3.8 -10.2) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 -8.85) (end -3.8 -8.85) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 -15.15) (end -3.8 -15.15) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 -8.85) (end 3.05 -15.15) (layer Cmts.User) (width 0.12))
(fp_line (start -9 -17) (end 9 -17) (layer Dwgs.User) (width 0.1524))
(fp_line (start -9 17) (end -9 -17) (layer Dwgs.User) (width 0.1524))
(fp_line (start 9 17) (end -9 17) (layer Dwgs.User) (width 0.1524))
(fp_line (start 9 -17) (end 9 17) (layer Dwgs.User) (width 0.1524))
(fp_line (start -5.5 10) (end -9 10) (layer Edge.Cuts) (width 0.12))
(fp_line (start -9 14) (end -5.5 14) (layer Edge.Cuts) (width 0.12))
(fp_line (start -5.5 14) (end -5.5 10) (layer Edge.Cuts) (width 0.12))
(fp_line (start -9 14) (end -9 10) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.2 14.65) (end 2.3 14.65) (layer Edge.Cuts) (width 0.12))
(fp_line (start 2.3 9.35) (end -3.2 9.35) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.2 14.65) (end -3.2 9.35) (layer Edge.Cuts) (width 0.12))
(fp_line (start 2.3 14.65) (end 2.3 9.35) (layer Edge.Cuts) (width 0.12))
(fp_line (start -8.45 13.8) (end -8.45 10.2) (layer Cmts.User) (width 0.12))
(fp_line (start -8.45 10.2) (end -3.8 10.2) (layer Cmts.User) (width 0.12))
(fp_line (start -8.45 13.8) (end -3.8 13.8) (layer Cmts.User) (width 0.12))
(fp_line (start -3.8 10.2) (end -3.8 8.85) (layer Cmts.User) (width 0.12))
(fp_line (start -3.8 15.15) (end -3.8 13.8) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 15.15) (end -3.8 15.15) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 8.85) (end -3.8 8.85) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 15.15) (end 3.05 8.85) (layer Cmts.User) (width 0.12))
(fp_line (start 5.5 7.5) (end 7.5 7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -2.65 -3.075) (end -2.65 -6.325) (layer Cmts.User) (width 0.12))
(fp_line (start 5.5 -7.5) (end 7.5 -7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start 7.5 7.5) (end 7.5 5.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -7 -7) (end -7 7) (layer Cmts.User) (width 0.12))
(fp_line (start -5.5 -7.5) (end -7.5 -7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -7.5 7.5) (end -7.5 5.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -5.5 7.5) (end -7.5 7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start 7 -7) (end -7 -7) (layer Cmts.User) (width 0.12))
(fp_line (start 2.65 -3.075) (end -2.65 -3.075) (layer Cmts.User) (width 0.12))
(fp_line (start 7 7) (end 7 -7) (layer Cmts.User) (width 0.12))
(fp_line (start -7 7) (end 7 7) (layer Cmts.User) (width 0.12))
(fp_line (start -2.65 -6.325) (end 2.65 -6.325) (layer Cmts.User) (width 0.12))
(fp_line (start 2.65 -6.325) (end 2.65 -3.075) (layer Cmts.User) (width 0.12))
(fp_line (start 7.5 -7.5) (end 7.5 -5.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -7.5 -7.5) (end -7.5 -5.5) (layer Dwgs.User) (width 0.15))
(fp_text user REF** (at 0 2.675) (layer Dwgs.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user " " (at 2.5 -2 180) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.2)))
)
(pad 2 thru_hole circle (at -5 3.8 41.9) (size 2 2) (drill 1.2) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.5 0 180) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at 0 5.9 180) (size 2 2) (drill 1.2) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0 90) (size 3.4 3.4) (drill 3.4) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.5 0 180) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask))
(model /Users/danny/Documents/proj/custom-keyboard/kicad-libs/3d_models/mx-switch.wrl
(offset (xyz 7.4675998878479 7.4675998878479 5.943599910736085))
(scale (xyz 0.4 0.4 0.4))
(rotate (xyz 270 0 180))
)
(model /Users/danny/Documents/proj/custom-keyboard/kicad-libs/3d_models/SA-R3-1u.wrl
(offset (xyz 0 0 11.93799982070923))
(scale (xyz 0.394 0.394 0.394))
(rotate (xyz 270 0 0))
)
)
94 changes: 94 additions & 0 deletions mbk.pretty/Choc-2u-vertical.kicad_mod
@@ -0,0 +1,94 @@
(module Choc-2u-vertical (layer F.Cu) (tedit 6076E361)
(fp_text reference 2u (at 0 -7.14375 180) (layer Dwgs.User)
(effects (font (size 1 1) (thickness 0.2)))
)
(fp_text value " " (at 2.5 -2 180) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.2)))
)
(fp_arc (start 1.3 7.225) (end 1.3 8.225) (angle -90) (layer B.SilkS) (width 0.15))
(fp_line (start -3.725 1.375) (end -2.45 2.4) (layer B.SilkS) (width 0.15))
(fp_line (start 1.3 3.575) (end -1.275 3.575) (layer B.SilkS) (width 0.15))
(fp_arc (start -4.3 8.3) (end -4.3 6.025) (angle 70) (layer B.SilkS) (width 0.15))
(fp_line (start -7.3 2.4) (end -6.275 1.375) (layer B.SilkS) (width 0.15))
(fp_arc (start 1.3 4.575) (end 1.3 3.575) (angle 90) (layer B.SilkS) (width 0.15))
(fp_line (start 1.3 8.225) (end -1.3 8.225) (layer B.SilkS) (width 0.15))
(fp_arc (start -1.275 2.4) (end -1.275 3.575) (angle 90) (layer B.SilkS) (width 0.15))
(fp_line (start -7.3 5) (end -6.275 6.025) (layer B.SilkS) (width 0.15))
(fp_line (start -3.725 1.375) (end -6.275 1.375) (layer B.SilkS) (width 0.15))
(fp_line (start -4.3 6.025) (end -6.275 6.025) (layer B.SilkS) (width 0.15))
(fp_arc (start -1.262199 7.296904) (end -2.162199 7.521904) (angle -73.56696737) (layer B.SilkS) (width 0.15))
(fp_line (start -7.3 2.4) (end -7.3 5) (layer B.SilkS) (width 0.15))
(fp_line (start 2.3 4.575) (end 2.3 7.225) (layer B.SilkS) (width 0.15))
(fp_line (start -7.5 7.5) (end -7.5 5.5) (layer Dwgs.User) (width 0.15))
(fp_line (start 7.5 7.5) (end 7.5 5.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -5.5 7.5) (end -7.5 7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start 5.5 7.5) (end 7.5 7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -5.5 -7.5) (end -7.5 -7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -7.5 -7.5) (end -7.5 -5.5) (layer Dwgs.User) (width 0.15))
(fp_line (start 7.5 -7.5) (end 7.5 -5.5) (layer Dwgs.User) (width 0.15))
(fp_line (start 5.5 -7.5) (end 7.5 -7.5) (layer Dwgs.User) (width 0.15))
(fp_line (start -5.5 -14) (end -9 -14) (layer Edge.Cuts) (width 0.12))
(fp_line (start -9 -10) (end -5.5 -10) (layer Edge.Cuts) (width 0.12))
(fp_line (start -5.5 -10) (end -5.5 -14) (layer Edge.Cuts) (width 0.12))
(fp_line (start -9 -10) (end -9 -14) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.2 -9.35) (end 2.3 -9.35) (layer Edge.Cuts) (width 0.12))
(fp_line (start 2.3 -14.65) (end -3.2 -14.65) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.2 -9.35) (end -3.2 -14.65) (layer Edge.Cuts) (width 0.12))
(fp_line (start 2.3 -9.35) (end 2.3 -14.65) (layer Edge.Cuts) (width 0.12))
(fp_line (start -8.45 -10.2) (end -8.45 -13.8) (layer Cmts.User) (width 0.12))
(fp_line (start -8.45 -13.8) (end -3.8 -13.8) (layer Cmts.User) (width 0.12))
(fp_line (start -8.45 -10.2) (end -3.8 -10.2) (layer Cmts.User) (width 0.12))
(fp_line (start -3.8 -13.8) (end -3.8 -15.15) (layer Cmts.User) (width 0.12))
(fp_line (start -3.8 -8.85) (end -3.8 -10.2) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 -8.85) (end -3.8 -8.85) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 -15.15) (end -3.8 -15.15) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 -8.85) (end 3.05 -15.15) (layer Cmts.User) (width 0.12))
(fp_line (start -9 -17) (end 9 -17) (layer Dwgs.User) (width 0.1524))
(fp_line (start -9 17) (end -9 -17) (layer Dwgs.User) (width 0.1524))
(fp_line (start 9 17) (end -9 17) (layer Dwgs.User) (width 0.1524))
(fp_line (start 9 -17) (end 9 17) (layer Dwgs.User) (width 0.1524))
(fp_line (start -5.5 10) (end -9 10) (layer Edge.Cuts) (width 0.12))
(fp_line (start -9 14) (end -5.5 14) (layer Edge.Cuts) (width 0.12))
(fp_line (start -5.5 14) (end -5.5 10) (layer Edge.Cuts) (width 0.12))
(fp_line (start -9 14) (end -9 10) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.2 14.65) (end 2.3 14.65) (layer Edge.Cuts) (width 0.12))
(fp_line (start 2.3 9.35) (end -3.2 9.35) (layer Edge.Cuts) (width 0.12))
(fp_line (start -3.2 14.65) (end -3.2 9.35) (layer Edge.Cuts) (width 0.12))
(fp_line (start 2.3 14.65) (end 2.3 9.35) (layer Edge.Cuts) (width 0.12))
(fp_line (start -8.45 13.8) (end -8.45 10.2) (layer Cmts.User) (width 0.12))
(fp_line (start -8.45 10.2) (end -3.8 10.2) (layer Cmts.User) (width 0.12))
(fp_line (start -8.45 13.8) (end -3.8 13.8) (layer Cmts.User) (width 0.12))
(fp_line (start -3.8 10.2) (end -3.8 8.85) (layer Cmts.User) (width 0.12))
(fp_line (start -3.8 15.15) (end -3.8 13.8) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 15.15) (end -3.8 15.15) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 8.85) (end -3.8 8.85) (layer Cmts.User) (width 0.12))
(fp_line (start 3.05 15.15) (end 3.05 8.85) (layer Cmts.User) (width 0.12))
(fp_line (start 2.65 -6.325) (end 2.65 -3.075) (layer Cmts.User) (width 0.12))
(fp_line (start 2.65 -3.075) (end -2.65 -3.075) (layer Cmts.User) (width 0.12))
(fp_line (start -2.65 -6.325) (end 2.65 -6.325) (layer Cmts.User) (width 0.12))
(fp_line (start -2.65 -3.075) (end -2.65 -6.325) (layer Cmts.User) (width 0.12))
(fp_line (start -7 7) (end 7 7) (layer Cmts.User) (width 0.12))
(fp_line (start 7 7) (end 7 -7) (layer Cmts.User) (width 0.12))
(fp_line (start 7 -7) (end -7 -7) (layer Cmts.User) (width 0.12))
(fp_line (start -7 -7) (end -7 7) (layer Cmts.User) (width 0.12))
(fp_text user REF** (at 0 2.675) (layer Dwgs.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 1 smd rect (at -7.8 3.7 180) (size 1.6 2.2) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at 0 5.9 90) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5 3.8 90) (size 3 3) (drill 3) (layers *.Cu *.Mask))
(pad 2 smd rect (at 2.8 5.9 180) (size 1.6 2.2) (layers B.Cu B.Paste B.Mask))
(pad "" np_thru_hole circle (at 0 0 90) (size 3.4 3.4) (drill 3.4) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.5 0 270) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.5 0 180) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask))
(model /Users/danny/Documents/proj/custom-keyboard/kicad-libs/3d_models/mx-switch.wrl
(offset (xyz 7.4675998878479 7.4675998878479 5.943599910736085))
(scale (xyz 0.4 0.4 0.4))
(rotate (xyz 270 0 180))
)
(model /Users/danny/Documents/proj/custom-keyboard/kicad-libs/3d_models/SA-R3-1u.wrl
(offset (xyz 0 0 11.93799982070923))
(scale (xyz 0.394 0.394 0.394))
(rotate (xyz 270 0 0))
)
)

0 comments on commit 3c6aaec

Please sign in to comment.