-
Notifications
You must be signed in to change notification settings - Fork 4
/
feeder.scad
92 lines (74 loc) · 2.2 KB
/
feeder.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// Feeder guide for Prusa-Mendel 3D printer 3D Design
// Copyright (c) 2014 by Jeremy Bennett <[email protected]>
// Licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported
// License.
// You should have received a copy of the license along with this work. If not,
// see <http://creativecommons.org/licenses/by-sa/3.0/>.
// -----------------------------------------------------------------------------
use <MCAD/regular_shapes.scad>
// Cut out to remove part of the torus
module cut_out () {
difference () {
translate (v = [-150, -26.5, -11 ])
cube (size = [150, 53, 18.5]);
translate (v = [-150, -34, -11])
cube (size = [150, 13, 11]);
translate (v = [-150, +20, -11])
cube (size = [150, 13, 11]);
translate (v = [-150, -23.5, 0])
rotate (a = [0, 90, 0])
cylinder (h = 150, r = 3.5);
translate (v = [-150, +23.5, 0])
rotate (a = [0, 90, 0])
cylinder (h = 150, r = 3.5);
}
}
// Basic feeder shape
module base_shape () {
difference () {
union () {
torus2 (23.5,3.5);
translate (v = [0, 0, -7])
cylinder_tube (7, 27, 7);
}
cut_out ();
}
translate (v = [-150, -27, -7])
cube (size = [150, 7, 7]);
translate (v = [-150, +20, -7])
cube (size = [150, 7, 7]);
translate (v = [-150, -23.5, 0])
rotate (a = [0, 90, 0])
cylinder (h = 150, r = 3.5);
translate (v = [-150, +23.5, 0])
rotate (a = [0, 90, 0])
cylinder (h = 150, r = 3.5);
}
// Feeder with cutouts for threaded rods
module feeder () {
difference () {
base_shape ();
// Cutouts for threaded rods
translate (v = [-160, +29, -6])
rotate (a = [0, 90, 0])
cylinder (h = 200, r = 4);
translate (v = [-160, 25, -14])
cube (size = [200, 9, 8]);
translate (v = [-160, -29, -6])
rotate (a = [0, 90, 0])
cylinder (h = 200, r = 4);
translate (v = [-160, -34, -14])
cube (size = [200, 9, 8]);
// Cutouts for cable ties
translate (v = [-95, 22.5, 0])
cube (size = [3.3, 1.8, 20], center=true);
translate (v = [-40, 22.5, 0])
cube (size = [3.3, 1.8, 20], center=true);
translate (v = [-95, -22.5, 0])
cube (size = [3.3, 1.8, 20], center=true);
translate (v = [-40, -22.5, 0])
cube (size = [3.3, 1.8, 20], center=true);
}
}
$fn=96;
feeder ();