Model lid
This commit is contained in:
parent
921f6479aa
commit
c19bc7a0db
1 changed files with 32 additions and 2 deletions
|
@ -48,6 +48,9 @@ offset_power_reg = [
|
||||||
wall_thickness
|
wall_thickness
|
||||||
];
|
];
|
||||||
|
|
||||||
|
offset_lid = [ box_outside[0] + 25, 0, 0 ];
|
||||||
|
//offset_lid = [ 0, 0, box_outside[2] + 25 ];
|
||||||
|
|
||||||
// -------------------------------------------
|
// -------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
@ -91,7 +94,6 @@ module corner_piece() {
|
||||||
// Box
|
// Box
|
||||||
// -------------------------------------------
|
// -------------------------------------------
|
||||||
|
|
||||||
union() {
|
|
||||||
difference() {
|
difference() {
|
||||||
cube(box_outside);
|
cube(box_outside);
|
||||||
|
|
||||||
|
@ -204,4 +206,32 @@ translate(offset_power_reg) {
|
||||||
]) corner_piece();
|
]) corner_piece();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
// Lid
|
||||||
|
// -------------------------------------------
|
||||||
|
|
||||||
|
translate(offset_lid) {
|
||||||
|
difference() {
|
||||||
|
cube([ box_outside[0], box_outside[1], wall_thickness * 1.5 ]);
|
||||||
|
|
||||||
|
translate([0, 0, -0.1]) union() {
|
||||||
|
inset = corner_piece_size / 2 + wall_thickness;
|
||||||
|
translate([
|
||||||
|
inset,
|
||||||
|
inset,
|
||||||
|
]) cylinder(h = screw_length, d = screw_diameter, $fn = 25);
|
||||||
|
translate([
|
||||||
|
box_outside[0] - inset,
|
||||||
|
inset,
|
||||||
|
]) cylinder(h = screw_length, d = screw_diameter, $fn = 25);
|
||||||
|
translate([
|
||||||
|
box_outside[0] - inset,
|
||||||
|
box_outside[1] - inset
|
||||||
|
]) cylinder(h = screw_length, d = screw_diameter, $fn = 25);
|
||||||
|
translate([
|
||||||
|
inset,
|
||||||
|
box_outside[1] - inset
|
||||||
|
]) cylinder(h = screw_length, d = screw_diameter, $fn = 25);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue