break out the Sega 2P + 1 plate by itself, absent the dir_arc plate
now that the dir_arc plate is a separate piece, as it should be, we don't need to duplicate it here. Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
		
							parent
							
								
									d1a8f34c2a
								
							
						
					
					
						commit
						623e025566
					
				@ -1,4 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
/* A rounded corner decorative plate for the Sega 2P + 1 button layout.
 | 
			
		||||
 *
 | 
			
		||||
 * SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
 */
 | 
			
		||||
@ -8,19 +9,17 @@ decorative_radius_scale = 1.5;
 | 
			
		||||
jumbo_decorative_radius_scale = 0;
 | 
			
		||||
include <components.scad>
 | 
			
		||||
 | 
			
		||||
module dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate_of_plates() {
 | 
			
		||||
module sega_2p_plus_one_decorative_plate_of_plates() {
 | 
			
		||||
	difference() {
 | 
			
		||||
		// get a 2mm slice of the bigger button cylinders
 | 
			
		||||
		union() {
 | 
			
		||||
			translate([-panel_x/2, 0, -25]) hull() dir_arc_w_30mm();
 | 
			
		||||
			translate([panel_x/2, 0, -25]) hull() sega_2p_plus_one();
 | 
			
		||||
		}
 | 
			
		||||
		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_plus_one();
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate_of_plates();
 | 
			
		||||
sega_2p_plus_one_decorative_plate_of_plates();
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user