浏览代码

Added simple customizable Thumb Screw

Thomas Buck 8 年前
父节点
当前提交
7b4a1d58bb
共有 2 个文件被更改,包括 3165 次插入0 次删除
  1. 55
    0
      Thumb Screw/Thumb Screw.scad
  2. 3110
    0
      Thumb Screw/Thumb Screw.stl

+ 55
- 0
Thumb Screw/Thumb Screw.scad 查看文件

@@ -0,0 +1,55 @@
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
+// M2: 4; M3: 5.5; M4: 7; M5: 8
9
+nut_size = 5.5; // [1:50]
10
+nut_height = 2.5; // [1:50]
11
+base_size = 20; // [1:50]
12
+base_height = 3; // [1:50]
13
+wall_size = 2.5; // [1:50]
14
+cut_out_factor = 0.3; // [0.0:1.0]
15
+cut_out_count = 5; // [0:10]
16
+nut_size_buffer = 0.1; // [0.0:1.0]
17
+
18
+// -----------------------------------------------------------
19
+
20
+$fn = 25;
21
+hexagon_size = (nut_size + nut_size_buffer);
22
+
23
+// -----------------------------------------------------------
24
+
25
+module hexagon(w = 1, h = 1) {
26
+    hw = w / sqrt(3);
27
+    for (i = [0 : 120 : 360]) {
28
+        rotate([0, 0, i])
29
+            translate([-hw / 2, -w / 2, 0])
30
+            cube([hw, w, h]);
31
+    }
32
+}
33
+
34
+// -----------------------------------------------------------
35
+
36
+difference() {
37
+    union() {
38
+        // shaft
39
+        translate([0, 0, base_height])
40
+            cylinder(d = hexagon_size + (wall_size * 2), h = nut_height);
41
+        
42
+        // base
43
+        cylinder(d = base_size, h = base_height);
44
+    }
45
+    
46
+    // cut out for nut
47
+    hexagon(w = hexagon_size, h = base_height + nut_height);
48
+    
49
+    // cut outs for fingers
50
+    for (i = [0 : cut_out_count]) {
51
+        rotate([0, 0, (360 / cut_out_count) * i])
52
+            translate([(base_size / 2), 0, 0])
53
+            cylinder(d = base_size * cut_out_factor, h = base_height);
54
+    }
55
+}

+ 3110
- 0
Thumb Screw/Thumb Screw.stl
文件差异内容过多而无法显示
查看文件


正在加载...
取消
保存