3 dxf_off = [ -40, -85 ];
11 torch_clear_below = 10;
22 brace = [ 40, 10, 20 ];
28 above = torch_big_len + torch_clear + torch_clear_below;
32 stem_below = stem_width/2;
34 stem_len = holes[1] - above + stem_below;
36 torch_out = stem_thick + torch_big_dia/2 + torch_out_more;
38 block_width = arm_width*2 + torch_big_dia;
40 block_out = torch_out + torch_big_dia/2/sqrt(2);
47 import(file="maglite-holder-torch-curve.dxf",
48 convexity=10, center=true);
51 cylinder(r=torch_lit_dia/2, h= torch_tot_len - torch_big_len + 1);
55 module TorchMovement(){
56 // xxx needs torch increasing for slop
57 translate([0, -torch_out, 0]) {
58 translate([0, 0, -torch_recess])
61 linear_extrude(height= block_out)
62 projection() rotate([-90,0,0]) Torch();
69 translate([-stem_width/2, 0, -stem_len])
70 cube([stem_width, stem_thick, stem_len]);
71 translate([0,0, -block_thick]) hull(){
72 translate([-stem_width/2, 0, -brace[2]])
73 cube([stem_width, stem_thick, 1]);
74 translate([-brace[0]/2, 0, 0])
75 cube([brace[0], brace[1], 1]);
78 // xxx needs screw holes
82 translate([-block_width/2, 0, -block_thick])
83 cube([block_width, block_out, block_thick]);
89 translate([0, -torch_out, 0])