Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

@ednisley ednisley commented Jul 20, 2017

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