]> www.fi.muni.cz Git - things.git/commitdiff
cable clip
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sun, 14 Apr 2024 17:24:38 +0000 (19:24 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sun, 14 Apr 2024 17:24:38 +0000 (19:24 +0200)
cable-clip.scad [new file with mode: 0644]

diff --git a/cable-clip.scad b/cable-clip.scad
new file mode 100644 (file)
index 0000000..e0b104a
--- /dev/null
@@ -0,0 +1,22 @@
+include <yenyalib.scad>
+
+wall = 1.5;
+cable_w = 5;
+cable_h = 2.5;
+clip_w = 7;
+clip_l = 7;
+screw_d = 3.5;
+
+difference() {
+       cube([cable_w + 2*wall, cable_h + wall, clip_w]);
+       translate([wall, -eps, -eps])
+               cube([cable_w, cable_h+eps, clip_w+2*eps]);
+}
+
+difference() {
+       Tx(-clip_l)
+               cube([clip_l, wall, clip_w]);
+       translate([-clip_l/2, -eps, clip_w/2])
+               Rx(-90)
+               cylinder(r = screw_d/2, h = wall+2*eps, $fn = 6);
+}