First release og mounting plate ready
This commit is contained in:
parent
7c76f03ceb
commit
ccb2471961
@ -7,8 +7,8 @@ bottom = 5;
|
||||
height = 200;
|
||||
width = 70;
|
||||
|
||||
top_box_height = 60+6;
|
||||
top_box_depth = 25;
|
||||
top_box_height = 59+6;
|
||||
top_box_depth = 27;
|
||||
top_box_position = 175;
|
||||
|
||||
lock_box_height = 27+6;
|
||||
@ -57,7 +57,8 @@ servo_hole = 2.5;
|
||||
servo_hole_cc_x = 47.26;
|
||||
servo_hole_cc_y = 10.17;
|
||||
|
||||
zwave_cutout = 15;
|
||||
screw_cutout_width = 8;
|
||||
screw_cutout_cc = 45;
|
||||
|
||||
module cover (){
|
||||
// Main mounting plate
|
||||
@ -76,6 +77,7 @@ module cover (){
|
||||
// Bottom plate
|
||||
translate([0,(height-(width/2)-top_r)/2,bottom/2])cube([width, height-(width/2)-top_r, bottom], center = true);
|
||||
translate([0,0,bottom/2])cylinder(r = width/2, h = bottom, center = true, $fn=100);
|
||||
|
||||
}
|
||||
// Handle cutout
|
||||
translate([0,handle_position,bottom/2])cylinder(r = handle_inner_diameter/2, h = bottom, center = true, $fn=100);
|
||||
@ -90,7 +92,7 @@ module cover (){
|
||||
translate([0,cable_lock_pos_1+(cable_lock_pos_2-cable_lock_pos_1)/2,cable_lock_heigh/2])cube([cable_lock_width,cable_lock_pos_2-cable_lock_pos_1,cable_lock_heigh], center = true);
|
||||
// Motor cable cutout
|
||||
translate([-25,cable_motor_pos_1,(bottom+servo_depth)/2])cylinder(r = cable_motor_cutout_diameter/2, h = bottom+servo_depth, center = true, $fn=100);
|
||||
translate([-25,cable_motor_pos_2,bottom/2])cylinder(r = cable_motor_cutout_diameter/2, h = bottom, center = true, $fn=100);
|
||||
translate([-25,cable_motor_pos_2,top_box_depth/2])cylinder(r = cable_motor_cutout_diameter/2, h = top_box_depth, center = true, $fn=100);
|
||||
translate([-25,cable_motor_pos_1+(cable_motor_pos_2-cable_motor_pos_1)/2,cable_motor_heigh/2])cube([cable_motor_width,cable_motor_pos_2-cable_motor_pos_1,cable_motor_heigh], center = true);
|
||||
// Motor cutout
|
||||
translate([0,lock_position,(lock_box_depth+servo_depth+servo_wall)/2])cube([width-wall*2-1, lock_box_height-wall*4, lock_box_depth-servo_depth-servo_wall], center=true);
|
||||
@ -99,29 +101,33 @@ module cover (){
|
||||
// Motor mount holes
|
||||
translate([-13.47-1.5,lock_position+servo_hole_cc_y/2,servo_depth/2+servo_wall])cylinder(r = servo_hole/2, h = servo_depth, center=true);
|
||||
translate([-13.47-1.5,lock_position-servo_hole_cc_y/2,servo_depth/2+servo_wall])cylinder(r = servo_hole/2, h = servo_depth, center=true);
|
||||
// Motor box screw cutout
|
||||
translate([screw_cutout_cc/2,lock_box_position,lock_box_depth-wall/2])cube([screw_cutout_width, lock_box_height, wall], center=true);
|
||||
translate([-screw_cutout_cc/2,lock_box_position,lock_box_depth-wall/2])cube([screw_cutout_width, lock_box_height, wall], center=true);
|
||||
translate([-screw_cutout_cc/2,lock_box_position+lock_box_height/2-wall,lock_box_depth-wall-servo_depth/2])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
translate([screw_cutout_cc/2,lock_box_position+lock_box_height/2-wall,lock_box_depth-wall-servo_depth/2])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
translate([-screw_cutout_cc/2,lock_box_position-lock_box_height/2+wall,lock_box_depth-wall-servo_depth/2])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
translate([screw_cutout_cc/2,lock_box_position-lock_box_height/2+wall,lock_box_depth-wall-servo_depth/2])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
// Top box cutout
|
||||
translate([0,top_box_position,(top_box_depth-bottom)/2+bottom+pcb_distance_z/2])cube([width-wall*2-1, top_box_height-wall*4, top_box_depth-bottom-pcb_distance_z], center=true);
|
||||
translate([0,top_box_position,(top_box_depth-bottom-3)/2+bottom+pcb_distance_z/2])cube([width-wall*2-1, top_box_height-wall*4, top_box_depth-bottom+3-pcb_distance_z], center=true);
|
||||
translate([0,top_box_position,top_box_depth-wall/2])cube([width-wall*2, top_box_height-wall*2, wall], center=true);
|
||||
translate([0,top_box_position,(pcb_distance_z)/2+bottom])cube([width-wall*2-3, top_box_height-wall*4-2, pcb_distance_z], center=true);
|
||||
// Z-Wave cutout
|
||||
//translate([(width-0.5)/2-wall/2,top_box_position-10,top_box_depth/2+(bottom+pcb_distance_z+2)/2])cube([wall+0.5, zwave_cutout, top_box_depth - bottom - pcb_distance_z - 2], center=true);
|
||||
translate([0,top_box_position,(pcb_distance_z)/2+bottom-3])cube([width-wall*2-5, top_box_height-wall*4-4, pcb_distance_z], center=true);
|
||||
// Power cutout
|
||||
translate([26,top_box_position+top_box_height/2-(wall*2+2)/2,(pcb_distance_z-1)/2+2])cube([6, wall*2+2, pcb_distance_z-1], center=true);
|
||||
// Top box screw cutout
|
||||
translate([screw_cutout_cc/2,top_box_position,top_box_depth-wall/2])cube([screw_cutout_width, top_box_height, wall], center=true);
|
||||
translate([-screw_cutout_cc/2,top_box_position,top_box_depth-wall/2])cube([screw_cutout_width, top_box_height, wall], center=true);
|
||||
translate([-screw_cutout_cc/2,top_box_position+top_box_height/2-wall,top_box_depth-wall-servo_depth/2])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
translate([screw_cutout_cc/2,top_box_position+top_box_height/2-wall,top_box_depth-wall-servo_depth/2])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
translate([-screw_cutout_cc/2,top_box_position-top_box_height/2+wall,top_box_depth-wall-servo_depth/2])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
translate([screw_cutout_cc/2,top_box_position-top_box_height/2+wall,top_box_depth-wall-servo_depth/2])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
}
|
||||
// PCB mounting
|
||||
translate([0,top_box_position,bottom])difference(){
|
||||
union(){
|
||||
//translate([2.54*11,2.54*9,pcb_distance_z/2])cylinder(r = pcb_distance_width/2, h = pcb_distance_z, center = true);
|
||||
//translate([0,2.54*9,pcb_distance_z/2])cylinder(r = pcb_distance_width/2, h = pcb_distance_z, center = true);
|
||||
//translate([2.54*11,-2.54*9,pcb_distance_z/2])cylinder(r = pcb_distance_width/2, h = pcb_distance_z, center = true);
|
||||
//translate([-2.54*11,2.54*9,pcb_distance_z/2])cylinder(r = pcb_distance_width/2, h = pcb_distance_z, center = true);
|
||||
//translate([-2.54*11,-2.54*0,pcb_distance_z/2])cylinder(r = pcb_distance_width/2, h = pcb_distance_z, center = true);
|
||||
translate([0,-2.54*0,pcb_distance_z/2])cylinder(r = pcb_distance_width/2, h = pcb_distance_z, center = true);
|
||||
translate([-2.54*1.5,2.54*0.5,pcb_distance_z/2-3])cylinder(r = pcb_distance_width/2, h = pcb_distance_z, center = true);
|
||||
}
|
||||
//translate([2.54*11,2.54*9,pcb_distance_z/2])cylinder(r = pcb_distance_hole/2, h = pcb_distance_z, center = true);
|
||||
//translate([0,2.54*9,pcb_distance_z/2])cylinder(r = pcb_distance_hole/2, h = pcb_distance_z, center = true);
|
||||
//translate([2.54*11,-2.54*9,pcb_distance_z/2])cylinder(r = pcb_distance_hole/2, h = pcb_distance_z, center = true);
|
||||
//translate([-2.54*11,2.54*9,pcb_distance_z/2])cylinder(r = pcb_distance_hole/2, h = pcb_distance_z, center = true);
|
||||
//translate([-2.54*11,-2.54*0,pcb_distance_z/2])cylinder(r = pcb_distance_hole/2, h = pcb_distance_z, center = true);
|
||||
translate([0,-2.54*0,pcb_distance_z/2])cylinder(r = pcb_distance_hole/2, h = pcb_distance_z, center = true);
|
||||
translate([-2.54*1.5,2.54*0.5,pcb_distance_z/2-3])cylinder(r = pcb_distance_hole/2, h = pcb_distance_z, center = true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
34836
stl/mounting_plate.stl
34836
stl/mounting_plate.stl
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user