2019-03-25 12:31:40 +03:00
|
|
|
// half-case for USB3.0-SATA + 25x15 DC-DC converter
|
|
|
|
|
2019-03-25 19:16:02 +03:00
|
|
|
base_h = 2.4;
|
|
|
|
dcdc_h = 1.2;
|
|
|
|
|
2019-03-25 12:31:40 +03:00
|
|
|
color([0, 0.8, 0]) {
|
|
|
|
cube(size=[42, 30, 1.5]);
|
2019-03-25 19:16:02 +03:00
|
|
|
translate([-2-15, 2.5, -(5-1.5)]) cube(size=[15, 25, dcdc_h]);
|
2019-03-25 12:31:40 +03:00
|
|
|
translate([0.5, 30-14+2, -(5-1.5)]) cube(size=[11, 14, 10]);
|
|
|
|
translate([42-13.5-12, 30, -(5-1.5)]) cube(size=[12, 2, 8]);
|
|
|
|
translate([42-13.5-12/2, 40, -(5-1.5)+8/2]) rotate([90, 0, 0]) cylinder(r=6.5/2, $fn=32, h=8);
|
|
|
|
translate([42-13.5-12/2, 30, -(5-1.5)+8/2]) rotate([90, 0, 0]) cylinder(r=5/2, $fn=32, h=3);
|
2019-03-25 19:16:02 +03:00
|
|
|
translate([0.5+11/2, 40, 10/2-(5-1.5)]) rotate([90, 0, 0]) cylinder(r=9/2, $fn=32, h=8);
|
2019-03-25 12:31:40 +03:00
|
|
|
}
|
|
|
|
difference()
|
|
|
|
{
|
|
|
|
union()
|
|
|
|
{
|
2019-03-25 19:16:02 +03:00
|
|
|
translate([-2*2-15, 0, -(5-1.5+base_h)]) cube(size=[42+2*3+15, 30+2*2, base_h]);
|
2019-03-25 12:31:40 +03:00
|
|
|
|
2019-03-25 19:16:02 +03:00
|
|
|
translate([-2*2-15, 0, -(5-1.5+base_h)]) cube(size=[2+0.5, 30+2*2, base_h+dcdc_h+2]);
|
|
|
|
translate([-2-0.5, 0, -(5-1.5+base_h)]) cube(size=[2+0.5, 30+2*2, base_h+dcdc_h+2]);
|
2019-03-25 12:31:40 +03:00
|
|
|
|
2019-03-25 19:16:02 +03:00
|
|
|
translate([-2, 5, -(5-1.5+base_h)]) cube(size=[2+1, 11, 5+base_h+2]);
|
|
|
|
translate([-2, 0, -(5-1.5+base_h)]) cube(size=[2, 30+2*2, 5+base_h]);
|
2019-03-25 12:31:40 +03:00
|
|
|
|
2019-03-25 19:16:02 +03:00
|
|
|
translate([42-1, 5, -(5-1.5+base_h)]) cube(size=[2+1, 30-5, 5+base_h+2]);
|
|
|
|
translate([42, 0, -(5-1.5+base_h)]) cube(size=[2, 30+2*2, 5+base_h]);
|
2019-03-25 12:31:40 +03:00
|
|
|
|
2019-03-25 19:16:02 +03:00
|
|
|
translate([42-13.5-12-2, 30-2, -(5-1.5+base_h)]) cube(size=[12+2*2, 6, 3]);
|
|
|
|
translate([-2-15, 30+2, -(5-1.5+base_h)]) cube(size=[42+2+15, 2, 5]);
|
2019-03-25 12:31:40 +03:00
|
|
|
}
|
|
|
|
translate([0, -1, 0]) cube(size=[42, 30+2, 1.5]);
|
2019-03-25 19:16:02 +03:00
|
|
|
translate([-2-15, -2, -(5-1.5)]) cube(size=[15, 30+2+2, dcdc_h]);
|
2019-03-25 12:31:40 +03:00
|
|
|
translate([42-13.5-12, 30, -(5-1.5)]) cube(size=[12, 2, 8]);
|
|
|
|
translate([42-13.5-12/2, 40, -(5-1.5)+8/2]) rotate([90, 0, 0]) cylinder(r=6.5/2, $fn=32, h=8);
|
|
|
|
translate([42-13.5-12/2, 30, -(5-1.5)+8/2]) rotate([90, 0, 0]) cylinder(r=5/2, $fn=32, h=3);
|
2019-03-25 19:16:02 +03:00
|
|
|
translate([0.5+11/2, 40, 10/2-(5-1.5)]) rotate([90, 0, 0]) cylinder(r=9/2, $fn=32, h=8);
|
2019-03-25 12:31:40 +03:00
|
|
|
}
|