chiark / gitweb /
tablet-stand: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 15 Mar 2013 20:47:35 +0000 (20:47 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 15 Mar 2013 20:47:35 +0000 (20:47 +0000)
tablet-stand.scad [new file with mode: 0644]

diff --git a/tablet-stand.scad b/tablet-stand.scad
new file mode 100644 (file)
index 0000000..bcad4f3
--- /dev/null
@@ -0,0 +1,21 @@
+// -*- C -*-
+
+antifoot_width = 15;
+antifoot_height = 15;
+antifoot_slope = 1.0;
+antifoot_depth = 10;
+antifoot_base = 8;
+antifoot_front = 5;
+
+module AntiFoot(){
+  antifoot_back = antifoot_depth + antifoot_height/antifoot_slope;
+  polygon([[-antifoot_front, -antifoot_base],
+          [-antifoot_front,  antifoot_height],
+          [0,               antifoot_height],
+          [0,               0],
+          [antifoot_depth,  0],
+          [antifoot_back, antifoot_height],
+          [antifoot_back, -antifoot_base]]);
+}
+
+AntiFoot();