diff options
Diffstat (limited to 'case')
-rw-r--r-- | case/top.scad | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/case/top.scad b/case/top.scad index 2d85d5a..6a3c469 100644 --- a/case/top.scad +++ b/case/top.scad @@ -22,7 +22,7 @@ module top_case(with_keyboard=false, as_flat=false) { screw_post_upper_y_offset = screw_post_middle_y_offset + 65.00; screw_post_x_offset = (keyboard_x_offset - 2 * wall_width) / 2 + wall_width; - screw_posts_top_case = [ + screw_posts = [ /* Upper row */ [screw_post_x_offset, screw_post_upper_y_offset, screw_post_corner_height], [case_width_bottom / 2, case_length_bottom - 10.0, screw_post_middle_height], @@ -83,7 +83,7 @@ module top_case(with_keyboard=false, as_flat=false) { } } - for (post = screw_posts_top_case) { + for (post = screw_posts) { translate([post[0], post[1], wall_height - wall_width - post[2]]) screw_post(post[2] + eps); } @@ -245,8 +245,7 @@ module top_case(with_keyboard=false, as_flat=false) { translate([0, case_length_bottom - wall_width, 0]) square([case_width_bottom, wall_width], false); - - for (screw_post = screw_posts_top_case) { + for (screw_post = screw_posts) { x = screw_post[0]; y = screw_post[1]; |