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

index 0fbf86da946290a638f9864f16de5a3499017015..3499622fbac6ffe79437be978a8fbd5003614d6c 100644 (file)
@@ -65,7 +65,7 @@ module PlugHookHookPlan(){
            ]);
 }
 
-module PlugHookTonguePlan(){
+module TonguePlan(){
   difference(){
     rectfromto([ -plug_entry_gap - 1, z_hook_min ],
               [ tongue_len, z_laptop_base ]);
@@ -75,6 +75,10 @@ module PlugHookTonguePlan(){
   }
 }
 
+module FarHookPlan(){
+  TonguePlan();
+}
+
 module RotateIntersect(n=6){
   intersection_for (r = [0:n-1]) {
     rotate([r/n * 360,0,0])
@@ -95,7 +99,7 @@ module PlugHolder(){
 
        linextr_y_xz(-hook_th/2,
                     +hook_th/2)
-         PlugHookTonguePlan();
+         TonguePlan();
       }
     }
 
@@ -113,6 +117,16 @@ module PlugHolderPrint(){ ////toplevel
 }
 
 module DemoPlan() { ////toplevel
-  translate([0,0,-5]) color("grey") PlugHolderPlan();
+  translate([0,0,-10]) color("grey") PlugHolderPlan();
   PlugMainPlan();
+  translate([0,0,-5]) color("blue") {
+    PlugHookHookPlan();
+    TonguePlan();
+  }
+
+  translate([0,40,0]) {
+    mirror([1,0,0]) {
+      FarHookPlan();
+    }
+  }
 }