diff options
Diffstat (limited to 'case')
-rw-r--r-- | case/top.scad | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/case/top.scad b/case/top.scad index cbaa386..e4bfabb 100644 --- a/case/top.scad +++ b/case/top.scad @@ -6,8 +6,6 @@ include <keyboard.scad> include <logo.scad> module top_case(with_keyboard=false) { - keyboard_deck_z_offset = wall_height - keyboard_switch_height; - accent_width = 1.0000; accent_depth = 0.5; accent_y_stride = (keyboard_pcb_length - accent_width) / 5.0; @@ -207,9 +205,11 @@ module top_case(with_keyboard=false) { screw_posts(); if (with_keyboard) { + z_offset = wall_height - keyboard_switch_height; + keyboard_supports(); - translate([keyboard_x_offset, keyboard_y_offset, keyboard_deck_z_offset]) + translate([keyboard_x_offset, keyboard_y_offset, z_offset]) keyboard_deck(wall_width); } else { supports(); |