Updated cover scads

This commit is contained in:
2018-02-15 22:10:04 +01:00
parent 483432187e
commit a04eda0881
4 changed files with 36228 additions and 17268 deletions

View File

@@ -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);
}
}