Added Cable Holders and Desk Tray
This commit is contained in:
commit
4c3319ed5d
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# open_scad_projects
|
||||||
|
## Cable Holder
|
||||||
|
![Cable Holder](./images/cable_holder.png)
|
||||||
|
|
||||||
|
## Cord Holder
|
||||||
|
![Cord Holder](./images/cord_holder.png)
|
||||||
|
|
||||||
|
## Desk Cable Manage
|
||||||
|
![Cord Holder](./images/desk_cable_manage.png)
|
37
cable_holder.scad
Normal file
37
cable_holder.scad
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
$fn=10;
|
||||||
|
|
||||||
|
// std dimensions
|
||||||
|
width = 400;
|
||||||
|
depth = 100;
|
||||||
|
height = 5;
|
||||||
|
|
||||||
|
// front wall dimensions
|
||||||
|
front_wall_height = 25;
|
||||||
|
front_wall_angle = 55;
|
||||||
|
|
||||||
|
// top dimensions
|
||||||
|
top_depth = 50;
|
||||||
|
|
||||||
|
// base
|
||||||
|
cube([width,depth,height]);
|
||||||
|
|
||||||
|
// back wall
|
||||||
|
translate([0,depth,0]){
|
||||||
|
rotate([90,0,0]){
|
||||||
|
cube([width,depth,height]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// front wall
|
||||||
|
translate([width,0,0]){
|
||||||
|
rotate([front_wall_angle,0,180]){
|
||||||
|
cube([width,front_wall_height,height]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// top holder
|
||||||
|
translate([0,depth-top_depth,depth-height])
|
||||||
|
cube([width,top_depth,height]);
|
||||||
|
|
||||||
|
|
||||||
|
|
45
cord_holder.scad
Normal file
45
cord_holder.scad
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
$fn = 50;
|
||||||
|
|
||||||
|
|
||||||
|
// CHANGE
|
||||||
|
size = 35;
|
||||||
|
|
||||||
|
|
||||||
|
// CONSTANTS
|
||||||
|
diameter = size;
|
||||||
|
hole_diameter = diameter/4;
|
||||||
|
hole_depth = diameter;
|
||||||
|
opening_width = diameter/9;
|
||||||
|
|
||||||
|
// small top opening
|
||||||
|
//minkowski(){
|
||||||
|
//sphere(1);
|
||||||
|
difference(){
|
||||||
|
|
||||||
|
// cable holding hole
|
||||||
|
difference(){
|
||||||
|
|
||||||
|
// cutting bottom half of circle
|
||||||
|
difference(){
|
||||||
|
sphere(d=diameter);
|
||||||
|
|
||||||
|
// cut with cube
|
||||||
|
translate([0,0,-diameter/4]){
|
||||||
|
cube([diameter,diameter,diameter/2],center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// cut with cylinder
|
||||||
|
translate([0, hole_depth/2, diameter/3]){
|
||||||
|
rotate([90,0,0]){
|
||||||
|
cylinder(h = hole_depth, d = hole_diameter);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// cut with small cube
|
||||||
|
translate([0,0,diameter/2]){
|
||||||
|
cube([opening_width,hole_depth,opening_width], center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//}
|
51
desk_cable_manage.scad
Normal file
51
desk_cable_manage.scad
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
$fn = 50;
|
||||||
|
|
||||||
|
// CHANGE
|
||||||
|
// NO SMALLER THAN 25
|
||||||
|
size = 50;
|
||||||
|
|
||||||
|
|
||||||
|
// CONSTANT
|
||||||
|
width = size;
|
||||||
|
depth = width*(3/5);
|
||||||
|
height = width*(2/5);
|
||||||
|
|
||||||
|
hole_diameter = width/7;
|
||||||
|
opening = width*.07;
|
||||||
|
|
||||||
|
difference(){
|
||||||
|
difference(){
|
||||||
|
// cut bottom half of ellipse
|
||||||
|
difference(){
|
||||||
|
resize([width,depth,height]){
|
||||||
|
sphere(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([0,0,-height/2]){
|
||||||
|
cube([width,depth,height], center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([0,0,height/4+.25]){
|
||||||
|
rotate([90,0,0]){
|
||||||
|
cylinder(h = depth, d = hole_diameter, center = true);
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([-width/4,0,0]){
|
||||||
|
rotate([90,0,0]){
|
||||||
|
cylinder(h = depth, d = hole_diameter, center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([width/4,0,0]){
|
||||||
|
rotate([90,0,0]){
|
||||||
|
cylinder(h = depth, d = hole_diameter, center = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([0,0,height/2]){
|
||||||
|
cube([opening,depth,width/10], center = true);
|
||||||
|
}
|
||||||
|
}
|
BIN
images/cable_holder.png
Normal file
BIN
images/cable_holder.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
BIN
images/cord_holder.png
Normal file
BIN
images/cord_holder.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
images/desk_cable_manage.png
Normal file
BIN
images/desk_cable_manage.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Loading…
Reference in New Issue
Block a user