From 58a95b8a56622dd710b0bac059ec97f965a391df Mon Sep 17 00:00:00 2001 From: Leo Lou Date: Mon, 11 Jun 2018 11:00:30 +0900 Subject: [PATCH] Update thumb in tests --- src/dactyl_keyboard/dactyl.clj | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/dactyl_keyboard/dactyl.clj b/src/dactyl_keyboard/dactyl.clj index 636323e..ca5ccd3 100644 --- a/src/dactyl_keyboard/dactyl.clj +++ b/src/dactyl_keyboard/dactyl.clj @@ -352,7 +352,6 @@ (def thumbcaps (union - (thumb-1x-layout (sa-cap 1)) (thumb-15x-layout (rotate (/ π 2) [0 0 1] (sa-cap 1))))) (def thumb @@ -624,14 +623,17 @@ (spit "things/right-test.scad" (write-scad - (union - key-holes - connectors - thumb - thumb-connectors - case-walls - thumbcaps - caps))) + (difference + (union + key-holes + connectors + thumb + thumb-connectors + case-walls + thumbcaps + caps) + + (translate [0 0 -20] (cube 350 350 40))))) (spit "things/right-plate.scad" (write-scad