Skip to content

Commit

Permalink
Added screw hole, rj9 connector, and usb hole fixes from jmg123 at GH.
Browse files Browse the repository at this point in the history
  • Loading branch information
FSund committed Mar 27, 2018
1 parent 6e0f735 commit b34ec0c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/dactyl_keyboard/dactyl.clj
Expand Up @@ -589,18 +589,20 @@
(def rj9-space (translate rj9-position rj9-cube))
(def rj9-holder (translate rj9-position
(difference rj9-cube
(union (translate [0 2 0] (cube 10.78 9 18.38))
(translate [0 0 5] (cube 10.78 13 5))))))
(union (translate [0 2 0] (cube 10.78 10 18.38))
(translate [0 -0.01 5] (cube 10.78 14 5))))))

(def usb-holder-position (key-position 1 0 (map + (wall-locate2 0 1) [0 (/ mount-height 2) 0])))
(def usb-holder-size [6.5 10.0 13.6])
(def usb-holder-thickness 4)
(def usb-holder-hole-size [6.5 11 13.6])
(def usb-holder-hole-thickness 5)
(def usb-holder
(->> (cube (+ (first usb-holder-size) usb-holder-thickness) (second usb-holder-size) (+ (last usb-holder-size) usb-holder-thickness))
(translate [(first usb-holder-position) (second usb-holder-position) (/ (+ (last usb-holder-size) usb-holder-thickness) 2)])))
(def usb-holder-hole
(->> (apply cube usb-holder-size)
(translate [(first usb-holder-position) (second usb-holder-position) (/ (+ (last usb-holder-size) usb-holder-thickness) 2)])))
(->> (apply cube usb-holder-hole-size)
(translate [(first usb-holder-position) (second usb-holder-position) (/ (+ (last usb-holder-hole-size) usb-holder-hole-thickness) 2)])))

(def teensy-width 20)
(def teensy-height 12)
Expand Down Expand Up @@ -704,7 +706,7 @@
usb-holder)
rj9-space
usb-holder-hole
screw-insert-holes)
(translate [0 0 -0.01] screw-insert-holes) )
rj9-holder
; wire-posts
; thumbcaps
Expand Down

0 comments on commit b34ec0c

Please sign in to comment.