20 lines
809 B
OpenSCAD
20 lines
809 B
OpenSCAD
height = 12.8;
|
|
width = 19;
|
|
depth = 12;
|
|
|
|
mounting_diameter = 6.5;
|
|
|
|
mounting_hole_diameter = 1.5;
|
|
mounting_hole_cc = 6.5;
|
|
mounting_hole_depth = 10;
|
|
mounting_offset = 5.5;
|
|
|
|
difference(){
|
|
cube([width, depth, height], center = true);
|
|
translate([width/2-13,-0.8,0])cylinder(r = mounting_diameter/2, h = height, center = true, $fn = 30);
|
|
translate([-width/2,depth/2-mounting_offset,mounting_hole_cc/2])rotate([0,90,0])cylinder(r = mounting_hole_diameter/2, h = mounting_hole_depth, center = true, $fn = 30);
|
|
translate([-width/2,depth/2-mounting_offset,-mounting_hole_cc/2])rotate([0,90,0])cylinder(r = mounting_hole_diameter/2, h = mounting_hole_depth, center = true, $fn = 30);
|
|
translate([0,-depth/2+1,-4])cube([width, 2, 2], center = true);
|
|
translate([width/2-1,0,-4])cube([2, depth, 2], center = true);
|
|
}
|