Y

YouLibs

Remove Touch Overlay

Make DIY LED neon shapes

Duration: 00:40Views: 15.2KLikes: 785Date Created: Apr, 2022

Channel: bigclivedotcom

Category: Science & Technology

Description: The full video can be found here:- youtube.com/watch?v=y9bSzE9ir1Q #shorts Neon frame openscad scripts. Circle, triangle and square. Copy and paste your choice into openscad. Make sure you leave the "=" and ";" intact when adjusting variables - they are needed by the software:- //LED neon circle frame //Two main adjustable variables thick=5; //thickness of LED neon diam=121; //diameter of circular frame //More specialist variables wall=1.2; //wall thickness height=6; //depth of groove $fn=100; //circle segments //Don't change variables below here wl=wall*2; thk=thick*2; radius=diam/2; difference(){ //main disk cylinder(h=height+1, d=diam); //central void translate([0,0,-1]) cylinder(h=height+2, d=diam-thk-(wall*4)); //cable hole translate([0,radius-wall-(thick/2),-1]) cylinder(h=height+2, d=thick-1); difference(){ //channel groove outer dimension translate([0,0,1]) cylinder(h=height+1, d=diam-wl); //channel groove inner dimension translate([0,0,-1]) cylinder(h=height+1, d=diam-wl-thk); } } //LED neon triangle frame //Adjust these main variables to suit thick=5; //width of LED groove width=150; //width of frame //More specialist variables height=6; //depth of LED groove wall=1.2; //wall thickness curve=20; //corner outer radius $fn=100; //circle segments //Don't change variables below here wl=wall*2; crv=curve*2; thk=thick*2; crz=(width/2)-curve; tri=crz*1.732-crz; //peak of triangle difference(){ //main disk hull() { translate([-crz,crz,0]) cylinder(h=height+1, d=crv); translate([crz,crz,0]) cylinder(h=height+1, d=crv); translate([0,-tri,0]) cylinder(h=height+1, d=crv); } //central void hull() { translate([-crz,crz,-1]) cylinder(h=height+3, d=crv-wl-wl-thk); translate([crz,crz,-1]) cylinder(h=height+3, d=crv-wl-wl-thk); translate([0,-tri,-1]) cylinder(h=height+3, d=crv-wl-wl-thk); } //cable hole translate([0,(width/2)-wall-(thick/2),-1]) cylinder(h=height+2, d=thick-1); difference(){ //channel groove outer dimension hull() { translate([-crz,crz,1]) cylinder(h=height+1, d=crv-wl); translate([crz,crz,1]) cylinder(h=height+1, d=crv-wl); translate([0,-tri,1]) cylinder(h=height+1, d=crv-wl); } //channel groove inner dimension hull() { translate([-crz,crz,1]) cylinder(h=height+1, d=crv-wl-thk); translate([crz,crz,1]) cylinder(h=height+1, d=crv-wl-thk); translate([0,-tri,1]) cylinder(h=height+1, d=crv-wl-thk); } } } //LED neon square frame //Adjust these main variables to suit thick=5; //thickness of LED neon strip width=100; //width of frame //More specialist variables height=6; //depth of groove wall=1.2; //wall thickness curve=20; //corner outer radius $fn=100; //circle segments //Don't change variables below here wl=wall*2; crv=curve*2; thk=thick*2; crz=(width/2)-curve; difference(){ //main frame hull() { translate([-crz,crz,0]) cylinder(h=height+1, d=crv); translate([crz,crz,0]) cylinder(h=height+1, d=crv); translate([-crz,-crz,0]) cylinder(h=height+1, d=crv); translate([crz,-crz,0]) cylinder(h=height+1, d=crv); } //central void hull() { translate([-crz,crz,-1]) cylinder(h=height+3, d=crv-wl-wl-thk); translate([crz,crz,-1]) cylinder(h=height+3, d=crv-wl-wl-thk); translate([-crz,-crz,-1]) cylinder(h=height+3, d=crv-wl-wl-thk); translate([crz,-crz,-1]) cylinder(h=height+3, d=crv-wl-wl-thk); } //cable hole translate([0,(width/2)-wall-(thick/2),-1]) cylinder(h=height+2, d=thick-1); difference(){ //channel groove outer hull() { translate([-crz,crz,1]) cylinder(h=height+1, d=crv-wl); translate([crz,crz,1]) cylinder(h=height+1, d=crv-wl); translate([-crz,-crz,1]) cylinder(h=height+1, d=crv-wl); translate([crz,-crz,1]) cylinder(h=height+1, d=crv-wl); } //channel groove inner hull() { translate([-crz,crz,1]) cylinder(h=height+1, d=crv-wl-thk); translate([crz,crz,1]) cylinder(h=height+1, d=crv-wl-thk); translate([-crz,-crz,1]) cylinder(h=height+1, d=crv-wl-thk); translate([crz,-crz,1]) cylinder(h=height+1, d=crv-wl-thk); } } }

Swipe Gestures On Overlay