From 623e025566346e3db1bec24b1a445b78e71abe21 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Tue, 24 Sep 2024 07:55:57 -0500 Subject: [PATCH] break out the Sega 2P + 1 plate by itself, absent the dir_arc plate now that the dir_arc plate is a separate piece, as it should be, we don't need to duplicate it here. Signed-off-by: Brian S. Stephan --- ...scad => decorative-plate-sega-2p-plus-one-plate.scad} | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) rename src/misc/{decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one-plates.scad => decorative-plate-sega-2p-plus-one-plate.scad} (69%) diff --git a/src/misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one-plates.scad b/src/misc/decorative-plate-sega-2p-plus-one-plate.scad similarity index 69% rename from src/misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one-plates.scad rename to src/misc/decorative-plate-sega-2p-plus-one-plate.scad index eec3836..021bee5 100644 --- a/src/misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one-plates.scad +++ b/src/misc/decorative-plate-sega-2p-plus-one-plate.scad @@ -1,4 +1,5 @@ -/* +/* A rounded corner decorative plate for the Sega 2P + 1 button layout. + * * SPDX-FileCopyrightText: © 2024 Brian S. Stephan * SPDX-License-Identifier: GPL-3.0-or-later */ @@ -8,19 +9,17 @@ decorative_radius_scale = 1.5; jumbo_decorative_radius_scale = 0; include -module dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate_of_plates() { +module sega_2p_plus_one_decorative_plate_of_plates() { difference() { // get a 2mm slice of the bigger button cylinders union() { - translate([-panel_x/2, 0, -25]) hull() dir_arc_w_30mm(); translate([panel_x/2, 0, -25]) hull() sega_2p_plus_one(); } translate([0, 0, -100]) cube([500, 500, 198], center=true); translate([0, 0, 100]) cube([500, 500, 198], center=true); // cut out the normal holes - translate([-panel_x/2, 0, -1]) dir_arc_w_30mm(); translate([panel_x/2, 0, -1]) sega_2p_plus_one(); } } -dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate_of_plates(); +sega_2p_plus_one_decorative_plate_of_plates();