|
@ -74,3 +74,31 @@ difference() { |
|
|
} |
|
|
} |
|
|
//#translate([32.4,24.2,57/2-wall]) cube([46,30,57-wall],center=true); |
|
|
//#translate([32.4,24.2,57/2-wall]) cube([46,30,57-wall],center=true); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
module lid() { |
|
|
|
|
|
z=8.0; |
|
|
|
|
|
translate([100+corner,0,-wall]) |
|
|
|
|
|
difference() { |
|
|
|
|
|
minkowski() { |
|
|
|
|
|
cube([width-2*corner-2*(wall+tolerance),length-2*corner-2*(wall+tolerance),z]); |
|
|
|
|
|
cylinder(r=corner+wall,h=0.1); |
|
|
|
|
|
} |
|
|
|
|
|
difference() { |
|
|
|
|
|
translate([0,0,wall]) minkowski() { |
|
|
|
|
|
cube([width-2*corner-2*(wall+tolerance),length-2*corner-2*(wall+tolerance),z+2]); |
|
|
|
|
|
cylinder(r=corner,h=0.1); |
|
|
|
|
|
} |
|
|
|
|
|
translate([-corner+2,-corner+2,0]) cylinder(r=corner,h=z); // pi_z+wall+pi_thick |
|
|
|
|
|
translate([width-corner-2,-corner+2,0]) cylinder(r=corner,h=z); // z-8 |
|
|
|
|
|
translate([-corner+2,length-corner-2,0]) cylinder(r=corner,h=z); // bottom_thick+53 |
|
|
|
|
|
translate([width-corner-2,length-corner-2,0]) cylinder(r=corner,h=z); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
translate([-wall-tolerance,-wall-tolerance,0]) { |
|
|
|
|
|
translate([-corner/2,-corner/2,z-8]) {cylinder(r=3.0/2,h=8+0.2); cylinder(r=6/2,h=3);} |
|
|
|
|
|
translate([width-1.5*corner,-corner/2,z-8]) {cylinder(r=3.0/2,h=8+0.2); cylinder(r=6/2,h=3);} |
|
|
|
|
|
translate([-corner/2,length-1.5*corner,z-8]) {cylinder(r=3.0/2,h=8+0.2); cylinder(r=6/2,h=3);} |
|
|
|
|
|
translate([width-1.5*corner,length-1.5*corner,z-8]) {cylinder(r=3.0/2,h=8+0.2); cylinder(r=6/2,h=3);} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |