I was taking a hull of the whole button negative shape in many places, rather than a hull of the sliced shape, which meant the amount of decorative plate beyond the button holes varied depending on the exact positioning of how it was sliced. this was brittle in general, but more importantly made many plates too big when I cleaned up some code to remove an override that I thought was irrelevant --- it was actually affecting the overall geometry outside of the slice Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
37 lines
2.1 KiB
OpenSCAD
37 lines
2.1 KiB
OpenSCAD
/*
|
|
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
include <parameters.scad>
|
|
include <components.scad>
|
|
use <frames/pieces/side-trapezoid.scad>
|
|
use <frames/pieces/front-or-back-aux-and-neutrik.scad>
|
|
use <frames/pieces/front-or-back-windowed-horiz-stripes.scad>
|
|
use <panels/inset/lever-and-dir_arc-plus-w-30mm-panel.scad>
|
|
use <panels/inset/sega-2p-nine-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-nine.scad>
|
|
use <misc/dustwasher-lsx-nobi.scad>
|
|
|
|
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]) 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_nine_plus_control_panel_with_mount();
|
|
color(frame_side_color) translate([-frame_x/2+4, 0, -2.5]) side_trapezoid_frame_piece();
|
|
color(frame_side_color) translate([frame_x/2-4, 0, -2.5]) mirror([1, 0, 0]) side_trapezoid_frame_piece();
|
|
color(frame_top_bottom_color) translate([-frame_x/2+4, 0, -2.5]) horiz_striped_windowed_front_or_back_frame_piece();
|
|
color(frame_top_bottom_color) translate([frame_x/2-4, 0, -2.5]) horiz_striped_windowed_front_or_back_frame_piece();
|
|
color(frame_top_bottom_color) translate([-frame_x/2+4, 0, -2.5]) rotate([180, 0, 0]) front_or_back_aux_and_neutrik_frame_piece();
|
|
color(frame_top_bottom_color) translate([frame_x/2-4, 0, -2.5]) rotate([180, 180, 0]) front_or_back_aux_and_neutrik_frame_piece();
|
|
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-panel_z]) dir_arc_plus_w_30mm_and_sega_2p_nine_decorative_plate();
|
|
color(top_deco_color) translate([-170, 20, 3+frame_z/2-panel_z]) lsx_nobi_dustwasher();
|
|
color(top_deco_color) translate([panel_x-24, 30, 3+frame_z/2-panel_z]) button_24mm_decorative_plate();
|