|
|
|
|
|
|
|
wall = 2.0;
|
|
|
|
tolerance = 0.4;
|
|
|
|
|
|
|
|
width=65.0+6;
|
|
|
|
length=30.0+32.0;
|
|
|
|
height=14.0;
|
|
|
|
|
|
|
|
$fn=50;
|
|
|
|
|
|
|
|
|
|
|
|
holes_x=58.0;
|
|
|
|
holes_y=23.0;
|
|
|
|
|
|
|
|
hdmi_y_space = 33.0;
|
|
|
|
|
|
|
|
module base(x, y, z, thick) {
|
|
|
|
translate([0,0,-thick])
|
|
|
|
difference() {
|
|
|
|
minkowski() {
|
|
|
|
cube([x,y,z]);
|
|
|
|
cylinder(r=wall,h=0.1);
|
|
|
|
}
|
|
|
|
translate([thick,thick,thick]) minkowski() {
|
|
|
|
cube([x-2*thick,y-2*thick,z]);
|
|
|
|
cylinder(r=thick,h=0.1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module holes(r, h) {
|
|
|
|
translate([0,0,0]) cylinder(r=r,h=h);
|
|
|
|
translate([holes_x,0,0]) cylinder(r=r,h=h);
|
|
|
|
translate([0,holes_y,0]) cylinder(r=r,h=h);
|
|
|
|
translate([holes_x,holes_y,0]) cylinder(r=r,h=h);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
translate([-(width-holes_x)/2,-hdmi_y_space,0]) base(width, length, height, wall);
|
|
|
|
holes(3.5, 1.0);
|
|
|
|
holes(2.0/2, height);
|
|
|
|
|
|
|
|
#translate([12.4-3.5,-hdmi_y_space-1+(12/2),(13/2)-1.2]) {
|
|
|
|
cube([22,12,13], center=true);
|
|
|
|
translate([0,-2*wall,0]) cube([17.5,12,9], center=true);
|
|
|
|
}
|
|
|
|
|
|
|
|
#translate([41.4-3.5,-30,4]) rotate([90,0,0]) cylinder(r=3.0/2,h=10);
|