Navigation Menu

Skip to content

Commit

Permalink
Design updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Qvist committed Nov 11, 2014
1 parent e100581 commit d2a03c7
Show file tree
Hide file tree
Showing 55 changed files with 294,219 additions and 2,493 deletions.
35 changes: 24 additions & 11 deletions Design/Case/Enclosure.scad
Expand Up @@ -19,9 +19,24 @@ module box() {
}
}

module topSlice() { translate([0,0,h/2]) cube([w+2*t+1, d+2*t+2, h], center=true); }
module topSlice() {
translate([0,0,h-3]) cube([w+(2*t+1)*0+1.5, d+(2*t+2)*0+1.5, h], center=true);
translate([0,0,h+t-2.4]) cube([w+(2*t+1)+1.5, d+(2*t+2)+1.5, h], center=true);
}
module bottomSlice() { translate([0,0,-h/2]) cube([w+2*t+1, d+2*t+2, h], center=true); }

lhm = 1.5;
tolerance=0.14;
module lid_new() {
difference() {
translate([0,0,lhm/2]) cube([w+1.5-tolerance*2.5, d+1.5-tolerance, lhm], center=true);
translate([w/2+1-tolerance/2,0,lhm/2]) cube([2, 8, lhm+2*tolerance], center=true);
translate([-3, -2, 0]) slit();
translate([-3, 0, 0]) slit();
translate([-3, 2, 0]) slit();
}
}

module ports() {
module usb() {
// cube([usbw, usbh, t+2], center = true);
Expand All @@ -35,8 +50,8 @@ module ports() {
translate([-(usbw/2+usbw/d2), 0, -(usbh/2+usbw/d2)]) rotate([0, 45, 0]) cube([3, t+2, usbh], center = true);
}
}
translate([w/2-1, d/6, -8]) rotate([0, 90, 0]) cylinder(r=6.2/2, h=t+2, $fn=32);
translate([w/2-1, -d/6, -8]) rotate([0, 90, 0]) cylinder(r=6.2/2, h=t+2, $fn=32);
translate([w/2-1, d/5, -1.5]) rotate([0, 90, 0]) cylinder(r=6.2/2, h=t+2, $fn=32);
translate([w/2-1, -d/5, -1.5]) rotate([0, 90, 0]) cylinder(r=6.2/2, h=t+2, $fn=32);
translate([-(w/2-mdw/2), d/2+t/2, -(h/2-(usbh/2)-usbl)]) usb();
}

Expand All @@ -59,8 +74,8 @@ module indicators() {
}

module symbols() {
translate([w/2+t, -(d/2-(d/10)), -8]) one();
translate([w/2+t, (d/2-(d/10)), -8]) zero();
translate([w/2+t, -(d/2-(d/15)), -1.5]) one();
translate([w/2+t, (d/2-(d/15)), -1.5]) zero();
}

module zero() {
Expand Down Expand Up @@ -91,17 +106,15 @@ module bottom() {
ports();
symbols();
}
pegs();
//pegs();
divider();
}
}

module enclosure() {
translate([0,-(d/2+(d/6)),(h/2+t)]) rotate([180, 0, 0]) top();
translate([0,(d/2+(d/6)),(h/2+t)]) bottom();

//translate([0,0,(h/2+t)]) rotate([180, 0, 0]) top();
//bottom
translate([0,0,(h/2+t)]) bottom();
// translate([0,0, h+lhm+3]) lid_new();
translate([0,-35,0]) lid_new();
}

enclosure();
Expand Down

0 comments on commit d2a03c7

Please sign in to comment.