Skip to content

Commit

Permalink
Merge pull request #63 from happysalada/refaktor
Browse files Browse the repository at this point in the history
hot-swap fixes
  • Loading branch information
ibnuda authored Oct 27, 2020
2 parents 0674820 + c941ac7 commit b382427
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dactyl_keyboard/common.clj
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
left-wall
(if create-side-nub? (with-fn 100 side-nub) ()))
; the bottom of the hole.
swap-holder-z-offset (if use-choc? 0 -1.5)
swap-holder-z-offset (if use-choc? 1.5 -1.5)
swap-holder (->> (cube (+ keyswitch-width 3) (/ (+ keyswitch-height 3) 2) 3)
(translate [0 (/ (+ keyswitch-height 3) 4) swap-holder-z-offset]))
; for the main axis
Expand All @@ -285,9 +285,9 @@
(with-fn 8))
friction-hole-right (translate [5 0 0] friction-hole)
friction-hole-left (translate [-5 0 0] friction-hole)
hotswap-base-z-offset (if use-choc? -2 -2.6)
hotswap-base-z-offset (if use-choc? -0.5 -2.6)
hotswap-base-shape (->> (cube 19 6.2 3.5)
(translate [0 4 hotswap-base-z-offset]))
(translate [0 3 hotswap-base-z-offset]))
hotswap-holder (difference swap-holder
main-axis-hole
plus-hole
Expand Down

0 comments on commit b382427

Please sign in to comment.