33 lines
884 B
OpenSCAD
33 lines
884 B
OpenSCAD
|
include <lib/cable_sleeve.scad>;
|
||
|
|
||
|
epsilon = 0.01;
|
||
|
laptopThickness = 16.35;
|
||
|
clipLength = 6;
|
||
|
cableDiameter = 3.75;
|
||
|
wallThickness = 3;
|
||
|
|
||
|
rotate([0, 0, 30])
|
||
|
cableSleeve(cableDiameter = cableDiameter, length = clipLength);
|
||
|
|
||
|
translate([-2, 3, 0])
|
||
|
color("SlateGrey")
|
||
|
cube([wallThickness, wallThickness, clipLength]);
|
||
|
|
||
|
translate([laptopThickness/-2 - wallThickness, 5, 0])
|
||
|
color("DarkOliveGreen")
|
||
|
cube([laptopThickness + 2*wallThickness, wallThickness, clipLength]);
|
||
|
|
||
|
translate([laptopThickness/-2, 5, 8])
|
||
|
color("LightSalmon")
|
||
|
cube([laptopThickness, wallThickness, clipLength]);
|
||
|
|
||
|
translate([laptopThickness/-2 - wallThickness - 0.2, 5, 0])
|
||
|
color("RoyalBlue")
|
||
|
//rotate([0, 0, -2])
|
||
|
cube([wallThickness, 4*wallThickness, clipLength]);
|
||
|
|
||
|
translate([laptopThickness/2 + 0.2, 5, 0])
|
||
|
color("RoyalBlue")
|
||
|
//rotate([0, 0, 2])
|
||
|
cube([wallThickness, 4*wallThickness, clipLength]);
|