From bigclivedotcom.
In the middle of a very frustrating reverse-engineer with lots of weird circuitry, I decided to chill out and modify some solar lights with custom brackets and different colour LEDs.
Here’s the openscad script I used for the brackets. I could have made it parametric so you could just choose the internal hole size and it would nudge all the other sizes to match, but I was just roughing up an idea.
//Poundland small solar globe base
$fn=100;
difference(){
union(){
//base plate
cylinder(h=2,d=40);
//globe stem
cylinder(h=16,d=20);
//strengthening taper
translate([0,0,2])
cylinder(h=2,d1=24,d2=20);
}
//hollow centre
translate([0,0,-1])
cylinder(h=20,d=18);
//screw holes
translate([-16,0,-1])
cylinder(h=5,d=3.5);
translate([16,0,-1])
cylinder(h=5,d=3.5);
}