squish a decent all buttons layout onto one panel

this uses the new raised panel look, I'm trying it out but haven't
updated the other top panels yet until I'm sure I like it --- it'll mean
a lot of chopping
This commit is contained in:
Brian S. Stephan 2023-08-26 14:48:01 -05:00
parent af38f0a580
commit a8d02f9229
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 51 additions and 0 deletions

View File

@ -177,6 +177,22 @@ module base_topplate() {
cube([top_plate_x, top_plate_y, top_plate_z], center=true);
}
// this takes the base_topplate and makes it a small frame, putting a larger top plate
module base_topplate_with_raised_overhang() {
// make a frame out of the top plate (and keep the main plate on the center plane)
translate([0, 0, -5]) difference() {
base_topplate();
cube([top_plate_x-10, top_plate_y-10, top_plate_z*2], center=true);
}
translate([(top_plate_x/2)-10, (top_plate_y/2)-10, -2.5]) resize([0, 0, 10]) frame_mount_column();
translate([-((top_plate_x/2)-10), (top_plate_y/2)-10, -2.5]) resize([0, 0, 10]) frame_mount_column();
translate([(top_plate_x/2)-10, -((top_plate_y/2)-10), -2.5]) resize([0, 0, 10]) frame_mount_column();
translate([-((top_plate_x/2)-10), -((top_plate_y/2)-10), -2.5]) resize([0, 0, 10]) frame_mount_column();
// larger top plate
roundedcube([top_plate_x+25, top_plate_y+25, top_plate_z], center=true, radius=1);
}
module topplate() {
difference() {
base_topplate();
@ -184,6 +200,13 @@ module topplate() {
}
}
module topplate_with_raised_overhang() {
difference() {
base_topplate_with_raised_overhang();
top_plate_holes();
}
}
module frame_box() {
difference() {
roundedcube([frame_x, frame_y, frame_z], center=true, radius=3);

View File

@ -0,0 +1,28 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module dir_arc_24mm_combined_6_button_panel() {
difference() {
rotate([0, 0, -90]) topplate_with_raised_overhang();
translate([-top_plate_x+105, -top_plate_y/2+135, 0]) dir_arc_24mm_combined_6_button();
}
}
dir_arc_24mm_combined_6_button_panel();