summaryrefslogtreecommitdiff
path: root/hardware/grid-recorder/converter_clip.scad
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2021-04-09 18:38:02 +0200
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2021-04-09 18:38:57 +0200
commit50998fcfb916ae251309bd4b464f2c122e8cb30d (patch)
tree4ecf7a7443b75ab51c4dc0c0fc9289342dc7d6a0 /hardware/grid-recorder/converter_clip.scad
parent312fee491cfab436d52db4b6265107e20f3e1293 (diff)
downloadmaster-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.tar.gz
master-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.tar.bz2
master-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.zip
Repo re-org
Diffstat (limited to 'hardware/grid-recorder/converter_clip.scad')
-rw-r--r--hardware/grid-recorder/converter_clip.scad24
1 files changed, 24 insertions, 0 deletions
diff --git a/hardware/grid-recorder/converter_clip.scad b/hardware/grid-recorder/converter_clip.scad
new file mode 100644
index 0000000..f92b752
--- /dev/null
+++ b/hardware/grid-recorder/converter_clip.scad
@@ -0,0 +1,24 @@
+w_top = 24.5;
+w_bottom = 25.3;
+h = 21.5;
+
+extra_w = 0.1;
+wall_thickness = 2;
+ledge_w = 3;
+
+clamp_w = 20;
+
+module shape() {
+ polygon([[0, 0], [-1.5, w_bottom/2], [0, w_bottom], [h, w_bottom - (w_bottom - w_top)/2], [h, (w_bottom-w_top)/2]]);
+}
+
+module segment(wall) {
+ linear_extrude(clamp_w)
+ difference() {
+ offset(wall + extra_w, $fn=32) shape();
+ offset(extra_w, $fn=32) shape();
+ mirror([1, 0]) translate([extra_w, ledge_w]) square([5*wall, w_bottom - 2*ledge_w]);
+ }
+}
+
+segment(wall_thickness); \ No newline at end of file