back pieces for extending the enclosure to the back edge of the base
these pieces are largely not used for anything, but the left/right have mounting holes for securing the whole enclosure to the base, and finishing the connection to where the monitor is mounted Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
		
							parent
							
								
									b826ecaccf
								
							
						
					
					
						commit
						2f027ef1fe
					
				
							
								
								
									
										26
									
								
								src/extras/q2009/extended-back-left-mount.scad
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								src/extras/q2009/extended-back-left-mount.scad
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,26 @@
 | 
			
		||||
/* A back piece of the enclosure, with a mounting hole.
 | 
			
		||||
 *
 | 
			
		||||
 * SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
include <parameters.scad>
 | 
			
		||||
include <components.scad>
 | 
			
		||||
use <extended-back.scad>
 | 
			
		||||
 | 
			
		||||
// X: inner post to post (inclusive) is approx. 428.625mm, so half that, minus half the post itself
 | 
			
		||||
// (41.28mm) is how much in from a normal panel to put the M6 mounting hole
 | 
			
		||||
// Y: eyeballed it to 30mm
 | 
			
		||||
mount_hole_x = (panel_x / 2) - (panel_x - ((428.625 / 2) - (41.28 / 2)));
 | 
			
		||||
mount_hole_y = (panel_y / 2) + 30;
 | 
			
		||||
 | 
			
		||||
module left_mount_extended_back() {
 | 
			
		||||
	difference() {
 | 
			
		||||
		extended_back();
 | 
			
		||||
		translate([mount_hole_x, -mount_hole_y, -30]) m6_hole();
 | 
			
		||||
		// punch out the back for cables
 | 
			
		||||
		cube([frame_x-70, frame_y+160, frame_z-20], center=true);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
left_mount_extended_back();
 | 
			
		||||
							
								
								
									
										15
									
								
								src/extras/q2009/extended-back-right-mount.scad
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								src/extras/q2009/extended-back-right-mount.scad
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
			
		||||
/* A back piece of the enclosure, with a mounting hole.
 | 
			
		||||
 *
 | 
			
		||||
 * SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
include <parameters.scad>
 | 
			
		||||
include <components.scad>
 | 
			
		||||
use <extended-back-left-mount.scad>
 | 
			
		||||
 | 
			
		||||
module right_mount_extended_back() {
 | 
			
		||||
	mirror([1, 0, 0]) left_mount_extended_back();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
right_mount_extended_back();
 | 
			
		||||
							
								
								
									
										30
									
								
								src/extras/q2009/extended-back.scad
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								src/extras/q2009/extended-back.scad
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,30 @@
 | 
			
		||||
/* A back piece extended the rest of the depth of the base.
 | 
			
		||||
 *
 | 
			
		||||
 * SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
include <parameters.scad>
 | 
			
		||||
include <components.scad>
 | 
			
		||||
use <frames/pieces/extended/front-or-back.scad>
 | 
			
		||||
 | 
			
		||||
module back_piece_extension() {
 | 
			
		||||
	// combine the original wall with a copy to "pull" the wall out
 | 
			
		||||
	hull() {
 | 
			
		||||
		linear_extrude(height=80) bottom_piece_wall();
 | 
			
		||||
		linear_extrude(height=(frame_wall-frame_bevel_height)) bottom_piece_wall();
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
module extended_back() {
 | 
			
		||||
	difference() {
 | 
			
		||||
		union() {
 | 
			
		||||
			clean_front_or_back();
 | 
			
		||||
			translate([0, -frame_y/2+frame_wall, 0]) rotate([90, 0, 0]) back_piece_extension();
 | 
			
		||||
		}
 | 
			
		||||
		cube([frame_x-60, frame_y+160-10, frame_z-10], center=true);
 | 
			
		||||
		translate([0, -frame_y/2-35, 0]) cube([frame_x-20, 70, frame_z-10], center=true);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
extended_back();
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user