Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ednisley/943d22a0c759e352719fb9a90267b54e to your computer and use it in GitHub Desktop.
Save ednisley/943d22a0c759e352719fb9a90267b54e to your computer and use it in GitHub Desktop.
OpenSCAD source code: Flashlight mount support
if (MountSupport) { // anchor outer corners during worst overhang
RibWidth = 1.9*ThreadWidth;
SupportOC = 0.1 * ClampLength;
difference() {
rotate([0,0,Tilt])
translate([Shift + 0.3,0,0])
for (i=[-4.5,-2.5,0,2.0,4.5])
translate([i*SupportOC - 0.0,0,(ClampThick + Plate[2])/2])
cube([RibWidth,0.8*ClampOD,(ClampThick + Plate[2])],center=true);
# translate([Shift,0,ClampOD/2])
rotate([-Roll,ToeIn,Tilt])
sphere(d=ClampOD - 2*ThreadWidth,$fn=NumSides);
}
}
@ednisley
Copy link
Author

More details on my blog at http://wp.me/poZKh-6Vt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment