Explorar el Código

Added simple 120mm Fan Feet

Thomas Buck hace 8 años
padre
commit
1b6ba700d5
Se han modificado 2 ficheros con 1276 adiciones y 0 borrados
  1. 70
    0
      Fan Feet/Fan Feet.scad
  2. 1206
    0
      Fan Feet/Fan Feet.stl

+ 70
- 0
Fan Feet/Fan Feet.scad Ver fichero

@@ -0,0 +1,70 @@
1
+/*
2
+ * Created by:
3
+ * Thomas Buck <xythobuz@xythobuz.de> in April 2016
4
+ *
5
+ * Licensed under the Creative Commons - Attribution license.
6
+ */
7
+
8
+// -----------------------------------------------------------
9
+
10
+$fn = 15;
11
+
12
+fan_width = 120;
13
+fan_depth = 25.5;
14
+
15
+hole_diameter = 4;
16
+hole_distance = 7.5; // in x and z direction
17
+
18
+wall_size = 5;
19
+height = 20;
20
+width = 25;
21
+base_depth = 60; // minimum fan_depth + (2 * wall_size)
22
+
23
+// -----------------------------------------------------------
24
+
25
+depth = fan_depth + (2 * wall_size);
26
+
27
+// -----------------------------------------------------------
28
+
29
+module foot_walls() {
30
+    // bottom wall
31
+    translate([0, -(base_depth - depth) / 2, 0])
32
+        cube([width, base_depth, wall_size]);
33
+    
34
+    // outer wall
35
+    translate([0, 0, wall_size])
36
+        cube([wall_size, depth, height - wall_size]);
37
+    
38
+    // back wall
39
+    translate([wall_size, 0, wall_size])
40
+        cube([width - wall_size, wall_size, height - wall_size]);
41
+    
42
+    // front wall
43
+    translate([wall_size, fan_depth + wall_size, wall_size])
44
+        cube([width - wall_size, wall_size, height - wall_size]);
45
+}
46
+
47
+module foot() {
48
+    difference() {
49
+        // solid parts
50
+        foot_walls();
51
+        
52
+        // cut out screw hole
53
+        translate([wall_size + hole_distance, depth + (wall_size / 2), wall_size + hole_distance])
54
+            rotate([90, 0, 0])
55
+            cylinder(d = hole_diameter, h = depth + wall_size);
56
+    }
57
+}
58
+
59
+// -----------------------------------------------------------
60
+
61
+// Visualize fan
62
+%translate([wall_size, wall_size, wall_size])
63
+    cube([fan_width, fan_depth, fan_width]);
64
+
65
+foot();
66
+
67
+// Visualize second foot (print twice!)
68
+%translate([fan_width + (2 * wall_size), depth, 0])
69
+    rotate([0, 0, 180])
70
+    foot();

+ 1206
- 0
Fan Feet/Fan Feet.stl
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


Loading…
Cancelar
Guardar