From 24954f43da98c8c4ee5f4c302504fb8dea181c33 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 10 Sep 2018 22:28:58 +0100 Subject: [PATCH] sleepphone-cable-box: introduce keeper_stalk_thick, nfc Signed-off-by: Ian Jackson --- sleepphone-cable-box.scad | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sleepphone-cable-box.scad b/sleepphone-cable-box.scad index 7a678b7..d04fc45 100644 --- a/sleepphone-cable-box.scad +++ b/sleepphone-cable-box.scad @@ -35,6 +35,7 @@ keeper_prong = 2; keeper_stalk_basewidth = 4; keeper_stalk_len = 70; keeper_stalk_gap = 2; +keeper_stalk_thick = wall_bot; // calculated @@ -116,8 +117,8 @@ module PlugKeeperStalkProfile(){ module PlugKeeper(){ for (m=[0,1]) mirror([0,m,0]) { - translate([0,0, -wall[2]]) - linear_extrude(height=plug_h + wall[2]) + translate([0,0, -keeper_stalk_thick]) + linear_extrude(height=plug_h + keeper_stalk_thick) PlugKeeperProfileHalf(); translate([0, 0, plug_h - plug_tooth_h]) @@ -127,8 +128,8 @@ module PlugKeeper(){ } - translate([0,0, -wall[2]]) - linear_extrude(height = wall[2]) + translate([0,0, -keeper_stalk_thick]) + linear_extrude(height = keeper_stalk_thick) PlugKeeperStalkProfile(); } -- 2.30.2