Browse Source

clip to mount panel at the pedestal of kitchen cupboard

T. Meissner 5 years ago
parent
commit
cfca6e740f
1 changed files with 42 additions and 0 deletions
  1. 42
    0
      kitchen_cupboard_clip.scad

+ 42
- 0
kitchen_cupboard_clip.scad View File

@@ -0,0 +1,42 @@
1
+// configuration values
2
+l   = 34;  // distance between ground and inner clip
3
+h   = 7;   // height of clip
4
+t   = 5;   // thickness of clip
5
+w   = 80;  // width of ground plate
6
+fs  = 8;   // font size
7
+
8
+// internal variables, not change these
9
+in  = 35 / 2;
10
+out = in + t;
11
+d   = l + in;
12
+
13
+content = "TM";
14
+font = "Droid Sans Mono Bold";
15
+
16
+difference() {
17
+  union() {
18
+    difference() {
19
+      difference() {
20
+        cylinder(r1=out, r2=out, h=h, $fn=50);
21
+        cylinder(r1=in, r2=in, h=h, $fn=50);
22
+      }
23
+      translate([0,33,0]) cylinder(r1=25, r2=25, h=h);
24
+    }
25
+    translate([-w/2,-d,0]) {
26
+      cube(size = [w,7,h+10]);
27
+    }
28
+    difference() {
29
+      translate([-fs,-d+7,0]) cube(size=[fs*2,d-7-in+2,h]);
30
+      translate([0,1,0]) cylinder(r=out, h=h);
31
+    }
32
+    rotate([0,0,90]) {
33
+      translate ([-d+10,-fs/2,h]) {
34
+        linear_extrude(height=2) {
35
+          text(content, font=font, size=fs);
36
+        }
37
+      }
38
+    }
39
+  }
40
+  translate([-(w/2-10),-d+7,(h+10)/2]) rotate([90]) cylinder(h=3, r1=3, r2=0, $fn=20);
41
+  translate([w/2-10,-d+7,(h+10)/2])  rotate([90]) cylinder(h=3, r1=3, r2=0, $fn=20);
42
+}