// -*- C -*-
+dxf_off = [ -40, -85 ];
+
+torch_lit_dia = 37.5;
+torch_big_dia = 56.5;
+torch_tot_len = 256;
+torch_big_len = 60;
+
module Torch(){
-// import(file="screw-recess-test-number-s3.dxf", convexity=10);
- import(file="maglite-holder-torch-curve.dxf", convexity=10);
+ hull(){
+ rotate_extrude()
+ translate(dxf_off)
+ import(file="maglite-holder-torch-curve.dxf", convexity=10, center=true);
+ }
+ translate([0,0, -1])
+ cylinder(r=torch_lit_dia/2, h= torch_tot_len - torch_big_len + 1);
}
-linear_extrude(100) Torch();
+Torch();