move the rotated top plate into something reusable
This commit is contained in:
parent
cd21b4dd0a
commit
f73c94be2f
@ -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() {
|
module frame_box() {
|
||||||
difference() {
|
difference() {
|
||||||
roundedcube([frame_x, frame_y, frame_z], center=true, radius=3);
|
roundedcube([frame_x, frame_y, frame_z], center=true, radius=3);
|
||||||
|
@ -20,7 +20,7 @@ include <components.scad>
|
|||||||
|
|
||||||
module dir_arc_24mm_6_button_panel() {
|
module dir_arc_24mm_6_button_panel() {
|
||||||
difference() {
|
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();
|
translate([-top_plate_x+105, -top_plate_y/2+135, 0]) dir_arc_24mm_6_button();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ include <components.scad>
|
|||||||
|
|
||||||
module dir_arc_plus_w_24mm_8_button_panel() {
|
module dir_arc_plus_w_24mm_8_button_panel() {
|
||||||
difference() {
|
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([-top_plate_x+105, -top_plate_y/2+123, 0]) dir_arc_24mm_8_button_compressed();
|
||||||
translate([-34.5, 51, 0]) button_24mm_hole();
|
translate([-34.5, 51, 0]) button_24mm_hole();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user