diff options
author | XANTRONIX Development | 2023-11-26 13:35:01 -0500 |
---|---|---|
committer | XANTRONIX Development | 2023-11-26 13:35:01 -0500 |
commit | e86ff3ea8db0c12bb5be2feca4c39636542d62ab (patch) | |
tree | ee64c165d726fd490e130226dd5f6fc817218da9 | |
parent | 3b27220accb7e3ff198fa96c8c28e515a0cea8ed (diff) | |
download | xantronix-z32-e86ff3ea8db0c12bb5be2feca4c39636542d62ab.tar.gz xantronix-z32-e86ff3ea8db0c12bb5be2feca4c39636542d62ab.tar.bz2 xantronix-z32-e86ff3ea8db0c12bb5be2feca4c39636542d62ab.zip |
Rename screw_posts_top_case to screw_posts
-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]; |