Minor corrections to keyboard plate height
This commit is contained in:
parent
f779b234b7
commit
51262f1b21
1 changed files with 5 additions and 5 deletions
|
@ -164,19 +164,19 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
|
||||||
module walls() {
|
module walls() {
|
||||||
/* Upper */
|
/* Upper */
|
||||||
translate([-wall_width, keyboard_length, 0])
|
translate([-wall_width, keyboard_length, 0])
|
||||||
cube([keyboard_width + 2 * wall_width, wall_width, key_switch_height - wall_width], false);
|
cube([keyboard_width + 2 * wall_width, wall_width, key_switch_height], false);
|
||||||
|
|
||||||
/* Right */
|
/* Right */
|
||||||
translate([keyboard_width, -wall_width, 0])
|
translate([keyboard_width, -wall_width, 0])
|
||||||
cube([wall_width, keyboard_length + 2 * wall_width, key_switch_height - wall_width], false);
|
cube([wall_width, keyboard_length + 2 * wall_width, key_switch_height], false);
|
||||||
|
|
||||||
/* Lower */
|
/* Lower */
|
||||||
translate([-wall_width, -wall_width, 0])
|
translate([-wall_width, -wall_width, 0])
|
||||||
cube([keyboard_width + 2 * wall_width, wall_width, key_switch_height - wall_width], false);
|
cube([keyboard_width + 2 * wall_width, wall_width, key_switch_height], false);
|
||||||
|
|
||||||
/* Left */
|
/* Left */
|
||||||
translate([-wall_width, -wall_width, 0])
|
translate([-wall_width, -wall_width, 0])
|
||||||
cube([wall_width, keyboard_length + 2 * wall_width, key_switch_height - wall_width], false);
|
cube([wall_width, keyboard_length + 2 * wall_width, key_switch_height], false);
|
||||||
}
|
}
|
||||||
|
|
||||||
module body() {
|
module body() {
|
||||||
|
@ -215,7 +215,7 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
|
||||||
fin_gaps();
|
fin_gaps();
|
||||||
}
|
}
|
||||||
|
|
||||||
keyboard_deck_z_offset = wall_height - key_switch_height;
|
keyboard_deck_z_offset = wall_height - wall_width - key_switch_height;
|
||||||
|
|
||||||
translate([keyboard_x_offset, keyboard_y_offset, keyboard_deck_z_offset])
|
translate([keyboard_x_offset, keyboard_y_offset, keyboard_deck_z_offset])
|
||||||
keyboard_deck();
|
keyboard_deck();
|
||||||
|
|
Loading…
Add table
Reference in a new issue