Add mounting plate scad
This commit is contained in:
41
Traeger Controller Mounting Plate.scad
Normal file
41
Traeger Controller Mounting Plate.scad
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
plate_width = 70;
|
||||||
|
plate_depth = 140;
|
||||||
|
plate_height = 2;
|
||||||
|
mounting_hole_diameter = 5;
|
||||||
|
mounting_hole_outer_offset = 5.5;
|
||||||
|
mounting_hole_true_offset = mounting_hole_outer_offset + (mounting_hole_diameter/2);
|
||||||
|
power_switch_hole_width = 13.5;
|
||||||
|
power_switch_hole_depth = 19.9;
|
||||||
|
|
||||||
|
oem_pcb_mount_post_diameter = 5;
|
||||||
|
oem_pcb_upper_mount_x_outer_dimension = 13;
|
||||||
|
oem_pcb_upper_mount_y_outer_dimension = 22.5;
|
||||||
|
oem_pcb_upper_mount_center_x = plate_width - oem_pcb_upper_mount_x_outer_dimension + (oem_pcb_mount_post_diameter/2);
|
||||||
|
oem_pcb_upper_mount_center_y = oem_pcb_upper_mount_y_outer_dimension - (oem_pcb_mount_post_diameter/2);
|
||||||
|
|
||||||
|
oem_pcb_lower_mount_x_outer_dimension = 36.25;
|
||||||
|
oem_pcb_lower_mount_y_outer_dimension = 26;
|
||||||
|
oem_pcb_lower_mount_center_x = plate_width - oem_pcb_lower_mount_x_outer_dimension + (oem_pcb_mount_post_diameter/2);
|
||||||
|
oem_pcb_lower_mount_center_y = plate_depth - oem_pcb_lower_mount_y_outer_dimension + (oem_pcb_mount_post_diameter/2);
|
||||||
|
|
||||||
|
oem_pcb_mount_post_height = 40;
|
||||||
|
oem_pcb_mount_new_post_diameter = 6;
|
||||||
|
|
||||||
|
$fn = 200;
|
||||||
|
|
||||||
|
difference() {
|
||||||
|
cube([plate_width, plate_depth, plate_height]);
|
||||||
|
translate([plate_width/2, mounting_hole_true_offset, -0.05]) {
|
||||||
|
cylinder(h= plate_height + 0.1, d = mounting_hole_diameter);
|
||||||
|
translate([0, plate_depth - (mounting_hole_true_offset * 2), 0]) {
|
||||||
|
cylinder(h= plate_height + 0.1, d = mounting_hole_diameter);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([oem_pcb_upper_mount_center_x, oem_pcb_upper_mount_center_y, 0]) {
|
||||||
|
cylinder(h = oem_pcb_mount_post_height, d = oem_pcb_mount_new_post_diameter);
|
||||||
|
}
|
||||||
|
translate([oem_pcb_lower_mount_center_x, oem_pcb_lower_mount_center_y, 0]) {
|
||||||
|
cylinder(h = oem_pcb_mount_post_height, d = oem_pcb_mount_new_post_diameter);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user