Created
March 30, 2022 21:07
-
-
Save ednisley/93302bd8d7908acee0f9457d7096c6ce to your computer and use it in GitHub Desktop.
OpenSCAD source code: Brackets for shades over LED strips inside laser cutter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Bracket for COB LED shade | |
// Ed Nisley KE4ZNU 2022-03-24 | |
BaseLength = 20.0; | |
/* [Hidden] */ | |
ThreadThick = 0.25; | |
ThreadWidth = 0.40; | |
HoleWindage = 0.2; | |
Protrusion = 0.1; // make holes end cleanly | |
WebThick = 4*ThreadWidth; | |
BasePlate = [BaseLength,5*WebThick,WebThick]; | |
//---------- | |
// Create parts | |
module Bracket() { | |
R = BaseLength/3; | |
N = 36; | |
union() { | |
rotate([90,0,0]) | |
translate([0,0,-WebThick/2]) | |
linear_extrude(height=WebThick,convexity=2) | |
difference() { | |
intersection() { | |
union () { | |
square(2*R,center=false); | |
translate([0,2*R]) | |
rotate(180/N) | |
circle(r=R,$fn=N); | |
translate([2*R,0]) | |
rotate(180/N) | |
circle(r=R,$fn=N); | |
} | |
square(3*R,center=false); | |
} | |
translate([2*R*cos(180/N),2*R*cos(180/N)]) | |
rotate(180/N) | |
circle(r=R,$fn=N); | |
} | |
rotate([0,-90,0]) | |
translate([0,-BasePlate.y/2,-BasePlate.z]) | |
cube(BasePlate,center=false); | |
translate([0,-BasePlate.y/2,0]) | |
cube(BasePlate,center=false); | |
} | |
} | |
//---------- | |
// Build them | |
Bracket(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More details on my blog at https://wp.me/poZKh-aPg
The shades are at: https://gist.github.com/ednisley/0311239247282832abc55e07b26b75d8