3d-models/functional/headphone_cord_clip.scad

29 lines
675 B
OpenSCAD

include <../lib/cable_sleeve.scad>;
include <table_edge_clip.scad>;
epsilon = 0.01;
sleeveLen = 20;
wall = 4;
clipLen = 8;
translate([0, 0, clipLen/2]) rotate([90, 0, 0])
union() {
translate([6, 2, sleeveLen/-2])
rotate([0, 0, 127])
cableSleeve(cableDiameter = 3, length = sleeveLen);
translate([wall - epsilon, -clipLen/2, sleeveLen/-2])
cube([0.75*wall + epsilon, wall, sleeveLen]);
translate([1.32*wall, -clipLen/2 + 1.02, sleeveLen/-2])
rotate([0, 0, -31.1])
cube([wall/2, wall + 0.1, sleeveLen]);
tableEdgeClip(
length = clipLen,
depth = 24,
thickness = wall,
tableDepth = 21.58,
clampAngle = 4);
}