From: Ian Jackson Date: Mon, 28 Aug 2023 09:55:55 +0000 (+0100) Subject: poster-tube-lid: Rename StrapLoop from StrapHoop X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bdc2a947c560ee078f860602a774de91d42050ce;p=reprap-play.git poster-tube-lid: Rename StrapLoop from StrapHoop Hoop sounds like the whole thing. Signed-off-by: Ian Jackson --- diff --git a/poster-tube-lid.scad b/poster-tube-lid.scad index e7c8852..2207575 100644 --- a/poster-tube-lid.scad +++ b/poster-tube-lid.scad @@ -63,10 +63,10 @@ jig_hole_dia = 3.0; jig_rim = 5; jig_mark = 5; -strap_hoop_thick = 6; -strap_hoop_inside = 10; -strap_hoop_strlen = 10; -strap_hoop_elevation = 45; +strap_loop_thick = 6; +strap_loop_inside = 10; +strap_loop_strlen = 10; +strap_loop_elevation = 45; sm_inner_circum = 218 - 1.90 - 1.00 - 0.50; sm_main_thick = 2.0; @@ -297,28 +297,28 @@ module MainProfile(){ } } -module StrapHoopProfile(){ - circle(r = strap_hoop_thick/2); +module StrapLoopProfile(){ + circle(r = strap_loop_thick/2); } -module StrapHoop(){ ////toplevel - bigrad = strap_hoop_inside/2 + strap_hoop_thick/2; - extralen = strap_hoop_thick * 5; +module StrapLoop(){ ////toplevel + bigrad = strap_loop_inside/2 + strap_loop_thick/2; + extralen = strap_loop_thick * 5; intersection(){ - rotate([strap_hoop_elevation, 0,0]){ + rotate([strap_loop_elevation, 0,0]){ for (x= [ -1, +1 ] * bigrad) { translate([x, -extralen, 0]) rotate([-90,0,0]) - linear_extrude(height= extralen + strap_hoop_strlen + 0.1, + linear_extrude(height= extralen + strap_loop_strlen + 0.1, convexity=10) - StrapHoopProfile(); + StrapLoopProfile(); } - translate([0, strap_hoop_strlen, 0]){ + translate([0, strap_loop_strlen, 0]){ intersection(){ rotate_extrude(convexity=10) translate([bigrad, 0,0]) - StrapHoopProfile(); + StrapLoopProfile(); translate([0,50,0]) cube([100,100,100], center=true); } @@ -438,10 +438,10 @@ module Cover(){ ////toplevel middle_bot_z + 0.1]) ImplHeadCup(); -// translate(strap_hoop_thick * [-0.5, 0, +1]) +// translate(strap_loop_thick * [-0.5, 0, +1]) // translate([handling_dia/2, 0, -side_height]) // rotate([0,180,0]) rotate([0,0,90]) -// StrapHoop(); +// StrapLoop(); } module SavingHole(){ @@ -492,7 +492,7 @@ module CoverTest1(){ ////toplevel } // translate([ 50, 0, 0 ]) // cube([ 100, -// strap_hoop_inside + strap_hoop_thick*2 + 1, +// strap_loop_inside + strap_loop_thick*2 + 1, // 100 ], // center=true); } @@ -563,14 +563,14 @@ module StrapMountProtrusion(half_x, max_y, cnr, width){ module StrapMount(){ ////toplevel SomeStrap(sm_main_width){ rotate([0,0,180]){ - StrapMountProtrusion(strap_hoop_inside/2 + strap_hoop_thick, - strap_hoop_thick, + StrapMountProtrusion(strap_loop_inside/2 + strap_loop_thick, + strap_loop_thick, sm_closure_cnr, sm_main_width); translate(smc_pos + [0,0, sm_main_width] + - strap_hoop_thick * [ 0, 0.5, -1.0 ]) - StrapHoop(); + strap_loop_thick * [ 0, 0.5, -1.0 ]) + StrapLoop(); } union(){ }; }