Skip to content

Commit b81eaaf

Browse files
committed
Adjust heights of the rj9 and teensy
1 parent 89d5a74 commit b81eaaf

File tree

11 files changed

+112720
-40780
lines changed

11 files changed

+112720
-40780
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ I plan to try the 4x6 version or maybe the 4x5 version. The default has more ten
2121

2222
I plan to use a Teensy 2++ in each half. Then, I have enough channels to wire straight to each key switch. Diodes are not needed. Then, I can connect them with a serial connection, and adapt the QMK firmware for the [Let's split keyboard](https://github.com/qmk/qmk_firmware/tree/master/keyboards/lets_split) that implements this approach. Each half can be master.
2323

24-
This doesn't have a bottom. I may or may not add one. I have many test prints to try.
24+
This doesn't have a bottom. It has hex holes designed for 9- or 10-mm long M3 female-female spacers. Then, I can use a M3 wafer-head screws to connect a bottom plate. If wires aren't dangling, a bottom plate may not be needed.
2525

2626
## Assembly
2727

src/dactyl_keyboard/dactyl.clj

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -519,22 +519,24 @@
519519
(translate [0 (/ mount-height 2) wall-offset])
520520
))))
521521

522+
(def rj9-vertical-offset (- (last (key-position 0 0 [0 (/ mount-height 2) 0])) 40))
522523
(def rj9-cube (cube 14.78 13 22.38))
523-
(def rj9-space (on-wall-place 1 20 rj9-cube))
524-
(def rj9-holder (on-wall-place 1 20
524+
(def rj9-space (on-wall-place 1 rj9-vertical-offset rj9-cube))
525+
(def rj9-holder (on-wall-place 1 rj9-vertical-offset
525526
(difference rj9-cube
526527
(union (translate [0 2 0] (cube 10.78 9 18.38))
527528
(translate [0 0 5] (cube 10.78 13 5))))))
528529

529-
(def teensy-width 20) ; was 20
530+
(def teensy-width 20)
530531
(def teensy-height 12)
531532
(def teensy-length 33)
532533
(def teensy2-length 53)
533534
(def teensy-pcb-thickness 1.6)
534535
(def teensy-offset-height 5)
536+
(def teensy-vertical-offset )
535537

536538
(def teensy-holder
537-
(on-wall-place 0 20
539+
(on-wall-place 0 rj9-vertical-offset
538540
(translate [-5 0 0]
539541
(union
540542
(->> (cube 3 (* 1.2 teensy2-length) (+ 6 teensy-width))
@@ -560,7 +562,7 @@
560562
(mirror [-1 0 0] side-cylinder))
561563
(rotate (/ π 2) [1 0 0])
562564
(rotate (/ π 2) [0 1 0])
563-
(on-wall-place 0 20))))
565+
(on-wall-place 0 rj9-vertical-offset))))
564566

565567

566568
(defn hex-spacer [column row radius height]
@@ -589,7 +591,7 @@
589591
(union (hex-spacer 0 0 radius height)
590592
(hex-spacer 0 cornerrow radius height)
591593
(hex-spacer 3 lastrow radius height)
592-
(hex-spacer 2 0 radius height)
594+
(hex-spacer 3 0 radius height)
593595
(hex-spacer lastcol (dec cornerrow) radius height)
594596
))
595597
(def hex-spacer-height 10)
@@ -609,7 +611,10 @@
609611
connectors
610612
thumb
611613
thumb-connectors
612-
(difference case-walls rj9-space usb-cutout hex-spacer-holes)
614+
(difference case-walls
615+
rj9-space
616+
usb-cutout
617+
hex-spacer-holes)
613618
rj9-holder
614619
(if (= nrows 4) teensy-holder)
615620
hex-spacer-outers

0 commit comments

Comments
 (0)