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>
25 lines
757 B
OpenSCAD
25 lines
757 B
OpenSCAD
/*
|
|
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
include <parameters.scad>
|
|
include <components.scad>
|
|
|
|
module dir_arc_plus_w_30mm_and_sega_2p_nine_decorative_plate() {
|
|
difference() {
|
|
// get a 2mm slice of the jumbo decorative button cylinders
|
|
union() {
|
|
translate([-panel_x/2, 0, -70]) dir_arc_w_30mm();
|
|
translate([panel_x/2, 0, -70]) sega_2p_nine();
|
|
}
|
|
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_nine();
|
|
}
|
|
}
|
|
|
|
dir_arc_plus_w_30mm_and_sega_2p_nine_decorative_plate();
|