Skip to content

Commit

Permalink
Convert overlapping drill slots for KailhPG1511-etc to use edge cuts
Browse files Browse the repository at this point in the history
KailhPG1511-PG1425-PG1350-PG1280,ALPS contains three NPTHs for keyswitch
mounts. These were originally drawn as a series of overlapping drills.
This change converts those to edge cuts to reduce the possibility of
manufacturing error.
  • Loading branch information
bhickey committed Feb 9, 2020
1 parent 3e36133 commit 39a1b1d
Showing 1 changed file with 16 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
(module KailhPG1511-PG1425-PG1350-PG1280,ALPS (layer F.Cu) (tedit 5DE6B00D)
(module KailhPG1511-PG1425-PG1350-PG1280,ALPS (layer F.Cu) (tedit 5E400C3E)
(attr smd)
(fp_text reference REF** (at -0.16 -7.75) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value REF** (at -0.16 -7.75) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 2.5 1.1) (end -2.5 1.1) (layer Eco2.User) (width 0.12))
(fp_line (start -2.5 1.1) (end -2.5 -3) (layer Eco2.User) (width 0.12))
(fp_line (start -2.5 -3) (end 2.5 -3) (layer Eco2.User) (width 0.12))
(fp_line (start 2.5 -3) (end 2.5 1.1) (layer Eco2.User) (width 0.12))
(fp_line (start 2.5 1.1) (end 1.651 1.1) (layer Edge.Cuts) (width 0.12))
(fp_line (start -2.5 1.1) (end -2.5 -3) (layer Edge.Cuts) (width 0.12))
(fp_line (start -2.5 -3) (end 2.5 -3) (layer Edge.Cuts) (width 0.12))
(fp_line (start 2.5 -3) (end 2.5 1.1) (layer Edge.Cuts) (width 0.12))
(fp_line (start 0.25 -4.5) (end -0.25 -4.5) (layer Dwgs.User) (width 0.12))
(fp_line (start -0.25 -4.5) (end -0.25 -5) (layer Dwgs.User) (width 0.12))
(fp_line (start -0.25 -5) (end 0.25 -5) (layer Dwgs.User) (width 0.12))
(fp_line (start 0.25 -5) (end 0.25 -4.5) (layer Dwgs.User) (width 0.12))
(fp_text user "CPG1511, CPG1425, CPG1350, CPG1280, ALPS" (at 2 11) (layer Cmts.User) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 4.5 0.25) (end 4.5 -0.25) (layer Dwgs.User) (width 0.12))
(fp_line (start 4.5 -0.25) (end 5 -0.25) (layer Dwgs.User) (width 0.12))
(fp_line (start 5 -0.25) (end 5 0.25) (layer Dwgs.User) (width 0.12))
(fp_line (start 5 0.25) (end 4.5 0.25) (layer Dwgs.User) (width 0.12))
(fp_line (start -7 7) (end -7 -7) (layer Dwgs.User) (width 0.12))
(fp_line (start 6 7) (end 7 7) (layer B.SilkS) (width 0.1))
(fp_line (start -6.1 6.1) (end -6.1 -6.1) (layer Cmts.User) (width 0.12))
Expand Down Expand Up @@ -52,17 +48,21 @@
(fp_line (start 9.5 -9.5) (end 9.5 9.5) (layer Dwgs.User) (width 0.12))
(fp_line (start 9.5 9.5) (end -9.5 9.5) (layer Dwgs.User) (width 0.12))
(fp_line (start -9.5 9.5) (end -9.5 -9.5) (layer Dwgs.User) (width 0.12))
(pad "" np_thru_hole oval (at 1.55 -0.95 90) (size 4.2 2) (drill oval 4.2 2) (layers *.Cu *.Mask))
(pad "" np_thru_hole oval (at -1.55 -0.95 90) (size 4.2 2) (drill oval 4.2 2) (layers *.Cu *.Mask))
(pad "" np_thru_hole oval (at 0 -0.95 90) (size 4.1 5.1) (drill oval 4.1 5.1) (layers *.Cu *.Mask))
(pad "" np_thru_hole oval (at 0 -2.9 90) (size 0.3 5) (drill oval 0.3 5) (layers *.Cu *.Mask))
(fp_arc (start -5.5 0) (end -5.5 -1) (angle -180) (layer Edge.Cuts) (width 0.12))
(fp_arc (start -4.5 0) (end -4.250001 0.749999) (angle -143.1) (layer Edge.Cuts) (width 0.12))
(fp_line (start -5.5 -1) (end -4.25 -0.75) (layer Edge.Cuts) (width 0.12))
(fp_line (start -5.5 1) (end -4.250001 0.749999) (layer Edge.Cuts) (width 0.12))
(fp_arc (start 4.5 0) (end 4.250001 -0.749999) (angle -143.1) (layer Edge.Cuts) (width 0.12))
(fp_line (start 5.5 1) (end 4.25 0.75) (layer Edge.Cuts) (width 0.12))
(fp_line (start 5.5 -1) (end 4.250001 -0.749999) (layer Edge.Cuts) (width 0.12))
(fp_arc (start 5.5 0) (end 5.5 1) (angle -180) (layer Edge.Cuts) (width 0.12))
(fp_arc (start 0 0) (end -1.650999 1.1) (angle -56.3) (layer Edge.Cuts) (width 0.12))
(fp_arc (start 0 0) (end 1.650999 1.1) (angle 56.3) (layer Edge.Cuts) (width 0.12))
(fp_line (start -1.651 1.1) (end -2.5 1.1) (layer Edge.Cuts) (width 0.12))
(pad 1 thru_hole circle (at 3.4 -2 270) (size 1.35 1.35) (drill 1.1) (layers *.Cu *.Mask)
(clearance 0.13))
(pad "" np_thru_hole circle (at -5.5 -5.5 90) (size 1.3 1.3) (drill 1.3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.5 5.5 90) (size 1.3 1.3) (drill 1.3) (layers *.Cu *.Mask))
(pad "" np_thru_hole oval (at 0 1 90) (size 0.3 5) (drill oval 0.3 5) (layers *.Cu *.Mask))
(pad "" np_thru_hole oval (at 2.4 -0.95 90) (size 4.1 0.3) (drill oval 4.1 0.3) (layers *.Cu *.Mask))
(pad "" np_thru_hole oval (at -2.4 -0.95 90) (size 4.1 0.3) (drill oval 4.1 0.3) (layers *.Cu *.Mask))
(pad 2 smd oval (at 2.77 2.73 120) (size 0.5 3) (layers B.Cu B.Mask))
(pad 2 smd oval (at 4.52 3.29 40) (size 2 3.25) (layers B.Cu B.Mask)
(zone_connect 0))
Expand All @@ -71,19 +71,9 @@
(pad 1 thru_hole oval (at -2.68 4.45 15) (size 2.25 4) (drill oval 1.75 3.5) (layers *.Cu *.Mask)
(zone_connect 0))
(pad 2 thru_hole oval (at 2.3 3.8 130) (size 2.4 2) (drill oval 1.9 1.3) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.4 3.4) (drill 3.4) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.5 0) (size 1.9 1.9) (drill 1.9) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 5 3.8 180) (size 1.7 1.7) (drill 1.2) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -4.5 0) (size 1.5 1.5) (drill 1.5) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 4.5 0) (size 1.5 1.5) (drill 1.5) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 4 4) (drill 4) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -5.08 0 180) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.08 0 180) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0 180) (size 4 4) (drill 4) (layers *.Cu *.Mask))
(pad 2 thru_hole oval (at 3.8 2.8 210) (size 2.35 1.6) (drill oval 1.85 1) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at 0 5.9 180) (size 1.5 1.5) (drill 1.2) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 5.5 0) (size 1.9 1.9) (drill 1.9) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 3.4 3.4) (drill 3.4) (layers *.Cu *.Mask))
(pad 1 smd oval (at -1.25 5.79 175) (size 4 1.5) (layers B.Cu B.Mask))
(model :LOCAL_3d:keyboardio/mx_style_switch.stp
(offset (xyz 0 0 6.55))
Expand Down

0 comments on commit 39a1b1d

Please sign in to comment.