more designs
This commit is contained in:
@@ -1,18 +1,41 @@
|
|||||||
|
|
||||||
|
|
||||||
thickness = 2;
|
thickness = 2;
|
||||||
toprad = 15;
|
toprad = 15;
|
||||||
bottomrad = 10;
|
bottomrad = 10;
|
||||||
radius = 25;
|
radius = 25;
|
||||||
height = 30;
|
height = 30;
|
||||||
rotate_extrude(angle=360, $fn=360){
|
inside_height = 15;
|
||||||
polygon([
|
cube_size = 10;
|
||||||
[toprad, 0],
|
|
||||||
[bottomrad, height],
|
module holder_round(){
|
||||||
[bottomrad+thickness, height],
|
rotate_extrude(angle=360, $fn=360){
|
||||||
[toprad+thickness,thickness],
|
polygon([
|
||||||
[radius-thickness,thickness],
|
[toprad, 0],
|
||||||
[radius-thickness,height],
|
[bottomrad, inside_height],
|
||||||
[radius, height],
|
[bottomrad+thickness, inside_height],
|
||||||
[radius,0],
|
[toprad+thickness,thickness],
|
||||||
[toprad,0]]
|
[radius-thickness,thickness],
|
||||||
);
|
[radius-thickness,height],
|
||||||
|
[radius, height],
|
||||||
|
[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();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
17
raspberry_pi_cr-10_holder.scad
Normal file
17
raspberry_pi_cr-10_holder.scad
Normal 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]]
|
||||||
|
);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user