|
@@ -0,0 +1,115 @@
|
|
1
|
+/*
|
|
2
|
+ * Based on the "Fabrikator mini Esun Spool holder" by "Rlw":
|
|
3
|
+ * http://www.thingiverse.com/thing:1324831
|
|
4
|
+ *
|
|
5
|
+ * Recreated and parameterized by:
|
|
6
|
+ * Thomas Buck <xythobuz@xythobuz.de> in March 2016
|
|
7
|
+ *
|
|
8
|
+ * Licensed under the Creative Commons - Attribution license.
|
|
9
|
+ *
|
|
10
|
+ * Settings suggested by the original author:
|
|
11
|
+ * Rafts: No
|
|
12
|
+ * Supports: No
|
|
13
|
+ * Resolution: 0.2mm
|
|
14
|
+ * Infill: 15%
|
|
15
|
+ */
|
|
16
|
+
|
|
17
|
+// Modify the overall length (moving the top part)
|
|
18
|
+size_modifier = -25;
|
|
19
|
+
|
|
20
|
+// Spool width
|
|
21
|
+spool_width = 35;
|
|
22
|
+
|
|
23
|
+// Distance of spool rollers from border
|
|
24
|
+balls_distance = 7.5;
|
|
25
|
+
|
|
26
|
+// width of outer spool border
|
|
27
|
+outer_border_width = 6;
|
|
28
|
+
|
|
29
|
+// set if the inner spool border should be rounded
|
|
30
|
+// to save some more material
|
|
31
|
+round_top = true;
|
|
32
|
+
|
|
33
|
+// -----------------------------------------------------------
|
|
34
|
+
|
|
35
|
+inner_border_width = round_top ? 10 : 5;
|
|
36
|
+body_height_modifier = round_top ? -19 : 0;
|
|
37
|
+
|
|
38
|
+// -----------------------------------------------------------
|
|
39
|
+
|
|
40
|
+// a cylinder cut in half in the middle
|
|
41
|
+module half_cylinder(h, r) {
|
|
42
|
+ difference() {
|
|
43
|
+ cylinder(h, r, r);
|
|
44
|
+ translate([0, -r, 0]) cube([r, 2 * r, h]);
|
|
45
|
+ }
|
|
46
|
+}
|
|
47
|
+
|
|
48
|
+// -----------------------------------------------------------
|
|
49
|
+
|
|
50
|
+//import("fabrikator_mini_gsun_5kg_175mm__spool_holder.stl");
|
|
51
|
+
|
|
52
|
+// upper body
|
|
53
|
+translate([5, -19, 0])
|
|
54
|
+ cube([5, 51 + size_modifier + body_height_modifier, 40]);
|
|
55
|
+
|
|
56
|
+// lower body
|
|
57
|
+translate([5, -43, 0])
|
|
58
|
+ cube([4, 24, 40]);
|
|
59
|
+
|
|
60
|
+// upper border
|
|
61
|
+translate([10, -19, 0])
|
|
62
|
+ cube([9, 5, 40]);
|
|
63
|
+
|
|
64
|
+// upper lip
|
|
65
|
+translate([14, -24, 0])
|
|
66
|
+ cube([5, 5, 40]);
|
|
67
|
+
|
|
68
|
+// lower border
|
|
69
|
+translate([9, -43, 0])
|
|
70
|
+ cube([3, 3, 40]);
|
|
71
|
+
|
|
72
|
+// stabilization
|
|
73
|
+translate([0, size_modifier, 0]) difference() {
|
|
74
|
+ rotate([0, 0, 45]) translate([2.5, -5, 0]) cube([4, 21, 40]);
|
|
75
|
+
|
|
76
|
+ translate([5, -5, 0]) cube([10, 10, 40]);
|
|
77
|
+ translate([-10, 13, 0]) cube([10, 10, 40]);
|
|
78
|
+}
|
|
79
|
+
|
|
80
|
+// inner border
|
|
81
|
+translate([0, size_modifier, 0])
|
|
82
|
+ scale([1, 0.85, 1])
|
|
83
|
+ translate([0, 15.5, 20])
|
|
84
|
+ rotate([-90, 0, 0])
|
|
85
|
+ rotate([0, 90, 0])
|
|
86
|
+ half_cylinder(inner_border_width, 20);
|
|
87
|
+
|
|
88
|
+// outer border
|
|
89
|
+translate([0, size_modifier, 0])
|
|
90
|
+ scale([1, 0.85, 1])
|
|
91
|
+ translate([-(spool_width + outer_border_width), 15.5, 20])
|
|
92
|
+ rotate([-90, 0, 0])
|
|
93
|
+ rotate([0, 90, 0])
|
|
94
|
+ half_cylinder(outer_border_width, 20);
|
|
95
|
+
|
|
96
|
+// roll plane
|
|
97
|
+translate([0, size_modifier, 0])
|
|
98
|
+ translate([-(spool_width + outer_border_width), 13, 0])
|
|
99
|
+ cube([spool_width + outer_border_width + inner_border_width, 1, 40]);
|
|
100
|
+
|
|
101
|
+// roll
|
|
102
|
+translate([0, size_modifier, 0])
|
|
103
|
+ scale([1, 0.4, 1])
|
|
104
|
+ translate([-spool_width, 33, 20])
|
|
105
|
+ rotate([-90, 0, 0])
|
|
106
|
+ rotate([0, 90, 0])
|
|
107
|
+ half_cylinder(spool_width, 20);
|
|
108
|
+
|
|
109
|
+// rolling balls
|
|
110
|
+translate([0, size_modifier, 0])
|
|
111
|
+ translate([-(spool_width - balls_distance), 19, 20])
|
|
112
|
+ sphere(r = 3);
|
|
113
|
+translate([0, size_modifier, 0])
|
|
114
|
+ translate([-balls_distance, 19, 20])
|
|
115
|
+ sphere(r = 3);
|