buildable-stick-system/src/extras/bss-ae/decorative-plate-aux-control-tight-three-button-cluster.scad
Brian S. Stephan d70ccf6491
fix an issue with decorative plate sizing
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>
2025-03-28 08:20:07 -05:00

26 lines
794 B
OpenSCAD

/* Decorative plate for aux buttons.
*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
decorative_radius_scale = 1.5;
include <components.scad>
module aux_control_three_button_tight_cluster_decorative_plate() {
difference() {
hull() difference() {
// get a 2mm slice of the decorative button cylinders
translate([0, 0, -50]) aux_control_three_button_tight_cluster();
// keep a thin slice
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]) aux_control_three_button_tight_cluster();
}
}
aux_control_three_button_tight_cluster_decorative_plate();