From 3f0712af70e49910ba281fd351cf9c7b753e13ba Mon Sep 17 00:00:00 2001
From: "Brian S. Stephan" <bss@incorporeal.org>
Date: Mon, 11 Sep 2023 13:02:54 -0500
Subject: [PATCH] try making the frame wider than it is deep

the goal is to try to fit a hitstick-w into two frames
---
 src/components.scad                                  | 6 +-----
 src/top-panel-solo-dir_arc-24mm-6-button.scad        | 4 ++--
 src/top-panel-solo-dir_arc-plus-w-24mm-8-button.scad | 4 ++--
 3 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/src/components.scad b/src/components.scad
index 1976445..2b0a30c 100644
--- a/src/components.scad
+++ b/src/components.scad
@@ -44,7 +44,7 @@ lever_mount_z = 2;
 
 // case dimensions
 // base frame box. reminder: top of inside (including mounts) is chopped by top_plate_z for plates
-frame_x = 183;
+frame_x = 233;
 frame_y = 208;
 frame_z = 50;
 
@@ -245,10 +245,6 @@ 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);
diff --git a/src/top-panel-solo-dir_arc-24mm-6-button.scad b/src/top-panel-solo-dir_arc-24mm-6-button.scad
index 915f65d..48dce97 100644
--- a/src/top-panel-solo-dir_arc-24mm-6-button.scad
+++ b/src/top-panel-solo-dir_arc-24mm-6-button.scad
@@ -20,8 +20,8 @@ include <components.scad>
 
 module dir_arc_24mm_6_button_panel() {
 	difference() {
-		top_plate_with_raised_overhang_long();
-		translate([-top_plate_x+105, -top_plate_y/2+135, 0]) dir_arc_24mm_6_button();
+		top_plate_with_raised_overhang();
+		translate([-71.5, -top_plate_y/2+122.5, 0]) dir_arc_24mm_6_button();
 	}
 }
 
diff --git a/src/top-panel-solo-dir_arc-plus-w-24mm-8-button.scad b/src/top-panel-solo-dir_arc-plus-w-24mm-8-button.scad
index bb843f2..a03fbcb 100644
--- a/src/top-panel-solo-dir_arc-plus-w-24mm-8-button.scad
+++ b/src/top-panel-solo-dir_arc-plus-w-24mm-8-button.scad
@@ -20,8 +20,8 @@ include <components.scad>
 
 module dir_arc_plus_w_24mm_8_button_panel() {
 	difference() {
-		top_plate_with_raised_overhang_long();
-		translate([-top_plate_x+105, -top_plate_y/2+123, 0]) dir_arc_24mm_8_button_compressed();
+		top_plate_with_raised_overhang();
+		translate([-71.5, -top_plate_y/2+122.5, 0]) dir_arc_24mm_8_button_compressed();
 		translate([-34.5, 51, 0]) button_24mm_hole();
 	}
 }