reorganize all the parts into subdirectories

src/ was getting pretty unreadable and I finally had time to do
something about it

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2024-06-20 17:36:22 -05:00
parent dccd2836b2
commit db887b668f
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
65 changed files with 137 additions and 169 deletions

View File

@ -3,39 +3,34 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <../src/parameters.scad>
include <../src/components.scad>
use <../src/frame-piece-top-or-bottom-extended.scad>
use <../src/frame-piece-side-extended-to-bottom.scad>
use <../src/frame-piece-top-or-bottom-for-extended-side-aux-and-neutrik.scad>
use <../src/top-panel-inset-lever-and-dir_arc-plus-w-30mm.scad>
use <../src/top-panel-inset-sega-2p-plus-one-plus-control-with-mount.scad>
use <../src/misc-decorative-plate-24mm-button.scad>
use <../src/misc-decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one.scad>
use <../src/misc-decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one-plates.scad>
use <../src/misc-dustwasher-lsx-nobi.scad>
include <parameters.scad>
include <components.scad>
use <frames/pieces/extended/top-or-bottom.scad>
use <frames/pieces/extended/side-extended-to-bottom.scad>
use <frames/pieces/extended/top-or-bottom-clean-for-extended-side-aux-and-neutrik.scad>
use <panels/inset/lever-and-dir_arc-plus-w-30mm-panel.scad>
use <panels/inset/sega-2p-plus-one-plus-control-panel-with-mount.scad>
use <misc/decorative-plate-24mm-button.scad>
use <misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one.scad>
use <misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one-plates.scad>
use <misc/dustwasher-lsx-nobi.scad>
/* top_panel_color = "white"; */
/* bottom_panel_color = "red"; */
/* frame_top_bottom_color = "red"; */
/* frame_side_color = "red"; */
/* top_deco_color = "black"; */
top_panel_color = "#5B6579";
bottom_panel_color = "#8E9089";
frame_top_bottom_color = "#8E9089";
frame_side_color = "#8E9089";
top_deco_color = "#8E9089";
color(top_panel_color) translate([-panel_x/2, 0, frame_z/2-panel_z+0.01]) top_panel_inset_lever_and_dir_arc_w_30mm();
color(top_panel_color) translate([panel_x/2, 0, frame_z/2-panel_z+0.01]) top_panel_inset_sega_2p_plus_one_plus_control_with_mount();
color(top_panel_color) translate([-panel_x/2, 0, frame_z/2-panel_z+0.01]) lever_and_dir_arc_w_30mm_panel();
color(top_panel_color) translate([panel_x/2, 0, frame_z/2-panel_z+0.01]) sega_2p_plus_one_plus_control_panel_with_mount();
color(frame_side_color) translate([-frame_x/2+4, 0, -2.5]) extra_extended_left_or_right_frame_piece();
color(frame_side_color) translate([frame_x/2-4, 0, -2.5]) mirror([1, 0, 0]) extra_extended_left_or_right_frame_piece();
color(frame_top_bottom_color) translate([-frame_x/2+4, 0, -2.5]) extended_top_or_bottom_frame_piece();
color(frame_top_bottom_color) translate([frame_x/2-4, 0, -2.5]) extended_top_or_bottom_frame_piece();
color(frame_top_bottom_color) translate([-frame_x/2+4, 0, -2.5]) rotate([180, 0, 0]) top_or_bottom_aux_and_neutrik_box_frame_piece_for_extended_side();
color(frame_top_bottom_color) translate([frame_x/2-4, 0, -2.5]) rotate([180, 180, 0]) top_or_bottom_aux_and_neutrik_box_frame_piece_for_extended_side();
color(bottom_panel_color) translate([-panel_x/2, 0, -5-frame_z/2+5]) bottom_panel();
color(bottom_panel_color) translate([panel_x/2, 0, -5-frame_z/2+5]) bottom_panel();
color(bottom_panel_color) translate([-panel_x/2, 0, -5-frame_z/2+5]) panel();
color(bottom_panel_color) translate([panel_x/2, 0, -5-frame_z/2+5]) panel();
/* color(top_deco_color) translate([0, 0, 3+frame_z/2-4]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate_of_plates(); */
color(top_deco_color) translate([0, 0, 3+frame_z/2-panel_z]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate();

View File

@ -3,31 +3,31 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <../src/parameters.scad>
include <../src/components.scad>
use <../src/frame-left.scad>
use <../src/frame-piece-side-for-box.scad>
use <../src/frame-piece-top-or-bottom-for-box.scad>
use <../src/frame-piece-top-or-bottom-for-box-aux-and-neutrik.scad>
use <../src/top-panel-inset-lever-and-dir_arc-plus-w-30mm.scad>
use <../src/top-panel-inset-sega-2p-plus-one-plus-control-with-mount.scad>
use <../src/misc-decorative-plate-24mm-button.scad>
use <../src/misc-decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one.scad>
use <../src/misc-decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one-plates.scad>
use <../src/misc-dustwasher-lsx-nobi.scad>
include <parameters.scad>
include <components.scad>
use <frames/complete/left-frame.scad>
use <frames/pieces/box/side.scad>
use <frames/pieces/box/top-or-bottom.scad>
use <frames/pieces/box/top-or-bottom-aux-and-neutrik.scad>
use <panels/inset/lever-and-dir_arc-plus-w-30mm-panel.scad>
use <panels/inset/sega-2p-plus-one-plus-control-panel-with-mount.scad>
use <misc/decorative-plate-24mm-button.scad>
use <misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one.scad>
use <misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one-plates.scad>
use <misc/dustwasher-lsx-nobi.scad>
panel_color = "red";
base_color = "gray";
top_deco_color = "white";
color(panel_color) translate([-panel_x/2, 0, frame_z/2-panel_z+0.01]) top_panel_inset_lever_and_dir_arc_w_30mm();
color(panel_color) translate([panel_x/2, 0, frame_z/2-panel_z+0.01]) top_panel_inset_sega_2p_plus_one_plus_control_with_mount();
color(panel_color) translate([-panel_x/2, 0, frame_z/2-panel_z+0.01]) lever_and_dir_arc_w_30mm_panel();
color(panel_color) translate([panel_x/2, 0, frame_z/2-panel_z+0.01]) sega_2p_plus_one_plus_control_panel_with_mount();
color(base_color) translate([-frame_x/2+5, 0, -2.5]) left_frame();
color(base_color) translate([panel_x/2, 0, -2.5]) rotate([0, 180, 0]) side_box_frame_piece();
color(base_color) translate([panel_x/2, 0, -2.5]) top_or_bottom_box_frame_piece();
color(base_color) translate([panel_x/2, 0, -2.5]) rotate([180, 180, 0]) top_or_bottom_aux_and_neutrik_box_frame_piece();
color(base_color) translate([-panel_x/2, 0, -5-frame_z/2+5]) bottom_panel();
color(base_color) translate([panel_x/2, 0, -5-frame_z/2+5]) bottom_panel();
color(base_color) translate([-panel_x/2, 0, -5-frame_z/2+5]) panel();
color(base_color) translate([panel_x/2, 0, -5-frame_z/2+5]) panel();
/* color(top_deco_color) translate([0, 0, 3+frame_z/2-4]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate_of_plates(); */
color(top_deco_color) translate([0, 0, 3+frame_z/2-panel_z]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate();

View File

@ -3,22 +3,21 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <../src/parameters.scad>
include <../src/components.scad>
use <../src/frame-piece-interconnect.scad>
use <../src/frame-piece-side-for-box.scad>
use <../src/frame-piece-top-or-bottom-for-box.scad>
use <../src/frame-piece-top-or-bottom-for-box-aux-and-neutrik.scad>
use <../src/top-panel-overhang-left-lever-and-dir_arc-plus-w-30mm.scad>
use <../src/top-panel-overhang-right-sega-2p-plus-one-plus-control-with-mount.scad>
use <../src/bottom-panel-overhang-left.scad>
use <../src/bottom-panel-overhang-right.scad>
use <../src/misc-decorative-plate-24mm-button.scad>
use <../src/misc-decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one.scad>
use <../src/misc-dustwasher-lsx-nobi.scad>
include <parameters.scad>
include <components.scad>
use <frames/pieces/interconnect.scad>
use <frames/pieces/box/side.scad>
use <frames/pieces/box/top-or-bottom.scad>
use <frames/pieces/box/top-or-bottom-aux-and-neutrik.scad>
use <panels/overhang/left-lever-and-dir_arc-plus-w-30mm-panel.scad>
use <panels/overhang/right-sega-2p-plus-one-plus-control-panel-with-mount.scad>
use <panels/overhang/left-or-right-panel.scad>
use <misc/decorative-plate-24mm-button.scad>
use <misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one.scad>
use <misc/dustwasher-lsx-nobi.scad>
color("#C12E1F") translate([-panel_x/2-25, 0, frame_z/2+75]) top_panel_left_lever_and_dir_arc_w_30mm();
color("#C12E1F") translate([panel_x/2+25, 0, frame_z/2+75]) top_panel_right_sega_2p_plus_one_plus_control_with_mount();
color("#C12E1F") translate([-panel_x/2-25, 0, frame_z/2+75]) lever_and_dir_arc_w_30mm_left_overhang_panel();
color("#C12E1F") translate([panel_x/2+25, 0, frame_z/2+75]) sega_2p_plus_one_plus_control_right_overhang_panel_with_mount();
color("black") translate([-frame_x/2+5-25, -55, -2.5]) top_or_bottom_box_frame_piece();
color("black") rotate([0, 180, 0]) translate([-frame_x/2+5-25, -55, -2.5]) top_or_bottom_box_frame_piece();
color("black") translate([-frame_x/2+5-50, 0, -2.5]) side_box_frame_piece();
@ -26,8 +25,8 @@ color("black") rotate([0, 180, 0]) translate([-frame_x/2+5-50, 0, -2.5]) side_bo
color("black") rotate([180, 0, 0]) translate([-frame_x/2+5-25, -55, -2.5]) top_or_bottom_aux_and_neutrik_box_frame_piece();
color("black") rotate([180, 0, 0]) rotate([0, 180, 0]) translate([-frame_x/2+5-25, -55, -2.5]) top_or_bottom_aux_and_neutrik_box_frame_piece();
color("black") interconnect_frame_piece();
color("#C12E1F") translate([-panel_x/2-25, 0, -5-frame_z/2-75]) bottom_panel_left();
color("#C12E1F") translate([panel_x/2+25, 0, -5-frame_z/2-75]) bottom_panel_right();
color("#C12E1F") translate([-panel_x/2-25, 0, -5-frame_z/2-75]) left_or_right_overhang_panel();
color("#C12E1F") mirror([0, 1, 0]) translate([panel_x/2+25, 0, -5-frame_z/2-75]) left_or_right_overhang_panel();
color("black") translate([0, 0, 3+frame_z/2+150]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate();
color("black") translate([-195, 25, 3+frame_z/2+150]) lsx_nobi_dustwasher();

View File

@ -1,14 +0,0 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <bottom-panel-overhang-left.scad>
module bottom_panel_right() {
rotate([0, 0, 180]) bottom_panel_left();
}
bottom_panel_right();

View File

@ -168,10 +168,6 @@ module base_panel() {
cube([panel_x, panel_y, panel_z], center=true);
}
module base_bottom_panel() {
mirror([0, 0, 1]) base_panel();
}
module panel() {
difference() {
base_panel();
@ -179,13 +175,6 @@ module panel() {
}
}
module bottom_panel() {
difference() {
base_bottom_panel();
mirror([0, 0, 1]) panel_holes();
}
}
module overhang_plate() {
top_points = [
// top bevel
@ -342,7 +331,7 @@ module frame() {
difference() {
base_frame();
translate([0, 0, frame_z/2]) scale([1, 1, 2]) base_panel();
translate([0, 0, -frame_z/2]) scale([1, 1, 2]) bottom_panel();
translate([0, 0, -frame_z/2]) scale([1, 1, 2]) base_panel();;
translate([panel_to_frame_point_x, panel_to_frame_point_y, 0]) frame_hex_bolt_hole();
translate([-panel_to_frame_point_x, panel_to_frame_point_y, 0]) frame_hex_bolt_hole();
translate([panel_to_frame_point_x, -panel_to_frame_point_y, 0]) frame_hex_bolt_hole();

View File

@ -6,7 +6,7 @@
include <parameters.scad>
include <components.scad>
use <frame-piece-side-for-box.scad>
use <side.scad>
module side_inner_wall_frame_piece() {
difference() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <frame-piece-top-or-bottom-for-box.scad>
use <top-or-bottom.scad>
module side_box_frame_piece() {
piece_width = panel_support_width+frame_wall+frame_mount_column_width;

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <frame-piece-top-or-bottom-for-box.scad>
use <top-or-bottom.scad>
module top_or_bottom_aux_and_neutrik_box_frame_piece() {
difference() {

View File

@ -6,7 +6,7 @@
include <parameters.scad>
include <components.scad>
use <frame-piece-top-or-bottom-for-box.scad>
use <top-or-bottom.scad>
module top_or_bottom_inner_wall_frame_piece() {
difference() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <frame-piece-top-or-bottom-for-box.scad>
use <top-or-bottom.scad>
use <top-or-bottom-inner-wall.scad>
module windowed_top_or_bottom_box_frame_piece() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <frame-left.scad>
use <frames/complete/left-frame.scad>
module top_or_bottom_box_frame_piece() {
piece_width = panel_support_width+frame_wall+frame_mount_column_width;

View File

@ -5,9 +5,9 @@
include <parameters.scad>
include <components.scad>
use <frame-left.scad>
use <frame-piece-side-for-box.scad>
use <frame-piece-top-or-bottom-extended.scad>
use <frames/complete/left-frame.scad>
use <frames/pieces/box/side.scad>
use <top-or-bottom.scad>
module side_and_bottom_frame_piece_wall() {
// get a slice of the pieces, to use it in extruding

View File

@ -5,9 +5,9 @@
include <parameters.scad>
include <components.scad>
use <frame-left.scad>
use <frame-piece-side-for-box.scad>
use <frame-piece-top-or-bottom-for-extended-side.scad>
use <frames/complete/left-frame.scad>
use <frames/pieces/box/side.scad>
use <top-or-bottom-clean-for-extended-side.scad>
module side_frame_piece_wall() {
// get a slice of the piece, to use it in extruding

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <frame-piece-top-or-bottom-for-extended-side.scad>
use <top-or-bottom-clean-for-extended-side.scad>
module top_or_bottom_aux_and_neutrik_box_frame_piece_for_extended_side() {
difference() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <frame-piece-top-or-bottom-for-box.scad>
use <frames/pieces/box/top-or-bottom.scad>
module top_or_bottom_box_frame_piece_for_extended_side() {
difference() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <frame-piece-top-or-bottom-for-extended-side.scad>
use <top-or-bottom-clean-for-extended-side.scad>
module clean_top_or_bottom() {
difference() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <frame-piece-side-for-box.scad>
use <box/side.scad>
module interconnect_frame_half_piece() {
translate([frame_x/2-frame_wall, 0, 0]) difference() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <misc-neutrik-d-plate.scad>
use <neutrik-d-plate.scad>
module aux_connectors_two_neutrik_cluster_decorative_plate() {
difference() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <misc-neutrik-d-plate.scad>
use <neutrik-d-plate.scad>
module aux_control_three_button_cluster_decorative_plate() {
difference() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <misc-neutrik-d-plate.scad>
use <neutrik-d-plate.scad>
module neutrik_d_plate_24mm() {
difference() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <misc-neutrik-d-plate.scad>
use <neutrik-d-plate.scad>
module rocker_plate_20mm() {
difference() {

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <top-panel-inset-dir_arc-plus-w-30mm-plus-one.scad>
use <dir_arc-plus-w-30mm-plus-one-panel.scad>
module dir_arc_w_30mm_plus_one_panel_with_mount() {
dir_arc_w_30mm_plus_one_panel();

View File

@ -6,7 +6,7 @@
include <parameters.scad>
include <components.scad>
module top_panel_inset_lever_and_dir_arc_w_30mm() {
module lever_and_dir_arc_w_30mm_panel() {
difference() {
panel();
dir_arc_w_30mm();
@ -15,4 +15,4 @@ module top_panel_inset_lever_and_dir_arc_w_30mm() {
}
}
top_panel_inset_lever_and_dir_arc_w_30mm();
lever_and_dir_arc_w_30mm_panel();

View File

@ -5,7 +5,7 @@
include <parameters.scad>
include <components.scad>
use <top-panel-inset-lever.scad>
use <lever-panel.scad>
module lever_panel_with_mount() {
lever_panel();

View File

@ -6,4 +6,4 @@
include <parameters.scad>
include <components.scad>
bottom_panel();
panel();

View File

@ -5,11 +5,11 @@
include <parameters.scad>
include <components.scad>
use <top-panel-inset-sega-2p-plus-one-plus-control.scad>
use <sega-2p-plus-one-plus-control-panel.scad>
module top_panel_inset_sega_2p_plus_one_plus_control_with_mount() {
top_panel_inset_sega_2p_plus_one_plus_control();
module sega_2p_plus_one_plus_control_panel_with_mount() {
sega_2p_plus_one_plus_control_panel();
translate([30, -50, -(panel_z/2) - 3]) pcb_mount();
}
top_panel_inset_sega_2p_plus_one_plus_control_with_mount();
sega_2p_plus_one_plus_control_panel_with_mount();

View File

@ -6,7 +6,7 @@
include <parameters.scad>
include <components.scad>
module top_panel_inset_sega_2p_plus_one_plus_control() {
module sega_2p_plus_one_plus_control_panel() {
difference() {
panel();
sega_2p_plus_one();
@ -15,4 +15,4 @@ module top_panel_inset_sega_2p_plus_one_plus_control() {
}
}
top_panel_inset_sega_2p_plus_one_plus_control();
sega_2p_plus_one_plus_control_panel();

View File

@ -6,11 +6,11 @@
include <parameters.scad>
include <components.scad>
module top_panel_inset_shiokenstar_left() {
module shiokenstar_left_panel() {
difference() {
translate([-frame_x/2+frame_wall, 0, 0]) panel();
translate([75, 0, 0]) shiokenstar();
}
}
top_panel_inset_shiokenstar_left();
shiokenstar_left_panel();

View File

@ -6,11 +6,11 @@
include <parameters.scad>
include <components.scad>
module top_panel_inset_shiokenstar_right() {
module shiokenstar_right_panel() {
difference() {
translate([frame_x/2-frame_wall, 0, 0]) panel();
translate([75, 0, 0]) shiokenstar();
}
}
top_panel_inset_shiokenstar_right();
shiokenstar_right_panel();

View File

@ -6,7 +6,7 @@
include <parameters.scad>
include <components.scad>
module top_panel_left_lever_and_dir_arc_w_30mm() {
module lever_and_dir_arc_w_30mm_left_overhang_panel() {
difference() {
panel_with_raised_overhang();
dir_arc_w_30mm();
@ -16,4 +16,4 @@ module top_panel_left_lever_and_dir_arc_w_30mm() {
}
}
top_panel_left_lever_and_dir_arc_w_30mm();
lever_and_dir_arc_w_30mm_left_overhang_panel();

View File

@ -7,7 +7,7 @@ include <parameters.scad>
include <components.scad>
// combine the lever mount and generic plate, with mounting holes
module top_panel_left_lever() {
module lever_left_overhang_panel() {
difference() {
// base plate
panel_with_raised_overhang();
@ -18,4 +18,4 @@ module top_panel_left_lever() {
}
}
top_panel_left_lever();
lever_left_overhang_panel();

View File

@ -5,14 +5,14 @@
include <parameters.scad>
include <components.scad>
use <bottom-panel-overhang-solo.scad>
use <solo-panel.scad>
module bottom_panel_left() {
module left_or_right_overhang_panel() {
difference() {
bottom_panel_solo();
solo_overhang_panel();
// chop the right edge off
side_chopper();
}
}
bottom_panel_left();
left_or_right_overhang_panel();

View File

@ -5,11 +5,11 @@
include <parameters.scad>
include <components.scad>
use <top-panel-overhang-middle-dir_arc-plus-w-30mm.scad>
use <middle-dir_arc-plus-w-30mm-panel.scad>
module top_panel_middle_dir_arc_w_30mm_with_mount() {
top_panel_middle_dir_arc_w_30mm();
module dir_arc_w_30mm_middle_overhang_panel_with_mount() {
dir_arc_w_30mm_middle_overhang_panel();
translate([-15, -40, -(panel_z/2) - 3]) rotate([0, 0, -45]) pcb_mount();
}
top_panel_middle_dir_arc_w_30mm_with_mount();
dir_arc_w_30mm_middle_overhang_panel_with_mount();

View File

@ -6,7 +6,7 @@
include <parameters.scad>
include <components.scad>
module top_panel_middle_dir_arc_w_30mm() {
module dir_arc_w_30mm_middle_overhang_panel() {
difference() {
panel_with_raised_overhang();
dir_arc_w_30mm();
@ -15,4 +15,4 @@ module top_panel_middle_dir_arc_w_30mm() {
}
}
top_panel_middle_dir_arc_w_30mm();
dir_arc_w_30mm_middle_overhang_panel();

View File

@ -5,14 +5,13 @@
include <parameters.scad>
include <components.scad>
use <bottom-panel-overhang-left.scad>
use <bottom-panel-overhang-right.scad>
use <left-or-right-panel.scad>
module bottom_panel_middle() {
module middle_overhang_panel() {
intersection() {
bottom_panel_left();
bottom_panel_right();
left_or_right_overhang_panel();
mirror([1, 0, 0]) left_or_right_overhang_panel();
}
}
bottom_panel_middle();
middle_overhang_panel();

View File

@ -5,11 +5,11 @@
include <parameters.scad>
include <components.scad>
use <top-panel-overhang-right-sega-2p-plus-one.scad>
use <right-sega-2p-plus-one-panel.scad>
module top_panel_right_sega_2p_plus_one_with_mount() {
top_panel_right_sega_2p_plus_one();
module sega_2p_plus_one_with_mount_right_overhang_panel() {
sega_2p_plus_one_right_overhang_panel();
translate([30, -50, -(panel_z/2) - 3]) pcb_mount();
}
top_panel_right_sega_2p_plus_one_with_mount();
sega_2p_plus_one_with_mount_right_overhang_panel();

View File

@ -6,7 +6,7 @@
include <parameters.scad>
include <components.scad>
module top_panel_right_sega_2p_plus_one() {
module sega_2p_plus_one_right_overhang_panel() {
difference() {
panel_with_raised_overhang();
sega_2p_plus_one();
@ -14,4 +14,4 @@ module top_panel_right_sega_2p_plus_one() {
}
}
top_panel_right_sega_2p_plus_one();
sega_2p_plus_one_right_overhang_panel();

View File

@ -5,14 +5,14 @@
include <parameters.scad>
include <components.scad>
use <top-panel-overhang-right-sega-2p-plus-one-plus-control-with-mount.scad>
use <right-sega-2p-plus-one-plus-control-panel-with-mount.scad>
module top_panel_right_sega_2p_plus_one_plus_control_with_mount_with_oled() {
module sega_2p_plus_one_plus_control_right_overhang_panel_with_mount_with_oled() {
difference() {
top_panel_right_sega_2p_plus_one_plus_control_with_mount();
sega_2p_plus_one_plus_control_right_overhang_panel_with_mount();
translate([75, 77.5, 0]) oled_ssd1306_mount_cutout();
}
translate([75, 77.5, 0.5]) oled_ssd1306_mount();
}
top_panel_right_sega_2p_plus_one_plus_control_with_mount_with_oled();
sega_2p_plus_one_plus_control_right_overhang_panel_with_mount_with_oled();

View File

@ -0,0 +1,15 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <right-sega-2p-plus-one-plus-control-panel.scad>
module sega_2p_plus_one_plus_control_right_overhang_panel_with_mount() {
sega_2p_plus_one_plus_control_right_overhang_panel();
translate([30, -50, -(panel_z/2) - 3]) pcb_mount();
}
sega_2p_plus_one_plus_control_right_overhang_panel_with_mount();

View File

@ -6,7 +6,7 @@
include <parameters.scad>
include <components.scad>
module top_panel_right_sega_2p_plus_one_plus_control() {
module sega_2p_plus_one_plus_control_right_overhang_panel() {
difference() {
panel_with_raised_overhang();
sega_2p_plus_one();
@ -15,4 +15,4 @@ module top_panel_right_sega_2p_plus_one_plus_control() {
}
}
top_panel_right_sega_2p_plus_one_plus_control();
sega_2p_plus_one_plus_control_right_overhang_panel();

View File

@ -6,11 +6,11 @@
include <parameters.scad>
include <components.scad>
module dir_arc_24mm_6_button_panel() {
module dir_arc_24mm_6_button_solo_overhang_panel() {
difference() {
panel_with_raised_overhang();
translate([-71.5, -panel_y/2+122.5, 0]) dir_arc_24mm_6_button();
}
}
dir_arc_24mm_6_button_panel();
dir_arc_24mm_6_button_solo_overhang_panel();

View File

@ -6,11 +6,11 @@
include <parameters.scad>
include <components.scad>
module dir_arc_plus_w_24mm_8_button_panel() {
module dir_arc_plus_w_24mm_8_button_solo_overhang_panel() {
difference() {
panel_with_raised_overhang();
translate([-80.5, panel_y/6, 0]) dir_arc_plus_w_24mm_8_button();
}
}
dir_arc_plus_w_24mm_8_button_panel();
dir_arc_plus_w_24mm_8_button_solo_overhang_panel();

View File

@ -6,7 +6,7 @@
include <parameters.scad>
include <components.scad>
module top_panel_solo_lever_and_sega_2p_6_button() {
module lever_and_sega_2p_6_button_solo_overhang_panel() {
difference() {
// base plate
union() {
@ -18,4 +18,4 @@ module top_panel_solo_lever_and_sega_2p_6_button() {
}
}
top_panel_solo_lever_and_sega_2p_6_button();
lever_and_sega_2p_6_button_solo_overhang_panel();

View File

@ -6,11 +6,11 @@
include <parameters.scad>
include <components.scad>
module bottom_panel_solo() {
module solo_overhang_panel() {
difference() {
rotate([180, 0, 0]) base_panel_with_raised_overhang();
rotate([180, 0, 0]) panel_holes();
}
}
bottom_panel_solo();
solo_overhang_panel();

View File

@ -1,15 +0,0 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <top-panel-overhang-right-sega-2p-plus-one-plus-control.scad>
module top_panel_right_sega_2p_plus_one_plus_control_with_mount() {
top_panel_right_sega_2p_plus_one_plus_control();
translate([30, -50, -(panel_z/2) - 3]) pcb_mount();
}
top_panel_right_sega_2p_plus_one_plus_control_with_mount();