-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
supports.scad
79 lines (73 loc) · 1.79 KB
/
supports.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
module screw_support() {
difference() {
union() {
translate([10, 12, 0])
cylinder(8, r=12);
cube([12, 12, 8]);
};
translate([-12, 0, 0])
cube([12, 24, 12]);
translate([0, 12, 0])
cube([24, 12, 12]);
translate([6, 6, 5])
screw();
};
if (DISPLAY_BLOCKS) {
color("red")
translate([6, 6, 5])
screw();
}
}
module support_sonde() {
translate([5, 0, 0]) {
rotate([-90, 0, 0]) {
difference() {
base_support();
translate([15, 12, -5])
cylinder(10, d=14);
}
}
}
}
module support_banana() {
translate([5, 0, 0]) {
rotate([-90, 0, 0]) {
difference() {
base_support();
rotate([0, 180, 0])
translate([-12, 12, 0])
screw();
}
if (DISPLAY_BLOCKS) {
color("red")
rotate([0, 180, 0])
translate([-12, 12, 0])
screw();
}
}
}
}
module base_support() {
difference() {
union() {
cube([21, 24, 5]);
rotate([0, 90, 0])
cube([20, 24, 20]);
rotate([0, -90, 0])
translate([-20, 0, 0])
cube([25, 24, 5]);
}
rotate([90, 90, 0])
translate([20, 20, -24])
cylinder(24, d=40);
rotate([0, 90, 0])
translate([12, 12, 0])
screw();
}
if (DISPLAY_BLOCKS) {
color("red")
translate([0, 12, -12])
rotate([0, 90, 0])
screw();
}
}