// // BatteryPlugs // // 12-12-2022 DFG // $fn = 50; //Total(); // Top Portion translate([58, 40, 26]) rotate([0, 180, 0]) difference() { Total(); cube([200, 50, 10]); } // Bottom Portion translate([188, 0, 10]) rotate([0, 180, 0]) difference() { Total(); translate([0, 0, 10]) cube([200, 50, 50]); } module Total() { difference() { union() { cube([132+28*2, 38, 10]); // Voltmeter Display difference() { translate([21, 0, 10]) cube([37, 6, 16]); translate([28, 0, 10]) cube([23, 6, 11]); } // LED Holder translate([24, 6+1.25, 10]) cube([3, 24.75, 16]); translate([21+31, 6+1.25, 10]) cube([3, 24.75, 16]); // Walls translate([21, 32, 10]) cube([31+6, 6, 16]); // Back translate([21, 0, 10]) cube([3, 32, 16]); // Left translate([21+34, 0, 10]) cube([3, 32, 16]); // Right difference() { translate([21, 0, 23]) cube([37, 32, 3]); // Top translate([32.5, 15, 23]) cube([14, 8.5, 3]); } } // Left side translate([14, 14+10, 0]) cylinder(h=5, d=28); translate([0, 0, 0]) cube([28, 38-14, 5]); // 17 x 4 translate([14, 14+10, 5]) cylinder(h=3.5, d=16); translate([14, 14+10, 5]) cylinder(h=5, d=6.5); // Right side translate([188-14, 14+10, 0]) cylinder(h=5, d=28); translate([188-28, 0, 0]) cube([28, 38-14, 5]); translate([188-14, 14+10, 5]) cylinder(h=3.5, d=16); translate([188-14, 14+10, 5]) cylinder(h=5, d=6.5); // Anderson Block Mount Holes 88 translate([49.5+19, 19, 0]) cylinder(h=15, d=2.5); translate([49.5+88+19, 19, 0]) cylinder(h=15, d=2.5); // Voltmeter screw mounts translate([24, 3, 0]) cylinder(d=2.25, h=20); translate([55, 3, 0]) cylinder(d=2.25, h=20); translate([24, 35, 0]) cylinder(d=2.25, h=20); translate([55, 35, 0]) cylinder(d=2.25, h=20); // translate([24, 3, 0]) cylinder(d=3, h=7); translate([55, 3, 0]) cylinder(d=3, h=7); translate([24, 35, 0]) cylinder(d=3, h=7); translate([55, 35, 0]) cylinder(d=3, h=7); // translate([24, 3, 0]) cylinder(d=7, h=6); translate([55, 3, 0]) cylinder(d=7, h=4); translate([24, 35, 0]) cylinder(d=7, h=6); translate([55, 35, 0]) cylinder(d=7, h=4); // Wire Trench & Hole translate([25, 26, 0]) cube([140, 4, 3]); translate([40, 26, 0]) cube([6, 4, 10]); } }