This video includes free software to create a massive variety of custom caps for your Christmas lights. It uses the extremely clever OpenSCAD software with a custom script that allows you to adjust several variables that allow you to make custom shaped lights with a base designed specifically to fit your choice of lights.
The script included down below has a starter shape designed to fit onto standard heat shrink style 5mm LED strings. You can then experiment further with it.
To create your custom lights, download the free OpenSCAD software from the official site:-
https://www.openscad.org/
At the bottom of this description you'll find a script (a block of text) which you can copy and paste into the text window of OpenSCAD and then experiment with.
After saving the generated STL file it can be sliced (converted into 3D printing layers) by a program like Cura:-
https://ultimaker.com/software/ultimaker-cura
And then 3D printed in clear or coloured PLA.
Clear PLA creates a nice lensing effect, while white PLA creates a universal diffused cover that will show a soft even colour with diffused LEDs or a patterned effect with clear LEDs.
Using suitably coloured PLA filament allows you to create very retro Christmas lights that are best illuminated with a matching LED colour, but can also provide pleasing pastel shades when used with white LEDs.
I only recommend the use of these caps with LEDs, as using them over tungsten lamps will trap heat and could result in the plastic melting or burning.
The script for making these lights is at the bottom of this description.
If you enjoy these videos you can help support the channel with a dollar for coffee, cookies and random gadgets for disassembly at:-
http://www.bigclive.com/coffee.htm
This also keeps the channel independent of YouTube's advertising algorithms allowing it to be a bit more dangerous and naughty.
The script is below. Copy and paste the whole thing to OpenSCAD.
//Globe fairy light cap generator - bigclivedotcom
//Generates an LED cap based on a top and bottom
//diameter with flat sides.
//Suggested default values are in brackets.
//ADJUST THESE VARIABLES FOR GLOBE SHAPE AND SIZE
top=6; //Diameter of globe at top (6)
bottom=20; //Diameter of globe at base (20)
height=40; //length of lamp (40)
facets=12; //Number of facets around lamp (12 at first)
//More facets equals MUCH longer processing time!
//ADJUST THESE VARIABLES FOR BASE DIMENSIONS
baselen=4; //Length of base outside globe (4)
inside=5.5; //Internal diameter of base (5.5)
led=5; //LED HOLE diameter (5)
//Don't touch variables below this line
$fn=facets;
toprad=top/2;
botrad=bottom/2;
outside=inside+2;
base=baselen+5;
difference(){
union(){
difference(){
union(){
//Outside shell of globe
hull() {
//base of globe
sphere(r=botrad);
//top of globe
translate([0,0,height-toprad-botrad])
sphere(r=toprad);
}
}
//Inside hollow of globe
hull() {
//base of globe
sphere(r=botrad-1);
//top of globe
translate([0,0,height-toprad-botrad])
sphere(r=toprad-1);
}
}
//LED base cylinder
translate([0,0,0-botrad-(base-5)])
cylinder(h=base,d1=outside,d2=outside,$fn=100);
//LED base dome
translate([0,0,0-botrad+5])
cylinder(h=(outside-led)/2,d1=outside,d2=led+1,$fn=100);
}
//LED base interior
translate([0,0,0-botrad-(base-5)-.01])
cylinder(h=base+.02,d1=inside,d2=inside,$fn=100);
//LED dome interior
translate([0,0,0-botrad+5])
cylinder(h=(outside-led)/2-1,d1=inside,d2=led,$fn=100);
//LED hole
translate([0,0,0-botrad+5])
cylinder(h=10,d1=led,d2=led,$fn=100);
//x-ray cube
//translate([-50,-50,-40])
//cube([100,50,100]);
}
The script included down below has a starter shape designed to fit onto standard heat shrink style 5mm LED strings. You can then experiment further with it.
To create your custom lights, download the free OpenSCAD software from the official site:-
https://www.openscad.org/
At the bottom of this description you'll find a script (a block of text) which you can copy and paste into the text window of OpenSCAD and then experiment with.
After saving the generated STL file it can be sliced (converted into 3D printing layers) by a program like Cura:-
https://ultimaker.com/software/ultimaker-cura
And then 3D printed in clear or coloured PLA.
Clear PLA creates a nice lensing effect, while white PLA creates a universal diffused cover that will show a soft even colour with diffused LEDs or a patterned effect with clear LEDs.
Using suitably coloured PLA filament allows you to create very retro Christmas lights that are best illuminated with a matching LED colour, but can also provide pleasing pastel shades when used with white LEDs.
I only recommend the use of these caps with LEDs, as using them over tungsten lamps will trap heat and could result in the plastic melting or burning.
The script for making these lights is at the bottom of this description.
If you enjoy these videos you can help support the channel with a dollar for coffee, cookies and random gadgets for disassembly at:-
http://www.bigclive.com/coffee.htm
This also keeps the channel independent of YouTube's advertising algorithms allowing it to be a bit more dangerous and naughty.
The script is below. Copy and paste the whole thing to OpenSCAD.
//Globe fairy light cap generator - bigclivedotcom
//Generates an LED cap based on a top and bottom
//diameter with flat sides.
//Suggested default values are in brackets.
//ADJUST THESE VARIABLES FOR GLOBE SHAPE AND SIZE
top=6; //Diameter of globe at top (6)
bottom=20; //Diameter of globe at base (20)
height=40; //length of lamp (40)
facets=12; //Number of facets around lamp (12 at first)
//More facets equals MUCH longer processing time!
//ADJUST THESE VARIABLES FOR BASE DIMENSIONS
baselen=4; //Length of base outside globe (4)
inside=5.5; //Internal diameter of base (5.5)
led=5; //LED HOLE diameter (5)
//Don't touch variables below this line
$fn=facets;
toprad=top/2;
botrad=bottom/2;
outside=inside+2;
base=baselen+5;
difference(){
union(){
difference(){
union(){
//Outside shell of globe
hull() {
//base of globe
sphere(r=botrad);
//top of globe
translate([0,0,height-toprad-botrad])
sphere(r=toprad);
}
}
//Inside hollow of globe
hull() {
//base of globe
sphere(r=botrad-1);
//top of globe
translate([0,0,height-toprad-botrad])
sphere(r=toprad-1);
}
}
//LED base cylinder
translate([0,0,0-botrad-(base-5)])
cylinder(h=base,d1=outside,d2=outside,$fn=100);
//LED base dome
translate([0,0,0-botrad+5])
cylinder(h=(outside-led)/2,d1=outside,d2=led+1,$fn=100);
}
//LED base interior
translate([0,0,0-botrad-(base-5)-.01])
cylinder(h=base+.02,d1=inside,d2=inside,$fn=100);
//LED dome interior
translate([0,0,0-botrad+5])
cylinder(h=(outside-led)/2-1,d1=inside,d2=led,$fn=100);
//LED hole
translate([0,0,0-botrad+5])
cylinder(h=10,d1=led,d2=led,$fn=100);
//x-ray cube
//translate([-50,-50,-40])
//cube([100,50,100]);
}
I have no idea whatโs going on in 90% of your videos but your voice is enjoyable so I keep watching. I wonder how much Iโll eventually learn.
Thank you. This saves me a lot of time trying to figure out how to use cad to make these… and yours can make a multitude of shapes. I am not very good at it.
Could I offer a suggestion or make a request? If the bulb dimensions could be input as 4 to 5 diameters (every 1/4 or 1/5), I think this would allow for better faceting and add a hug variety to shape outcomes.
I have been wanting to try something like this. Thanks
What would you say a good safety design for 3w Leds?
a case the would not melt, that is.
Is there a formula you know for the distances between Led and case?
These are for flandre scarlet
Happy Bday!
"Don't touch variables below this line" โ Heh, as if "No serviceable parts inside" ever stopped anyone serious from looking, disassembling, recording, and uploading to YouTube, as one does.
It is so amazing what we can do anymore. These are some great times with technology. Thank you for sharing!
A bit late, or very early for next year, but in Cura there is an experimental setting called Fuzzy Skin that makes these have good light scattering. I've used it in printing lamp globes along with Natural (un)colored PLA to great effect.
I like how some of the green tones resemble the more pastel tones of fluorescent lights.
And your scripts look like you found your workflow in OpenSCAD.
Why are you giving the world your buttplug schematics Clive? What are you doing over there…
MERRY CHRISTMAS TO ALL.
I like Openscad, but find curves a challenger. Thanks. am re-using this
Why they all look like butt plugs lol… Oh well everything's a dildo if you're brave enough