From: Ian Jackson Date: Tue, 31 Jan 2017 23:45:26 +0000 (+0000) Subject: maglite-holder: nice shape... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=68d073a9de76b3ed4fb6fe1757e216c9f9eac355;p=reprap-play.git maglite-holder: nice shape... --- diff --git a/maglite-holder.scad b/maglite-holder.scad index bf78cd1..2210c9c 100644 --- a/maglite-holder.scad +++ b/maglite-holder.scad @@ -13,7 +13,7 @@ torch_clear_below = 10; stem_width = 20; stem_thick = 4; -torch_recess = 15; +torch_recess = 10; arm_width = 10; block_thick = 30; @@ -48,6 +48,16 @@ module Torch(){ } } +module TorchMovement(){ + translate([0, -torch_out, 0]) { + translate([0, 0, -torch_recess]) + Torch(); + rotate([90,0,0]) + linear_extrude(height= block_out) + projection() rotate([-90,0,0]) Torch(); + } +} + module Bracket(){ difference(){ mirror([0,1,0]) @@ -58,10 +68,8 @@ module Bracket(){ mirror([0,1,0]) translate([-block_width/2, 0, -block_thick]) cube([block_width, block_out, block_thick]); + TorchMovement(); } - for (out=[ torch_out, torch_out + block_out*2 ]) - translate([ 0, -out, -torch_recess ]) - Torch(); } module Demo(){ @@ -71,3 +79,4 @@ module Demo(){ } Demo(); +