Skip to content

Commit

Permalink
Added Wifi dongle + Speaker
Browse files Browse the repository at this point in the history
  • Loading branch information
hugokernel committed Sep 1, 2013
1 parent 57fc45f commit 64ba9db
Show file tree
Hide file tree
Showing 4 changed files with 19,639 additions and 11,009 deletions.
13 changes: 7 additions & 6 deletions cad/body.scad
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ THREADED_ROD_Z_POSITION = 1;
TOOLBOX_SCREW_DIAMETER = 2;

module wifi() {
width = 15.5;
length = 16.5;
height = 18.0;
width = 11.2;
length = 16.2;
height = 18.25;
base_diameter = 5.8;
base_height = 2;
antenna_diameter = 8;
antenna_height = 100;

translate([0, 0, height / 2]) {
cube(size = [width, length, height], center = true);
cube(size = [length, width, height], center = true);
}

translate([0, 0, height + base_height / 2]) {
Expand All @@ -88,8 +88,9 @@ module speaker() {
child(0);

for (data = [
[0, diameter / 2 + 5, 0],
[0, - diameter / 2 - 5, 0],
//[0, diameter / 2 + 5, 0],
[0, 30, 0],
[0, -30, 0],
]) {
translate(data) {
cylinder(r = hole / 2, h = thickness, center = true);
Expand Down
19 changes: 12 additions & 7 deletions cad/body_cutted.scad
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,13 @@ module speaker_holes() {
}
}
};

cylinder(r = 1.7, h = 10);

union() {
cylinder(r = 1.7, h = 10);
translate([0, 0, BODY_THICKNESS - 3]) {
cylinder(r1 = 1.7, r2 = 3.5, h = 2.1);
}
}
};
}

Expand All @@ -54,7 +59,7 @@ module show(part, support = false) {
teeths = [TEETHS_COUNT, 10, CLEAR];
dim = [BODY_WIDTH * 2, BODY_LENGTH, BODY_THICKNESS];

% cube(size = dim, center = true);
//% cube(size = dim, center = true);

if (part == 0) {
difference() {
Expand Down Expand Up @@ -89,13 +94,13 @@ module show(part, support = false) {
}
}

intersection() {
//intersection() {
%translate([0, -55, 0]) {
cube(size = [110, 35, 10], center = true);
//cube(size = [110, 35, 10], center = true);
}

translate([0, -110, 2.5]) {
cube(size = [24, 100, 5], center = true);
//cube(size = [24, 100, 5], center = true);
}

if (!SUPPORT) {
Expand All @@ -104,5 +109,5 @@ intersection() {
} else {
show(PART, SUPPORT);
}
}
//}

Loading

0 comments on commit 64ba9db

Please sign in to comment.