Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
include <scad/tapercube.scad>;
module makerslide(h=100) {
linear_extrude(
file="scad/makerslide_extrusion_profile.dxf", layer="makerslide",
height=h, center=true, convexity=10);
}
module wiggle(variance=0.5, deg=15.0) {
for (i = [0 : deg : 360])
translate([ cos(i)*variance, sin(i)*variance ])
child(0);
}
module cap(use_neoprene=false, tapered_bolt_head=true, symmetric_bolt_holes=false) {
depth = 10;
etch_depth = 5;
bolt_head_h = 3.0;
hole_r = 3.0;
head_r = 4.8;
neoprene_width = 7.0 + 0.3; // (a little over 0.25 inches)
neoprene_pitch = 2.032; // (0.08 inches)
difference() {
translate([-5, -25, 0])
tapercube(30,50,depth, 3);
translate([0, 0, depth-etch_depth/2])
wiggle(0.55, 30)
makerslide(etch_depth+0.1);
// Hole for bolt
translate([10,10,depth/2])
cylinder(r=hole_r, h=depth*2, center=true, $fn=32);
if (tapered_bolt_head) {
// Room for bolt head
translate([10,10,0])
cylinder(r1=head_r, r2=hole_r, h=bolt_head_h, $fn=32);
}
if (symmetric_bolt_holes) {
// Hole for bolt
translate([10,-10,depth/2])
cylinder(r=hole_r, h=depth*2, center=true, $fn=32);
if (tapered_bolt_head) {
// Room for bolt head
translate([10,-10,0])
cylinder(r1=head_r, r2=hole_r, h=bolt_head_h, $fn=32);
}
}
translate([10,0,depth])
cube([16,36,10], center=true);
translate([17,5,depth-etch_depth])
cube([3.56,10,depth]);
if (use_neoprene) {
// Top
translate([10 - neoprene_width/2, 22, 0]) {
cube([neoprene_width, 3, neoprene_pitch * 6]);
translate([0, -0.5, 0])
for (i = [0 : 5]) {
translate([0, 0, i * neoprene_pitch])
cube([neoprene_width, 0.5, neoprene_pitch/2+0.2]);
}
}
// Bottom
translate([10 - neoprene_width/2, -25, 0]) {
cube([neoprene_width, 3, neoprene_pitch * 6]);
translate([0, 3, 0])
for (i = [0 : 5]) {
translate([0, 0, i * neoprene_pitch])
cube([neoprene_width, 0.5, neoprene_pitch/2+0.2]);
}
}
}
}
}
cap(true, false, true);719a1e975This file is pinned to the selected release. Download the original to open it in your design tool.