chiark / gitweb /
tablet-stand: wip, before remove antifoot_overlap
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 15 Mar 2013 20:52:35 +0000 (20:52 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 15 Mar 2013 20:52:35 +0000 (20:52 +0000)
tablet-stand.scad

index bcad4f3..b2955f2 100644 (file)
@@ -6,16 +6,22 @@ antifoot_slope = 1.0;
 antifoot_depth = 10;
 antifoot_base = 8;
 antifoot_front = 5;
+antifoot_overlap = 5;
 
 module AntiFoot(){
   antifoot_back = antifoot_depth + antifoot_height/antifoot_slope;
-  polygon([[-antifoot_front, -antifoot_base],
+  translate([-antifoot_front-antifoot_back, antifoot_width/2, 0])
+    rotate([90,0,0])
+    translate([antifoot_front, antifoot_base, 0])
+    linear_extrude(height=antifoot_width)
+    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_back+antifoot_overlap, antifoot_height],
+          [antifoot_back+antifoot_overlap, -antifoot_base]]);
 }
 
 AntiFoot();