Commit f665b061 authored by Mio Iwakura's avatar Mio Iwakura

Nightly

parent 5689cc37
......@@ -217,54 +217,161 @@ module guts()
rotate(a = [90, 0, -90])
gfx();
}
{
x = 272;
y = 120;
standoff_points = [
[-x/2 + 7, -y/2 + 4],
[-x/2 + 7, y/2 - 4],
[-x/2 + 7, -y/2 + 45.5],
[-x/2 + 31.5, -y/2 + 4],
[-x/2 + 31.5, y/2 - 4],
[-x/2 + 31.5, -y/2 + 45.5],
[-x/2 + 69.75, -y/2 + 4],
[-x/2 + 69.75, y/2 - 4],
[-x/2 + 69.75, -y/2 + 45.5],
[x/2 - 4, -y/2 + 4],
[x/2 - 63, -y/2 + 4],
[-x/2 + 87.5, -y/2 + 4],
[-x/2 + 87.5, y/2 - 4],
[x/2 - 21, y/2 - 4,],
[-x/2 + 148, y/2 - 4]];
/* let( */
/* r = 16) */
/* { */
/* color("black") */
/* rotate([90, 0, 0]) */
/* intersection() */
/* { */
/* difference() */
/* { */
/* cylinder(h = 151, r = r, center = true); */
/* cylinder(h = 152, r = r - 2, center = true); */
/* } */
/* translate([0, -r, -152/2]) */
/* linear_extrude(152) */
/* square([r, r]); */
/* } */
/* } */
/* let( */
/* r = 16) */
/* { */
/* color("black") */
/* translate([152/2 + 16, -152/2 - 16, 0]) */
/* rotate([90, 0, 90]) */
/* intersection() */
/* { */
/* difference() */
/* { */
/* cylinder(h = 151, r = r, center = true); */
/* cylinder(h = 152, r = r - 2, center = true); */
/* } */
/* translate([0, -r, -152/2]) */
/* linear_extrude(152) */
/* square([r, r]); */
/* } */
/* } */
translate([14, -80, 0])
rotate([180, 0, -90])
intersection(){
rotate_extrude()
translate([42/2, 0, 0])
rotate([0, 0, 90])
difference(){
color("black")
square([280, 151]);
for(p = standoff_points)
translate([p[0] + 138.5, p[1] + 72.5, -1])
linear_extrude(2)
circle(d = 3);
square([42/2, 42/2]);
circle(d = 40);
}
cube([42/2, 42/2, 42/2]);
}
r = 15;
color("black")
translate([280, 151/2, r - 0.5])
rotate([90, 0, 0])
intersection()
{
difference()
{
cylinder(h = 151, r = r, center = true);
cylinder(h = 152, r = r - 1, center = true);
}
translate([0, -r, -152/2])
linear_extrude(152)
square([r, r]);
}
color("black")
translate([294, 0, 14])
square([56, 151]);
{
//@TODO: cut out stand-offs
}
translate([138.5, 72.5, 0.5])
guts();
/* let( */
/* x = 272, */
/* y = 120, */
/* wall_z = 2, */
/* standoff_points = [ */
/* [-x/2 + 7, -y/2 + 4], */
/* [-x/2 + 7, y/2 - 4], */
/* [-x/2 + 7, -y/2 + 45.5], */
/* [-x/2 + 31.5, -y/2 + 4], */
/* [-x/2 + 31.5, y/2 - 4], */
/* [-x/2 + 31.5, -y/2 + 45.5], */
/* [-x/2 + 69.75, -y/2 + 4], */
/* [-x/2 + 69.75, y/2 - 4], */
/* [-x/2 + 69.75, -y/2 + 45.5], */
/* [x/2 - 4, -y/2 + 4], */
/* [x/2 - 63, -y/2 + 4], */
/* [-x/2 + 87.5, -y/2 + 4], */
/* [-x/2 + 87.5, y/2 - 4], */
/* [x/2 - 21, y/2 - 4,], */
/* [-x/2 + 148, y/2 - 4]]) */
/* { */
/* difference(){ */
/* color("black") */
/* linear_extrude(wall_z) */
/* square([280, 151]); */
/* for(p = standoff_points) */
/* translate([p[0] + 138.5, p[1] + 72.5, -1]) */
/* linear_extrude(4) */
/* circle(d = 3); */
/* } */
/* } */
/* let( */
/* r = 16) */
/* { */
/* color("black") */
/* translate([280, 151/2, r]) */
/* rotate([90, 0, 0]) */
/* intersection() */
/* { */
/* difference() */
/* { */
/* cylinder(h = 151, r = r, center = true); */
/* cylinder(h = 152, r = r - 2, center = true); */
/* } */
/* translate([0, -r, -152/2]) */
/* linear_extrude(152) */
/* square([r, r]); */
/* } */
/* } */
/* let( */
/* x = 120, */
/* y = 90, */
/* wall_z = 2, */
/* standoff_points = [ */
/* [x/2 - 4, -y/2 + 4], */
/* [-x/2 + 4, -y/2 + 4] */
/* ]) */
/* { */
/* difference(){ */
/* color("black") */
/* translate([294, 0, 14]) */
/* linear_extrude(wall_z) */
/* square([70, 151]); */
/* translate([164 + 138.5, -1 + 72.5, 14]) */
/* rotate(a = [0, 0, 90]) */
/* union(){ */
/* for(p = standoff_points) */
/* translate([p[0], p[1], -1]) */
/* linear_extrude(4) */
/* circle(d = 3); */
/* } */
/* } */
/* } */
/* let( */
/* r = 16) */
/* { */
/* color("black") */
/* translate([378, 151/2, r]) */
/* rotate([90, 0, 180]) */
/* intersection() */
/* { */
/* difference() */
/* { */
/* cylinder(h = 151, r = r, center = true); */
/* cylinder(h = 152, r = r - 2, center = true); */
/* } */
/* translate([0, -r, -152/2]) */
/* linear_extrude(152) */
/* square([r, r]); */
/* } */
/* } */
/* let( */
/* r = 16) */
/* { */
/* color("black") */
/* translate([329, -r + 2, r]) */
/* rotate([90, 0, 90]) */
/* intersection() */
/* { */
/* difference() */
/* { */
/* cylinder(h = 70, r = r, center = true); */
/* cylinder(h = 71, r = r - 2, center = true); */
/* } */
/* translate([0, -r, -152/2]) */
/* linear_extrude(152) */
/* square([r, r]); */
/* } */
/* } */
/* translate([138.5, 72.5, 2.5]) */
/* guts(); */
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