chiark / gitweb /
wall-cable-hook: before slopy top
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 24 May 2014 17:04:14 +0000 (18:04 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 24 May 2014 17:04:14 +0000 (18:04 +0100)
wall-cable-hook.scad [new file with mode: 0644]

diff --git a/wall-cable-hook.scad b/wall-cable-hook.scad
new file mode 100644 (file)
index 0000000..06291ac
--- /dev/null
@@ -0,0 +1,23 @@
+// -*- C -*-
+
+circle_inner_rad = 10;
+
+thick = 3;
+
+tab_sz = 15;
+
+// calculated
+
+circle_outer_rad = circle_inner_rad + thick;
+
+module Plan() {
+  difference(){
+    circle(r=circle_outer_rad);
+    circle(r=circle_inner_rad);
+    mirror([1,0]) square([50,50]);
+  }
+  translate([-circle_outer_rad, -0.1])
+    square([thick, tab_sz + circle_outer_rad]);
+}
+
+Plan();