fix spoolholder design to render properly

This commit is contained in:
2018-04-09 22:09:15 -07:00
parent a2a3af915d
commit 0dac27715b

View File

@@ -2,15 +2,17 @@ od=75;
id=9.5;
len=80;
// cut in half...uncomment middle block for full length
module truss()
{
polygon([[od/2-3,0],
[id/2,len/4],
[od/2-3,len/2],
[id/2,3*len/4],
[od/2-3,len],
[od/2,len],
[id/2+3,3*len/4],
// [id/2,3*len/4],
// [od/2-3,len],
// [od/2,len],
// [id/2+3,3*len/4],
[od/2,len/2],
[id/2+3,len/4],
[od/2,0]
@@ -19,18 +21,18 @@ module truss()
module end_spoke()
{
linear_extrude(3)
linear_extrude(3, convexity=10)
polygon([[-1.5,id/2],
[1.5,id/2],
[1.5,od/2],
[-1.5,od/2]]);
}
difference()
{
//difference()
//{
union() // main body
{
linear_extrude(len)
linear_extrude(len/2, convexity=10)
{
difference()
{
@@ -48,33 +50,33 @@ difference()
// diagonal spokes
translate([0,1.5,0])
rotate([90,0,0])
linear_extrude(3)
linear_extrude(3, convexity=10)
truss();
translate([-1.5,0,0])
rotate([90,0,90])
linear_extrude(3)
linear_extrude(3, convexity=10)
truss();
translate([0,-1.5,0])
rotate([90,0,180])
linear_extrude(3)
linear_extrude(3, convexity=10)
truss();
translate([1.5,0,0])
rotate([90,0,-90])
linear_extrude(3)
linear_extrude(3, convexity=10)
truss();
}
// quick hack: cut in half so we can add flange
translate([0,0,len/2])
linear_extrude(len/2+1)
circle(d=od+1, $fn=90);
}
// // quick hack: cut in half so we can add flange
// translate([0,0,len/2])
// linear_extrude(len/2+1)
// circle(d=od+1, $fn=90);
//}
// flange
linear_extrude(2)
linear_extrude(2, convexity=10)
difference()
{
circle(d=od+20, $fn=90);