Skip to content

Commit 39a1b1d

Browse files
committed
Convert overlapping drill slots for KailhPG1511-etc to use edge cuts
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.
1 parent 3e36133 commit 39a1b1d

File tree

1 file changed

+16
-26
lines changed

1 file changed

+16
-26
lines changed

modules/keyboardio.pretty/KailhPG1511-PG1425-PG1350-PG1280,ALPS.kicad_mod

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
1-
(module KailhPG1511-PG1425-PG1350-PG1280,ALPS (layer F.Cu) (tedit 5DE6B00D)
1+
(module KailhPG1511-PG1425-PG1350-PG1280,ALPS (layer F.Cu) (tedit 5E400C3E)
22
(attr smd)
33
(fp_text reference REF** (at -0.16 -7.75) (layer F.SilkS)
44
(effects (font (size 1 1) (thickness 0.15)))
55
)
66
(fp_text value REF** (at -0.16 -7.75) (layer F.Fab)
77
(effects (font (size 1 1) (thickness 0.15)))
88
)
9-
(fp_line (start 2.5 1.1) (end -2.5 1.1) (layer Eco2.User) (width 0.12))
10-
(fp_line (start -2.5 1.1) (end -2.5 -3) (layer Eco2.User) (width 0.12))
11-
(fp_line (start -2.5 -3) (end 2.5 -3) (layer Eco2.User) (width 0.12))
12-
(fp_line (start 2.5 -3) (end 2.5 1.1) (layer Eco2.User) (width 0.12))
9+
(fp_line (start 2.5 1.1) (end 1.651 1.1) (layer Edge.Cuts) (width 0.12))
10+
(fp_line (start -2.5 1.1) (end -2.5 -3) (layer Edge.Cuts) (width 0.12))
11+
(fp_line (start -2.5 -3) (end 2.5 -3) (layer Edge.Cuts) (width 0.12))
12+
(fp_line (start 2.5 -3) (end 2.5 1.1) (layer Edge.Cuts) (width 0.12))
1313
(fp_line (start 0.25 -4.5) (end -0.25 -4.5) (layer Dwgs.User) (width 0.12))
1414
(fp_line (start -0.25 -4.5) (end -0.25 -5) (layer Dwgs.User) (width 0.12))
1515
(fp_line (start -0.25 -5) (end 0.25 -5) (layer Dwgs.User) (width 0.12))
1616
(fp_line (start 0.25 -5) (end 0.25 -4.5) (layer Dwgs.User) (width 0.12))
1717
(fp_text user "CPG1511, CPG1425, CPG1350, CPG1280, ALPS" (at 2 11) (layer Cmts.User) hide
1818
(effects (font (size 1 1) (thickness 0.15)))
1919
)
20-
(fp_line (start 4.5 0.25) (end 4.5 -0.25) (layer Dwgs.User) (width 0.12))
21-
(fp_line (start 4.5 -0.25) (end 5 -0.25) (layer Dwgs.User) (width 0.12))
22-
(fp_line (start 5 -0.25) (end 5 0.25) (layer Dwgs.User) (width 0.12))
23-
(fp_line (start 5 0.25) (end 4.5 0.25) (layer Dwgs.User) (width 0.12))
2420
(fp_line (start -7 7) (end -7 -7) (layer Dwgs.User) (width 0.12))
2521
(fp_line (start 6 7) (end 7 7) (layer B.SilkS) (width 0.1))
2622
(fp_line (start -6.1 6.1) (end -6.1 -6.1) (layer Cmts.User) (width 0.12))
@@ -52,17 +48,21 @@
5248
(fp_line (start 9.5 -9.5) (end 9.5 9.5) (layer Dwgs.User) (width 0.12))
5349
(fp_line (start 9.5 9.5) (end -9.5 9.5) (layer Dwgs.User) (width 0.12))
5450
(fp_line (start -9.5 9.5) (end -9.5 -9.5) (layer Dwgs.User) (width 0.12))
55-
(pad "" np_thru_hole oval (at 1.55 -0.95 90) (size 4.2 2) (drill oval 4.2 2) (layers *.Cu *.Mask))
56-
(pad "" np_thru_hole oval (at -1.55 -0.95 90) (size 4.2 2) (drill oval 4.2 2) (layers *.Cu *.Mask))
57-
(pad "" np_thru_hole oval (at 0 -0.95 90) (size 4.1 5.1) (drill oval 4.1 5.1) (layers *.Cu *.Mask))
58-
(pad "" np_thru_hole oval (at 0 -2.9 90) (size 0.3 5) (drill oval 0.3 5) (layers *.Cu *.Mask))
51+
(fp_arc (start -5.5 0) (end -5.5 -1) (angle -180) (layer Edge.Cuts) (width 0.12))
52+
(fp_arc (start -4.5 0) (end -4.250001 0.749999) (angle -143.1) (layer Edge.Cuts) (width 0.12))
53+
(fp_line (start -5.5 -1) (end -4.25 -0.75) (layer Edge.Cuts) (width 0.12))
54+
(fp_line (start -5.5 1) (end -4.250001 0.749999) (layer Edge.Cuts) (width 0.12))
55+
(fp_arc (start 4.5 0) (end 4.250001 -0.749999) (angle -143.1) (layer Edge.Cuts) (width 0.12))
56+
(fp_line (start 5.5 1) (end 4.25 0.75) (layer Edge.Cuts) (width 0.12))
57+
(fp_line (start 5.5 -1) (end 4.250001 -0.749999) (layer Edge.Cuts) (width 0.12))
58+
(fp_arc (start 5.5 0) (end 5.5 1) (angle -180) (layer Edge.Cuts) (width 0.12))
59+
(fp_arc (start 0 0) (end -1.650999 1.1) (angle -56.3) (layer Edge.Cuts) (width 0.12))
60+
(fp_arc (start 0 0) (end 1.650999 1.1) (angle 56.3) (layer Edge.Cuts) (width 0.12))
61+
(fp_line (start -1.651 1.1) (end -2.5 1.1) (layer Edge.Cuts) (width 0.12))
5962
(pad 1 thru_hole circle (at 3.4 -2 270) (size 1.35 1.35) (drill 1.1) (layers *.Cu *.Mask)
6063
(clearance 0.13))
6164
(pad "" np_thru_hole circle (at -5.5 -5.5 90) (size 1.3 1.3) (drill 1.3) (layers *.Cu *.Mask))
6265
(pad "" np_thru_hole circle (at 5.5 5.5 90) (size 1.3 1.3) (drill 1.3) (layers *.Cu *.Mask))
63-
(pad "" np_thru_hole oval (at 0 1 90) (size 0.3 5) (drill oval 0.3 5) (layers *.Cu *.Mask))
64-
(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))
65-
(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))
6666
(pad 2 smd oval (at 2.77 2.73 120) (size 0.5 3) (layers B.Cu B.Mask))
6767
(pad 2 smd oval (at 4.52 3.29 40) (size 2 3.25) (layers B.Cu B.Mask)
6868
(zone_connect 0))
@@ -71,19 +71,9 @@
7171
(pad 1 thru_hole oval (at -2.68 4.45 15) (size 2.25 4) (drill oval 1.75 3.5) (layers *.Cu *.Mask)
7272
(zone_connect 0))
7373
(pad 2 thru_hole oval (at 2.3 3.8 130) (size 2.4 2) (drill oval 1.9 1.3) (layers *.Cu *.Mask))
74-
(pad "" np_thru_hole circle (at 0 0) (size 3.4 3.4) (drill 3.4) (layers *.Cu *.Mask))
75-
(pad "" np_thru_hole circle (at -5.5 0) (size 1.9 1.9) (drill 1.9) (layers *.Cu *.Mask))
7674
(pad 2 thru_hole circle (at 5 3.8 180) (size 1.7 1.7) (drill 1.2) (layers *.Cu *.Mask))
77-
(pad "" np_thru_hole circle (at -4.5 0) (size 1.5 1.5) (drill 1.5) (layers *.Cu *.Mask))
78-
(pad "" np_thru_hole circle (at 4.5 0) (size 1.5 1.5) (drill 1.5) (layers *.Cu *.Mask))
79-
(pad "" np_thru_hole circle (at 0 0) (size 4 4) (drill 4) (layers *.Cu *.Mask))
80-
(pad "" np_thru_hole circle (at -5.08 0 180) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask))
81-
(pad "" np_thru_hole circle (at 5.08 0 180) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask))
82-
(pad "" np_thru_hole circle (at 0 0 180) (size 4 4) (drill 4) (layers *.Cu *.Mask))
8375
(pad 2 thru_hole oval (at 3.8 2.8 210) (size 2.35 1.6) (drill oval 1.85 1) (layers *.Cu *.Mask))
8476
(pad 1 thru_hole circle (at 0 5.9 180) (size 1.5 1.5) (drill 1.2) (layers *.Cu *.Mask))
85-
(pad "" np_thru_hole circle (at 5.5 0) (size 1.9 1.9) (drill 1.9) (layers *.Cu *.Mask))
86-
(pad "" np_thru_hole circle (at 0 0) (size 3.4 3.4) (drill 3.4) (layers *.Cu *.Mask))
8777
(pad 1 smd oval (at -1.25 5.79 175) (size 4 1.5) (layers B.Cu B.Mask))
8878
(model :LOCAL_3d:keyboardio/mx_style_switch.stp
8979
(offset (xyz 0 0 6.55))

0 commit comments

Comments
 (0)