// // CableLabel // // 12-30-2022 DFG // $fn = 50; $cableDiam = 6.25; $length = 25; base(); translate([0, 18, 0]) base(); translate([28, 0, 0]) base(); translate([28, 18, 0]) base(); //fifty(); //translate([0, 18, 0]) fifty(); //translate([28, 0, 0]) seventyfive(); //translate([28, 18, 0]) seventyfive(); module seventyfive() { lid(); translate([6, 5, 5]) linear_extrude(0.40) text("75'",size=6,font=";style=Bold"); } module fifty() { lid(); translate([6, 5, 5]) linear_extrude(0.40) text("50'",size=6,font=";style=Bold"); } module base() { difference() { cube([$length, $cableDiam + 10, $cableDiam + 5]); // Cable cutout translate([0, 5+$cableDiam/2,5+$cableDiam/2]) rotate([0, 90, 0]) cylinder(h=$length, d=$cableDiam); translate([0, 5, 5+$cableDiam/2]) cube([$length, $cableDiam, $cableDiam/2]); // Screw Holes translate([2.5, 2.5, 5+$cableDiam-10]) cylinder(h=10, d=2.25); translate([$length-2.5, 2.5, 5+$cableDiam-10]) cylinder(h=10, d=2.25); translate([2.5, 10+$cableDiam-2.5, 5+$cableDiam-10]) cylinder(h=10, d=2.25); translate([$length-2.5, 10+$cableDiam-2.5, 5+$cableDiam-10]) cylinder(h=10, d=2.25); } } module lid() { difference() { cube([$length, $cableDiam + 10, 5]); // Screw Holes translate([2.5, 2.5, 0]) cylinder(h=3, d=3); translate([$length-2.5, 2.5, 0]) cylinder(h=3, d=3); translate([2.5, 10+$cableDiam-2.5, 0]) cylinder(h=3, d=3); translate([$length-2.5, 10+$cableDiam-2.5, 0]) cylinder(h=3, d=3); // Screw Heads translate([2.5, 2.5, 3]) cylinder(h=2, d=5.25); translate([$length-2.5, 2.5, 3]) cylinder(h=2, d=5.25); translate([2.5, 10+$cableDiam-2.5, 3]) cylinder(h=2, d=5.25); translate([$length-2.5, 10+$cableDiam-2.5, 3]) cylinder(h=2, d=5.25); // Remove Corners translate([0, 0, 3]) cube([5.25, 5.25/2, 2]); translate([$length-5.25, 0, 3]) cube([5.25, 5.25/2, 2]); translate([0, 10+$cableDiam-5.25/2, 3]) cube([5.25, 5.25/2, 2]); translate([$length-5.25, 10+$cableDiam-5.25/2, 3]) cube([5.25, 5.25/2, 2]); translate([0, 0, 3]) cube([5.25/2, 5.25, 2]); translate([$length-5.25/2, 0, 3]) cube([5.25/2, 5.25, 2]); translate([0, 10+$cableDiam-5.25, 3]) cube([5.25/2, 5.25, 2]); translate([$length-5.25/2, 10+$cableDiam-5.25, 3]) cube([5.25/2, 5.25, 2]); } }