move the rotated top plate into something reusable

This commit is contained in:
Brian S. Stephan 2023-09-08 13:17:04 -05:00
parent cd21b4dd0a
commit f73c94be2f
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
3 changed files with 6 additions and 2 deletions

View File

@ -226,6 +226,10 @@ module top_plate_with_raised_overhang() {
}
}
module top_plate_with_raised_overhang_long() {
rotate([0, 0, -90]) top_plate_with_raised_overhang();
}
module frame_box() {
difference() {
roundedcube([frame_x, frame_y, frame_z], center=true, radius=3);

View File

@ -20,7 +20,7 @@ include <components.scad>
module dir_arc_24mm_6_button_panel() {
difference() {
rotate([0, 0, -90]) top_plate_with_raised_overhang();
top_plate_with_raised_overhang_long();
translate([-top_plate_x+105, -top_plate_y/2+135, 0]) dir_arc_24mm_6_button();
}
}

View File

@ -20,7 +20,7 @@ include <components.scad>
module dir_arc_plus_w_24mm_8_button_panel() {
difference() {
rotate([0, 0, -90]) top_plate_with_raised_overhang();
top_plate_with_raised_overhang_long();
translate([-top_plate_x+105, -top_plate_y/2+123, 0]) dir_arc_24mm_8_button_compressed();
translate([-34.5, 51, 0]) button_24mm_hole();
}