]> www.fi.muni.cz Git - things.git/blob - cable-clip.scad
switch holder.scad
[things.git] / cable-clip.scad
1 include <yenyalib.scad>
2
3 wall = 1.5;
4 cable_w = 5;
5 cable_h = 2.5;
6 clip_w = 7;
7 clip_l = 7;
8 screw_d = 3.5;
9
10 difference() {
11         cube([cable_w + 2*wall, cable_h + wall, clip_w]);
12         translate([wall, -eps, -eps])
13                 cube([cable_w, cable_h+eps, clip_w+2*eps]);
14 }
15
16 difference() {
17         Tx(-clip_l)
18                 cube([clip_l, wall, clip_w]);
19         translate([-clip_l/2, -eps, clip_w/2])
20                 Rx(-90)
21                 cylinder(r = screw_d/2, h = wall+2*eps, $fn = 6);
22 }