forked from Jaydmdigital/Kossel_2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBedSupportFSR.scad
69 lines (58 loc) · 1.51 KB
/
BedSupportFSR.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
$fn=180;
supportRad=25;
supportHgt=20;
fsrDia=18.5;
fsrWellDpt = 5.6;
fsrTck = 1.2;
fsrWdt = 10;
wallTck = 2;
module bolt()
{
rotate([-90,0,0])
union()
{
hull()
{
translate([0,-3,0]) cylinder(d=4,h=10);
translate([0,3,0]) cylinder(d=4,h=10);
}
hull()
{
translate([0,-3,10]) cylinder(d=7.2,h=25);
translate([0,3,10]) cylinder(d=7.2,h=25);
}
}
}
module tunnel()
{
rotate([180,-90,0])
{
translate([0,-(supportRad-fsrDia-wallTck),-fsrWdt/2])
difference()
{
union(){
translate([-.01,0,0])
cube([(supportHgt-fsrWellDpt+fsrTck+.01),(supportRad-fsrDia-wallTck+.01),fsrWdt]);
translate([(supportHgt-fsrWellDpt),-fsrDia/2,0]) cube([fsrTck,fsrDia/2,fsrWdt]);
}
resize([(supportHgt-fsrWellDpt)*2,(supportRad-fsrDia-wallTck-fsrTck)*2,fsrWdt])
cylinder(r=supportHgt, h=fsrWdt);
}
}
}
//render(1)
difference()
{
cylinder(r=supportRad, h=supportHgt);
translate([-supportRad, -supportRad,0])
cube([supportRad*2, supportRad, supportHgt]);
translate([0,supportRad-fsrDia/2-wallTck, supportHgt-fsrWellDpt])
cylinder(d=fsrDia+0.5, h=fsrWellDpt);
translate([supportRad/1.75,-5,supportHgt/2])
bolt();
translate([-supportRad/1.75,-5,supportHgt/2])
bolt();
//#translate([0,-1,0])
tunnel();
}
//!tunnel();