Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (51 sloc) 1.13 KB
//PRUSAMendel
//Spoolclamp
//Usedforhangingafilamentspool.
//GNUGPLv2
//GregFrost
include<configuration.scad>
use<teardrop.scad>
/**
*@nameSpoolclamp
*@categoryPrinted
*@using2m8nut
*@using2m8washer
*/
thickness=2.5;
mount_length=20;
module spoolclamp()
{
outer_diameter=m8_diameter+thickness*2;
opening_size=m8_diameter-0.8;
angle=asin(16/50);
difference()
{
union()
{
for(i=[0:1])
translate([-m8_diameter/2,-mount_length/2,outer_diameter/2])
rotate([0,180*i,0])
rotate(90)
teardrop(h=mount_length,r=outer_diameter/2,$fn=18);
translate([m8_diameter/2,0,0])
rotate(angle)
{
cylinder(h=outer_diameter,r=outer_diameter/2,$fn=20);
translate([0,-outer_diameter/2,0])
cube([outer_diameter/2,outer_diameter,outer_diameter]);
}
}
translate([m8_diameter/2,0,0])
rotate(angle)
{
translate([0,-opening_size/2,-1])
cube([outer_diameter/2+1,opening_size,outer_diameter+2]);
translate([0,0,-1])
cylinder(h=outer_diameter+2,r=m8_diameter/2,$fn=18);
}
translate([-m8_diameter/2,-mount_length/2-1,outer_diameter/2])
rotate(90)
teardrop(r=m8_diameter/2,h=mount_length+2);
}
}
spoolclamp();
Something went wrong with that request. Please try again.