summaryrefslogtreecommitdiff
path: root/gm_platform/platform/converter_clip.scad
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2020-01-23 14:38:36 +0100
committerjaseg <git@jaseg.net>2020-01-23 14:38:36 +0100
commit410e38651052038e34843b17269d61e75720f0ba (patch)
tree987d1853c55b152d5e1362af4420fa52fcd56a81 /gm_platform/platform/converter_clip.scad
parent6a49b8399fb156d427b5d15746de877ac933ba3d (diff)
downloadmaster-thesis-410e38651052038e34843b17269d61e75720f0ba.tar.gz
master-thesis-410e38651052038e34843b17269d61e75720f0ba.tar.bz2
master-thesis-410e38651052038e34843b17269d61e75720f0ba.zip
board bringup: adc, usart working
Diffstat (limited to 'gm_platform/platform/converter_clip.scad')
-rw-r--r--gm_platform/platform/converter_clip.scad24
1 files changed, 24 insertions, 0 deletions
diff --git a/gm_platform/platform/converter_clip.scad b/gm_platform/platform/converter_clip.scad
new file mode 100644
index 0000000..f92b752
--- /dev/null
+++ b/gm_platform/platform/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