Updated cover scads
This commit is contained in:
@@ -10,19 +10,21 @@ servo_hole = 2.5+0.5;
|
||||
screw_cutout_width = 8;
|
||||
screw_cutout_cc = 45;
|
||||
|
||||
tolerance = 0.3;
|
||||
|
||||
module cover (){
|
||||
// Main mounting plate
|
||||
difference(){
|
||||
union(){
|
||||
cube([width-wall*2,lock_box_height-wall*2,wall], center = true);
|
||||
translate([screw_cutout_cc/2,0,0])cube([screw_cutout_width, lock_box_height, wall], center=true);
|
||||
translate([-screw_cutout_cc/2,0,0])cube([screw_cutout_width, lock_box_height, wall], center=true);
|
||||
cube([width-wall*2-tolerance,lock_box_height-wall*2-tolerance,wall], center = true);
|
||||
translate([screw_cutout_cc/2,0,0])cube([screw_cutout_width-tolerance, lock_box_height, wall], center=true);
|
||||
translate([-screw_cutout_cc/2,0,0])cube([screw_cutout_width-tolerance, lock_box_height, wall], center=true);
|
||||
}
|
||||
// Motor box screw cutout
|
||||
translate([-screw_cutout_cc/2,lock_box_height/2-wall,0])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
translate([screw_cutout_cc/2,lock_box_height/2-wall,0])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
translate([-screw_cutout_cc/2,-lock_box_height/2+wall,0])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
translate([screw_cutout_cc/2,-lock_box_height/2+wall,0l])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
translate([screw_cutout_cc/2,-lock_box_height/2+wall,0])cylinder(r=servo_hole/2, h = servo_depth, center=true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user