-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspoolTeethV2.scad
More file actions
83 lines (66 loc) · 1.72 KB
/
spoolTeethV2.scad
File metadata and controls
83 lines (66 loc) · 1.72 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Jim Samson
// Spool with teeth for rat project
// November 14, 2018
washerHeight=1.7;
boltHeight=6.66;
wallHeight=5.9;
offsetHeight=washerHeight+boltHeight+wallHeight;
beltHeight=80; // millimeters
diameterForBelt=30;
diameterForEdgesHeight=2;
diameterForEdges = diameterForBelt + 4;
bearingDiameter=22.2;
bearingHeight=8;
totalHeight=92; // Total Height of belt
offsetHeightOfBelt=(totalHeight-beltHeight)/2; // Stuff
spoolHolder();
//translate([20,0,0]) cube([10,10,80]);
//translate([0,20,(totalHeight/2)-offsetHeightOfBelt]) cube([10,10,totalHeight],center=true);
module spoolHolder() {
union() {
difference() {
spool();
middleShaft();
bearings();
gear();
tube();
}
//translate([0,0,-offsetHeight]) {cylinder(r=15.3/2,h=offsetHeight); }
}
}
module tube() {
translate([0,0,-1]) {
cylinder(d=5.6,h=beltHeight+1,$fn=100);
}
}
module gear() {
//translate([-11,-11.1,-1]) {
//import("SGearSpurV1_fixed.stl", convexity=10);
//}
cubeHeight=20;
translate([0,0,cubeHeight/2]) {
#cube([15.3,15.3,cubeHeight+1],center=true);
}
}
module teethHolder() {
cylinder(d=bearingDiameter,h=beltHeight);
}
module middleShaft() {
translate([0,0,46]) {
cylinder(d=bearingDiameter/1.08,h=beltHeight);
}
}
module bearings() {
translate([0,0,beltHeight-bearingHeight+1-12.7]) {
cylinder(d=bearingDiameter,h=bearingHeight+12);
}
}
module spool() {
translate([0,0,beltHeight/2]) {
intersection() {
cube([beltHeight,beltHeight,beltHeight], center=true);
resize([diameterForBelt,diameterForBelt,beltHeight*2])
sphere(r=10);
}
}
}