Yes. Good. Good.
This commit is contained in:
parent
4db23b78ea
commit
1e8c16e2d2
1 changed files with 11 additions and 3 deletions
|
@ -28,7 +28,7 @@ fin_gap_count = 33;
|
||||||
fin_gap_x_first = keyboard_x_offset + keyboard_width - fin_gap_count * (fin_width + fin_gap_width);
|
fin_gap_x_first = keyboard_x_offset + keyboard_width - fin_gap_count * (fin_width + fin_gap_width);
|
||||||
fin_gap_y_offset = case_length_bottom - fin_gap_length;
|
fin_gap_y_offset = case_length_bottom - fin_gap_length;
|
||||||
|
|
||||||
module fascia() {
|
module fascia_main() {
|
||||||
difference() {
|
difference() {
|
||||||
square([case_width_bottom, case_length_bottom], false);
|
square([case_width_bottom, case_length_bottom], false);
|
||||||
translate([keyboard_x_offset, keyboard_y_offset, 0])
|
translate([keyboard_x_offset, keyboard_y_offset, 0])
|
||||||
|
@ -39,7 +39,7 @@ module fascia() {
|
||||||
module fascia_top() {
|
module fascia_top() {
|
||||||
linear_extrude(accent_height)
|
linear_extrude(accent_height)
|
||||||
difference() {
|
difference() {
|
||||||
fascia();
|
fascia_main();
|
||||||
for (y = [accent_y_bottom: accent_y_stride: case_width_bottom]) {
|
for (y = [accent_y_bottom: accent_y_stride: case_width_bottom]) {
|
||||||
translate([0, y, 0])
|
translate([0, y, 0])
|
||||||
square([case_width_bottom, accent_width], false);
|
square([case_width_bottom, accent_width], false);
|
||||||
|
@ -47,6 +47,14 @@ module fascia_top() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module fascia() {
|
||||||
|
translate([0, 0, wall_width - accent_height])
|
||||||
|
fascia_top();
|
||||||
|
|
||||||
|
linear_extrude(wall_width - accent_height)
|
||||||
|
fascia_main();
|
||||||
|
}
|
||||||
|
|
||||||
module fin_gaps() {
|
module fin_gaps() {
|
||||||
for (i = [0:fin_gap_count]) {
|
for (i = [0:fin_gap_count]) {
|
||||||
x = fin_gap_x_first + (i * (fin_width + fin_gap_width));
|
x = fin_gap_x_first + (i * (fin_width + fin_gap_width));
|
||||||
|
@ -56,4 +64,4 @@ module fin_gaps() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fascia_top();
|
fascia();
|
Loading…
Add table
Reference in a new issue