Commit 820adc9e authored by Nicole Faerber's avatar Nicole Faerber
Browse files

Add stabalizing frame and domes.

parent 0bd25424
$fn=60;
// x,y,z dimensions
// t thickness of frame
// d screw dome diameter
// dh screw dome height
module case_outline(x,y,z,t,d,dh) {
union () {
// union () {
difference() {
cube ([x, y, z], center=false);
translate([t,t,(t/2)]) {
cube ([x-2*t, y-2*t, z], center=false);
translate([2,2,0]) {
minkowski() {
cube ([x-3, y-3, z], center=false);
cylinder(r=2,h=0.1);
}
}
translate([t,t, z-1]) {
cube ([x-t, y-t, 4], center=false);
};
translate([4+t,4+t, z-3]) {
cube ([x-8, y-8, 4], center=false);
};
translate([4+t,14+t, z-4]) {
cube ([x-8, y-90, 4], center=false);
};
translate([4+t,74+t, z-4]) {
cube ([x-8, y-90, 4], center=false);
};
translate([t,t, -.5]) {
cube ([x-t, y-t, 12], center=false);
};
}
translate([d,d,0]) {
// mounting domes for the back cover
translate([d,d,1]) {
cylinder (h=dh,r=d,center=false);
}
translate([x-d,d,0]) {
translate([x-d+t,d,1]) {
cylinder (h=dh,r=d,center=false);
}
translate([d,y-d,0]) {
translate([d,y-d,1]) {
cylinder (h=dh,r=d,center=false);
}
translate([x-d,y-d,0]) {
translate([x-d+t,y-d,1]) {
cylinder (h=dh,r=d,center=false);
}
translate([x-d+t,(y/3)-d,1]) {
cylinder (h=dh,r=d,center=false);
}
}
translate([x-d+t,2*(y/3)-d,1]) {
cylinder (h=dh,r=d,center=false);
}
translate([d,(y/3)-d,1]) {
cylinder (h=dh,r=d,center=false);
}
translate([d,2*(y/3)-d,1]) {
cylinder (h=dh,r=d,center=false);
}
// }
}
case_outline(72,135,15,1,3,13);
case_outline(72,135,15,1,2.5,10.5);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment