add a "superplate" of dir_arc-plus-w + sega-2p-nine
I don't like the look of this, at least in the situation I was going to use it in, but it's a functional piece, might has well commit it Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
		
							parent
							
								
									b457441e9f
								
							
						
					
					
						commit
						15acfdcef4
					
				@ -0,0 +1,35 @@
 | 
			
		||||
/* decorative plate for directional and action buttons.
 | 
			
		||||
 *
 | 
			
		||||
 * SPDX-FileCopyrightText: © 2025 Brian S. Stephan <bss@incorporeal.org>
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
include <parameters.scad>
 | 
			
		||||
decorative_radius_scale = 1.5;
 | 
			
		||||
jumbo_decorative_radius_scale = 0;
 | 
			
		||||
include <components.scad>
 | 
			
		||||
 | 
			
		||||
module dir_arc_plus_w_30mm_and_sega_2p_nine_decorative_superplate() {
 | 
			
		||||
	difference() {
 | 
			
		||||
		union() {
 | 
			
		||||
			hull() difference() {
 | 
			
		||||
				// get a 2mm slice of the bigger button cylinders
 | 
			
		||||
				union() {
 | 
			
		||||
					translate([-panel_x/2, 0, -50]) dir_arc_w_30mm();
 | 
			
		||||
					translate([panel_x/2, 0, -50]) sega_2p_nine();
 | 
			
		||||
					// customized position to make a top point even with the
 | 
			
		||||
					// top of the dir_arc_w_30mm piece, because it being
 | 
			
		||||
					// at an angle otherwise looks silly IMO
 | 
			
		||||
					translate([panel_x*23/32, 26.6, -50]) sega_2p_p1();
 | 
			
		||||
				}
 | 
			
		||||
				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_superplate();
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user