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>
22 lines
592 B
OpenSCAD
22 lines
592 B
OpenSCAD
/* A decorative plate for the Sega 2P layout.
|
|
*
|
|
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
include <parameters.scad>
|
|
include <components.scad>
|
|
|
|
module sega_2p_decorative_plate() {
|
|
difference() {
|
|
// get a 2mm slice of the decorative button cylinders
|
|
translate([0, 0, -50]) sega_2p();
|
|
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([0, 0, -1]) sega_2p();
|
|
}
|
|
}
|
|
|
|
sega_2p_decorative_plate();
|