Parcourir la source

Added FabMin raspi0 and relay board mounts

Thomas Buck il y a 6 ans
Parent
révision
cdae11a9b2

+ 1346
- 0
fab-min-raspi-relay-mount/relay-mount-a.stl
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1346
- 0
fab-min-raspi-relay-mount/relay-mount-b.stl
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 77
- 0
fab-min-raspi-relay-mount/relay-mount.scad Voir le fichier

@@ -0,0 +1,77 @@
1
+bodyHeight = 8;
2
+wallSize = 3;
3
+lipSize = 3;
4
+fullSize = 20;
5
+gap = 5;
6
+
7
+$fn = 15;
8
+
9
+// -----------------------------------------------------------
10
+
11
+module holder() {
12
+    // lower body
13
+    cube([wallSize, fullSize - wallSize, bodyHeight]);
14
+
15
+    // upper border
16
+    translate([0, fullSize - wallSize, 0])
17
+        cube([(2 * wallSize) + gap, wallSize, bodyHeight]);
18
+
19
+    // upper lip
20
+    translate([wallSize + gap, fullSize - (2 * wallSize), 0])
21
+        cube([wallSize, wallSize, bodyHeight]);
22
+
23
+    // lower border
24
+    translate([wallSize, 0, 0])
25
+        cube([lipSize, lipSize, bodyHeight]);
26
+}
27
+
28
+module holes() {
29
+    cylinder(d = 2.7, h = wallSize + 2);
30
+    translate([45.6, 0, 0])
31
+        cylinder(d = 2.7, h = wallSize + 2);
32
+}
33
+
34
+module mount() {
35
+    difference() {
36
+        union() {
37
+            cube([45.6 + (2 * 4), 4, wallSize]);
38
+            
39
+            cube([8, 8, wallSize]);
40
+            
41
+            translate([45.6 + (2 * 4) - 8, 0, 0])
42
+                cube([8, 8, wallSize]);
43
+        }
44
+        
45
+        translate([4, 2.65 + 1.35, -1])
46
+            holes();
47
+    }
48
+}
49
+
50
+module mountA() {
51
+    mount();
52
+
53
+    translate([45.6 + (2 * 4), bodyHeight, wallSize])
54
+        rotate([90, 90, 0])
55
+        holder();
56
+}
57
+
58
+module mountB() {
59
+    translate([45.6 + (2 * 4), bodyHeight, 0])
60
+        rotate([0, 0, 180])
61
+        mount();
62
+
63
+    translate([45.6 + (2 * 4), bodyHeight, wallSize])
64
+        rotate([90, 90, 0])
65
+        holder();
66
+}
67
+
68
+mountB();
69
+
70
+/*
71
+rotate([90, 0, 0])
72
+    mountA();
73
+
74
+translate([0, 20, bodyHeight])
75
+    rotate([-90, 0, 0])
76
+    mountB();
77
+*/

+ 70
- 0
fab-min-raspi-relay-mount/rpi0-mount.scad Voir le fichier

@@ -0,0 +1,70 @@
1
+/*
2
+ * Inspired by the "TinyBoy / Fabrikator mini Cam holder"
3
+ * by "andy_a":
4
+ * http://www.thingiverse.com/thing:1434698
5
+ *
6
+ * Created by:
7
+ * Thomas Buck <xythobuz@xythobuz.de> in April 2016
8
+ *
9
+ * Licensed under the Creative Commons - Attribution - Share alike license.
10
+ */
11
+
12
+// -----------------------------------------------------------
13
+
14
+bodyHeight = 7;
15
+wallSize = 3;
16
+lipSize = 3;
17
+fullSize = 28;
18
+gap = 5;
19
+length = 35;
20
+bottomOff = 5;
21
+holeDist = 23;
22
+holeSize = 3.3;
23
+
24
+$fn = 15;
25
+
26
+// -----------------------------------------------------------
27
+
28
+module holder() {
29
+    // lower body
30
+    cube([wallSize, fullSize - wallSize, bodyHeight]);
31
+
32
+    // upper border
33
+    translate([0, fullSize - wallSize, 0])
34
+        cube([(2 * wallSize) + gap, wallSize, bodyHeight]);
35
+
36
+    // upper lip
37
+    translate([wallSize + gap, fullSize - (2 * wallSize), 0])
38
+        cube([wallSize, wallSize, bodyHeight]);
39
+
40
+    // lower border
41
+    translate([wallSize, 0, 0])
42
+        cube([lipSize, lipSize, bodyHeight]);
43
+}
44
+
45
+module mount() {
46
+    difference() {
47
+        cube([bodyHeight, length, wallSize]);
48
+        
49
+        translate([bodyHeight / 2, bottomOff + (holeSize / 2), -1])
50
+            cylinder(d = holeSize, h = wallSize + 2);
51
+        
52
+        translate([bodyHeight / 2, bottomOff + (holeSize / 2) + holeDist, -1])
53
+            cylinder(d = holeSize, h = wallSize + 2);
54
+    }
55
+}
56
+
57
+module whole() {
58
+    translate([0, 0, wallSize])
59
+        rotate([0, 90, 0])
60
+        #holder();
61
+
62
+    translate([0, -length, 0])
63
+        mount();
64
+}
65
+
66
+// -----------------------------------------------------------
67
+
68
+translate([0, 0, bodyHeight])
69
+    rotate([0, 90, 0])
70
+    whole();

+ 1248
- 0
fab-min-raspi-relay-mount/rpi0-mount.stl
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


Chargement…
Annuler
Enregistrer