 (def teensy-height 12)
 (def teensy-length 33)
 (def teensy2-length 53)
-(def teensy-pcb-thickness 1.6) 
+(def teensy-pcb-thickness 2) 
 (def teensy-holder-width  (+ 7 teensy-pcb-thickness))
 (def teensy-holder-height (+ 6 teensy-width))
 (def teensy-offset-height 5)
-(def teensy-holder-length 72)
+(def teensy-holder-top-length 18)
+(def teensy-top-xy (key-position 0 (- centerrow 1) (wall-locate3 -1 0)))
+(def teensy-bot-xy (key-position 0 (+ centerrow 1) (wall-locate3 -1 0)))
+(def teensy-holder-length (- (second teensy-top-xy) (second teensy-bot-xy)))
 (def teensy-holder-offset (/ teensy-holder-length -2))
-(def teensy-holder-top-length 18)
-(def teensy-top-xy (key-position 0 0 (map + (wall-locate3  0 1) [(/ mount-width -2) (/ mount-height  2) 0])))
-(def teensy-bot-xy (map + (key-position 0 2 (map + (wall-locate3 -1 0) [(/ mount-width -2)  (/ mount-height  2) 0]))
-                          [(* 1 teensy-holder-width) 0 0]))
-(def teensy-holder-top-offset (/ teensy-holder-top-length -2))
-(def teensy-holder-angle (Math/atan2 (- (first teensy-top-xy) (first teensy-bot-xy)) (- (second teensy-top-xy) (second teensy-bot-xy))))
+(def teensy-holder-top-offset (- (/ teensy-holder-top-length 2) teensy-holder-length))
  
 (def teensy-holder 
     (->> 

(def teensy-holder-hole
  (->> (cube teensy-holder-width 30 teensy-holder-height)
       (translate [(/ teensy-holder-width -2) -15 (/ teensy-holder-height 2)])
       (rotate teensy-holder-angle [0 0 -1])
       (translate [(first teensy-top-xy) 
                   (- (second teensy-top-xy) 1) 
                   0])))

   (->> shape 
        (rotate (/ π 2) [0 -1 0])
        (translate [(- 3 teensy-holder-width (/ screw-insert-height 2)) (- (+ length 7)) 0])
        (translate [(first teensy-top-xy) (second teensy-top-xy) 15])
        )))

