more designs

This commit is contained in:
2019-12-22 19:24:11 +01:00
parent 29c39615f8
commit 5b44e0d03c
2 changed files with 52 additions and 12 deletions

View File

@@ -1,13 +1,19 @@
thickness = 2;
toprad = 15;
bottomrad = 10;
radius = 25;
height = 30;
rotate_extrude(angle=360, $fn=360){
inside_height = 15;
cube_size = 10;
module holder_round(){
rotate_extrude(angle=360, $fn=360){
polygon([
[toprad, 0],
[bottomrad, height],
[bottomrad+thickness, height],
[bottomrad, inside_height],
[bottomrad+thickness, inside_height],
[toprad+thickness,thickness],
[radius-thickness,thickness],
[radius-thickness,height],
@@ -15,4 +21,21 @@ rotate_extrude(angle=360, $fn=360){
[radius,0],
[toprad,0]]
);
}
}
module cube_cut(){
translate([5,-cube_size/2, thickness]){
cube([2*cube_size, cube_size, 100]);
}
}
cube_size = 10;
difference(){
holder_round();
for(i=[0:3]){
rotate(90*i, [0,0,1]){
cube_cut();
}
}
}

View File

@@ -0,0 +1,17 @@
linear_extrude(height=4){
polygon([
[-5.5,0.0],
[0.0,0.0],
[0.0,6.0],
[7.5,6.0],
[7.5,-20.0],
[15,-20.0],
[15,-14.0],
[14,-14.0],
[14,-18.0],
[9.5,-18.0],
[9.5,8.0],
[-5.5,8.0],
[-5.5,0.0]]
);
}