Generated models for top dampeners
This commit is contained in:
Binary file not shown.
BIN
rev2/3d-models/right-and-left-top-dampeners.stl
Normal file
BIN
rev2/3d-models/right-and-left-top-dampeners.stl
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,50 +0,0 @@
|
|||||||
$fn = 32;
|
|
||||||
|
|
||||||
$space = 5;
|
|
||||||
$width = 15.2;
|
|
||||||
$length = $width;
|
|
||||||
$height = 0.4;
|
|
||||||
$holes = $height*4;
|
|
||||||
|
|
||||||
$columns = 6;
|
|
||||||
$rows = 5;
|
|
||||||
|
|
||||||
module pin(){
|
|
||||||
cylinder(h=$holes, r=1, center=false);
|
|
||||||
}
|
|
||||||
|
|
||||||
module switch(){
|
|
||||||
$xCenter = $width/2;
|
|
||||||
$yCenter = $length/2;
|
|
||||||
translate([$xCenter, $yCenter, 0])
|
|
||||||
cylinder(h=$holes, r=2.522, center=false);
|
|
||||||
translate([$xCenter + 0, $yCenter + 5.9,0])
|
|
||||||
pin();
|
|
||||||
translate([$xCenter + 5, $yCenter + 3.8,0])
|
|
||||||
pin();
|
|
||||||
translate([$xCenter + -5, $yCenter + 3.8,0])
|
|
||||||
pin();
|
|
||||||
translate([$xCenter + -5, $yCenter + -5.15,0])
|
|
||||||
pin();
|
|
||||||
translate([$xCenter + 5, $yCenter+-5.15,0])
|
|
||||||
pin();
|
|
||||||
}
|
|
||||||
|
|
||||||
module switches(){
|
|
||||||
for (x=[0:$columns -1])
|
|
||||||
for (y=[0:$rows-1])
|
|
||||||
translate([x * ($width + $space/2) ,y * ($length+$space/2) ,0])
|
|
||||||
switch();
|
|
||||||
}
|
|
||||||
|
|
||||||
module body(){
|
|
||||||
$x = (($width + ($space/2)) * $columns) + $width;
|
|
||||||
$y = (($length + ($space/2)) * $rows) + $width;
|
|
||||||
cube([$x, $y, $height]);
|
|
||||||
}
|
|
||||||
|
|
||||||
difference(){
|
|
||||||
body();
|
|
||||||
translate([$space,$space,$holes/2*-1])
|
|
||||||
switches();
|
|
||||||
}
|
|
||||||
@@ -3,7 +3,7 @@ $fn = 32;
|
|||||||
$space = 3;
|
$space = 3;
|
||||||
$width = 15.5;
|
$width = 15.5;
|
||||||
$length = $width;
|
$length = $width;
|
||||||
$height = 0.4;
|
$height = 1;
|
||||||
$holes = $height*4;
|
$holes = $height*4;
|
||||||
$cut = $holes/2*-1;
|
$cut = $holes/2*-1;
|
||||||
$switchDistance = $width+ $space;
|
$switchDistance = $width+ $space;
|
||||||
@@ -58,7 +58,7 @@ module switchColumn(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module topDampener(){
|
module rightTopDampener(){
|
||||||
union(){
|
union(){
|
||||||
switchColumn();
|
switchColumn();
|
||||||
translate([$switchDistance,0,0])
|
translate([$switchDistance,0,0])
|
||||||
@@ -74,4 +74,15 @@ module topDampener(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
topDampener();
|
module leftTopDampener(){
|
||||||
|
rotate([0,180,0]){
|
||||||
|
rightTopDampener();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([10,0,0]){
|
||||||
|
rightTopDampener();
|
||||||
|
}
|
||||||
|
translate([-10,0,0]){
|
||||||
|
leftTopDampener();
|
||||||
|
}
|
||||||
Binary file not shown.
Reference in New Issue
Block a user