Rename screw_posts_top_case to screw_posts
This commit is contained in:
parent
3b27220acc
commit
e86ff3ea8d
1 changed files with 3 additions and 4 deletions
|
@ -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_upper_y_offset = screw_post_middle_y_offset + 65.00;
|
||||||
screw_post_x_offset = (keyboard_x_offset - 2 * wall_width) / 2 + wall_width;
|
screw_post_x_offset = (keyboard_x_offset - 2 * wall_width) / 2 + wall_width;
|
||||||
|
|
||||||
screw_posts_top_case = [
|
screw_posts = [
|
||||||
/* Upper row */
|
/* Upper row */
|
||||||
[screw_post_x_offset, screw_post_upper_y_offset, screw_post_corner_height],
|
[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],
|
[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]])
|
translate([post[0], post[1], wall_height - wall_width - post[2]])
|
||||||
screw_post(post[2] + eps);
|
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])
|
translate([0, case_length_bottom - wall_width, 0])
|
||||||
square([case_width_bottom, wall_width], false);
|
square([case_width_bottom, wall_width], false);
|
||||||
|
|
||||||
|
for (screw_post = screw_posts) {
|
||||||
for (screw_post = screw_posts_top_case) {
|
|
||||||
x = screw_post[0];
|
x = screw_post[0];
|
||||||
y = screw_post[1];
|
y = screw_post[1];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue