|
|
@ -9,7 +9,7 @@ height=58.0; |
|
|
|
hdmi_y_space = 33.0; |
|
|
|
pi_z = 40; |
|
|
|
|
|
|
|
$fn=50; |
|
|
|
$fn=250; |
|
|
|
|
|
|
|
module base(x, y, z, thick, bottom_thick) { |
|
|
|
translate([corner,corner,-bottom_thick]) |
|
|
@ -40,18 +40,18 @@ module base(x, y, z, thick, bottom_thick) { |
|
|
|
module holes(r, h, w,w2) { |
|
|
|
holes_x=58.0; |
|
|
|
holes_y=23.0; |
|
|
|
translate([0,0,0]) {cylinder(r=r,h=h); translate([-w2/2,0,h/2]) cube([w2,r*2,h],center=true);} |
|
|
|
translate([holes_x,0,0]) {cylinder(r=r,h=h); translate([w/2,0,h/2]) cube([w,r*2,h],center=true);} |
|
|
|
translate([0,holes_y,0]) {cylinder(r=r,h=h); translate([-w2/2,0,h/2]) cube([w2,r*2,h],center=true);} |
|
|
|
translate([holes_x,holes_y,0]) {cylinder(r=r,h=h); translate([w/2,0,h/2]) cube([w,r*2,h],center=true);} |
|
|
|
translate([0,0,0]) {cylinder(r=r,h=h); translate([-w2/2,0,h/2-2]) cube([w2,r*2,h-4],center=true);} |
|
|
|
translate([holes_x,0,0]) {cylinder(r=r,h=h); translate([w/2,0,h/2-2]) cube([w,r*2,h-4],center=true);} |
|
|
|
translate([0,holes_y,0]) {cylinder(r=r,h=h); translate([-w2/2,0,h/2-2]) cube([w2,r*2,h-4],center=true);} |
|
|
|
translate([holes_x,holes_y,0]) {cylinder(r=r,h=h); translate([w/2,0,h/2-2]) cube([w,r*2,h-4],center=true);} |
|
|
|
} |
|
|
|
|
|
|
|
difference() { |
|
|
|
union() { |
|
|
|
translate([-4-3.5-5,-hdmi_y_space,0]) base(width, length, height, wall, wall); |
|
|
|
difference() { |
|
|
|
holes(3.5, pi_z, 20,13); |
|
|
|
translate([0,0,pi_z-16]) holes(2.0/2+0.2, pi_z, 0,0); |
|
|
|
holes(3.5, pi_z+4, 20,13); |
|
|
|
translate([0,0,pi_z+4-16]) holes(2.0/2+0.2, pi_z, 0,0); |
|
|
|
} |
|
|
|
translate([58-(41.4-3.5),-28,pi_z+1.8]) rotate([90,0,0]) { // usb |
|
|
|
cylinder(r=6.0/2+tolerance,h=6); |
|
|
|