From 1f7583a647aaed0a74f40d986960f1b87e74f4ae Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 31 May 2022 18:41:28 +0100 Subject: [PATCH] laptop-sound-cable-hooks: wip other end Signed-off-by: Ian Jackson --- laptop-sound-cable-hooks.scad | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/laptop-sound-cable-hooks.scad b/laptop-sound-cable-hooks.scad index 0fbf86d..3499622 100644 --- a/laptop-sound-cable-hooks.scad +++ b/laptop-sound-cable-hooks.scad @@ -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(); + } + } } -- 2.30.2