From 3202d53bda78629666e155eab5ee94aaa6ebe995 Mon Sep 17 00:00:00 2001 From: wholteza Date: Fri, 15 Aug 2025 22:20:41 +0200 Subject: [PATCH] Started working on case --- rev2/3d-models/top-dampener.scad | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/rev2/3d-models/top-dampener.scad b/rev2/3d-models/top-dampener.scad index 90d9d2a..880c227 100644 --- a/rev2/3d-models/top-dampener.scad +++ b/rev2/3d-models/top-dampener.scad @@ -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); } \ No newline at end of file