chiark / gitweb /
tablet-case-corner-mount: hook
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jun 2014 14:33:45 +0000 (15:33 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jun 2014 14:33:45 +0000 (15:33 +0100)
tablet-case-corner-mount.scad

index 7c09008..1ab1d96 100644 (file)
@@ -1,14 +1,18 @@
 // -*- C -*-
 
-main_sz = 20;
+main_sz = 20; //xxx
 
 wall_th = 3;
 
-front_fullsz = 10;
+front_fullsz = 10; //xxx
 
-back_tot_l = 30;
+front_th = 2;
+back_th = 4;
+gap_th = 5; //xxx
+
+back_tot_l = 30; //xxx
 back_cut_l = 4;
-back_cut_w = 10;
+back_cut_w = 10; //xxx
 back_prong_w = 3;
 
 module MidPlan(){
@@ -44,6 +48,22 @@ module BackPlan(){
   }
 }
 
+module Hook(){
+  rotate([90,0,0]){
+    difference(){
+      union(){
+       linear_extrude(height=back_th)
+         BackPlan();
+       linear_extrude(height=back_th+gap_th+front_th)
+         MidPlan();
+       translate([0,0, back_th+gap_th])
+         linear_extrude(height=front_th) FrontPlan();
+      }
+    }
+  }
+}
+
 //MidPlan();
 //FrontPlan();
-BackPlan();
+//BackPlan();
+Hook();