Started working on case
This commit is contained in:
@@ -7,10 +7,14 @@ $height = 1;
|
||||
$holes = $height*4;
|
||||
$cut = $holes/2*-1;
|
||||
$switchDistance = $width+ $space;
|
||||
$shellWidth = 6;
|
||||
$clearance = 0.2;
|
||||
|
||||
$columns = 6;
|
||||
$rows = 5;
|
||||
|
||||
$fingerStep = 5;
|
||||
|
||||
$xBase = (($width + $space) * $columns) + $space;
|
||||
$yBase = (($length + $space) * $rows) + $space;
|
||||
|
||||
@@ -80,9 +84,42 @@ module leftTopDampener(){
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module topDampeners(){
|
||||
translate([10,0,0]){
|
||||
rightTopDampener();
|
||||
}
|
||||
translate([-10,0,0]){
|
||||
leftTopDampener();
|
||||
}
|
||||
}
|
||||
|
||||
//topDampeners();
|
||||
|
||||
points = [
|
||||
[0,0],
|
||||
[0, $switchDistance * $rows],
|
||||
[$switchDistance * 2, $switchDistance * $rows],
|
||||
[$switchDistance * 2, $switchDistance * $rows + $fingerStep],
|
||||
[$switchDistance * 3, $switchDistance * $rows + $fingerStep],
|
||||
[$switchDistance * 3, $switchDistance * $rows],
|
||||
[$switchDistance * 4, $switchDistance * $rows],
|
||||
[$switchDistance * 4, $switchDistance * $rows - $fingerStep],
|
||||
[$switchDistance * 6, $switchDistance * $rows - $fingerStep],
|
||||
[$switchDistance * 6, 0 - $fingerStep],
|
||||
[$switchDistance * 4, 0 - $fingerStep],
|
||||
[$switchDistance * 4, 0],
|
||||
[$switchDistance * 3, 0],
|
||||
[$switchDistance * 3, 0 + $fingerStep],
|
||||
[$switchDistance * 2, 0 + $fingerStep],
|
||||
[$switchDistance * 2, 0],
|
||||
];
|
||||
union() {
|
||||
linear_extrude(5){
|
||||
difference(){
|
||||
offset(r=$shellWidth/2 + $clearance, chamfer=true) polygon(points);
|
||||
offset(r=$clearance) polygon(points);
|
||||
}
|
||||
}
|
||||
offset(r=$shellWidth/2 + $clearance, chamfer=true) polygon(points);
|
||||
}
|
||||
Reference in New Issue
Block a user