chiark / gitweb /
laptop-sound-cable-hooks: wip other hook
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 31 May 2022 17:51:07 +0000 (18:51 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 31 May 2022 17:51:07 +0000 (18:51 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
laptop-sound-cable-hooks.scad

index f144bae68c299456f9a59f0f354df1f635282bc1..ed21c84347b90e54491df779cdd3c302db215440 100644 (file)
@@ -5,6 +5,8 @@ include <utils.scad>
 wall_th = 2;
 hook_th = 4;
 hook_hole = 4;
+hook_w_min = 6;
+hook_hook = 12;
 
 plug_entry_gap = 1.0;
 
@@ -76,7 +78,15 @@ module TonguePlan(){
 }
 
 module FarHookPlan(){
-  TonguePlan();
+  mirror([1,0,0])
+    TonguePlan();
+
+  rectfromto([ 0, z_hook_min ],
+            [ hook_w_min, palmrest_from_plug_z + 0.1]);
+
+  translate([0, palmrest_from_plug_z])
+    rectfromto([ -hook_hook, 0 ],
+              [ hook_w_min, hook_w_min ]);
 }
 
 module RotateIntersect(n=6){
@@ -125,8 +135,6 @@ module DemoPlan() { ////toplevel
   }
 
   translate([0,40,0]) {
-    mirror([1,0,0]) {
-      FarHookPlan();
-    }
+    FarHookPlan();
   }
 }