Commit 701efb59 authored by Mio Iwakura's avatar Mio Iwakura

Nightly

parent 318506ed
$fn = 99;
$fn = 99; //@NOTE: invalid 2-manifold work-around
module guts()
{
module expansion_board()
......@@ -227,10 +227,11 @@ module guts()
}
module case_bottom()
{
wall_z = 2;
//@NOTE: wall_z currently must be 4, assumptions are baked in to model
wall_z = 4;
module base()
{
module ramp_corner(r = 16, z = 2)
module ramp_corner(r = 18, z = wall_z)
{
intersection()
{
......@@ -249,7 +250,7 @@ module case_bottom()
cube([r, r, r]);
}
}
module ramp_edge(r = 16, length = 151, z = 2)
module ramp_edge(r = 18, length = 151, z = wall_z)
{
intersection()
{
......@@ -285,11 +286,15 @@ module case_bottom()
difference()
{
linear_extrude(wall_z)
square([280, 151]);
square([276, 151]);
for(p = standoff_points)
translate([p[0] + 138.5, p[1] + 72.5, -1])
linear_extrude(4)
circle(d = 3);
{
linear_extrude(wall_z + 2)
circle(d = 3);
linear_extrude(wall_z - 1)
circle(d = 8);
}
}
}
let(x = 120,
......@@ -309,97 +314,141 @@ module case_bottom()
{
for(p = standoff_points)
translate([p[0], p[1], -1])
linear_extrude(4)
circle(d = 3);
{
linear_extrude(wall_z + 2)
circle(d = 3);
linear_extrude(wall_z - 1)
circle(d = 8);
}
}
}
}
translate([329, 167, 16])
translate([329, 169, 18])
rotate([90, 0, -90])
ramp_edge(length = 70);
translate([278, 151/2, 16])
rotate([90, 0, 0])
ramp_edge();
translate([380, 151/2, 16])
translate([382, 151/2, 18])
rotate([90, 0, 180])
ramp_edge();
translate([329, -16, 16])
translate([276, 151/2, 18])
rotate([90, 0, 0])
ramp_edge();
translate([329, -18, 18])
rotate([90, 0, 90])
ramp_edge(length = 70);
translate([294, 0, 16])
translate([294, 0, 18])
rotate([180, 0, -90])
ramp_corner();
translate([364, 0, 16])
translate([364, 0, 18])
rotate([180, 0, 0])
ramp_corner();
translate([294, 151, 16])
translate([294, 151, 18])
rotate([180, 0, 180])
ramp_corner();
translate([364, 151, 16])
translate([364, 151, 18])
rotate([180, 0, 90])
ramp_corner();
}
module skirt()
{
linear_extrude(wall_z)
union()
{
translate([0, -20, 0])
square([278, 20]);
translate([0, 151, 0])
square([278, 20]);
/* translate([-16, 0, 0]) */
/* square([16, 151]); */
translate([0, 151, 0])
translate([22, 0, 0])
square([276, 22]);
translate([22, 173, 0])
square([276, 22]);
translate([0, 22, 0])
square([22, 151]);
translate([22, 173, 0])
rotate([0, 0, 90])
intersection()
{
circle(d = 16*2);
square([16, 16]);
}
intersection()
{
circle(d = 22*2);
square([22, 22]);
}
translate([22, 22, 0])
rotate([0, 0, 180])
intersection()
{
circle(d = 16*2);
square([16, 16]);
}
translate([294, 151, 0])
intersection()
{
circle(d = 22*2);
square([22, 22]);
}
translate([319, 170, 0])
rotate([0, 0, 90])
difference()
{
square([21, 21]);
circle(d = 21*2 - 1);
}
translate([319, 25, 0])
rotate([0, 0, 180])
difference()
{
square([21, 21]);
circle(d = 21*2 - 1);
}
translate([298, 191, 0])
square([88, 4]);
translate([298, 0, 0])
square([88, 4]);
translate([404, 22, 0])
square([4, 151]);
translate([386, 22, 0])
rotate([0, 0, -90])
intersection()
{
difference()
{
square([16, 16]);
circle(d = 16*2 - 1);
circle(d = 44);
circle(d = 44 - 8);
}
translate([294, 0, 0])
rotate([0, 0, 180])
square([44, 44]);
}
translate([386, 173, 0])
rotate([0, 0, 0])
intersection()
{
difference()
{
square([16, 16]);
circle(d = 16*2 - 1);
circle(d = 44);
circle(d = 44 - 8);
}
square([44, 44]);
}
}
}
foot_z = 12;
translate([20, 20, foot_z])
translate([22, 22, foot_z])
base();
translate([0, 0, foot_z])
skirt();
module foot()
{
linear_extrude(foot_z)
intersection()
{
circle(d = 16*2);
square([16, 16]);
difference()
{
circle(d = 42);
circle(d = 42 - 4);
}
square([42, 42]);
}
}
/* translate([20, 20, 0]) */
/* rotate([0, 0, -180]) */
/* foot(); */
/* translate([22, 167, 0]) */
/* rotate([0, 0, 90]) */
/* foot(); */
/* translate([0, 0, 0]) */
/* foot(); */
/* translate([0, 0, 0]) */
/* foot(); */
translate([23, 23, 0])
rotate([0, 0, -180])
foot();
translate([23, 172, 0])
rotate([0, 0, 90])
foot();
translate([385, 23, 0])
rotate([0, 0, -90])
foot();
translate([385, 172, 0])
rotate([0, 0, 0])
foot();
}
/* translate([138.5, 72.5, 2.5]) */
/* translate([160.5, 94.5, 16.5]) */
/* guts(); */
/* color("black") */
color("dimgray")
case_bottom();
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