chiark / gitweb /
maglite-holder: torch
[reprap-play.git] / maglite-holder.scad
1 // -*- C -*-
2
3 dxf_off = [ -40, -85 ];
4
5 torch_lit_dia = 37.5;
6 torch_big_dia = 56.5;
7 torch_tot_len = 256;
8 torch_big_len = 60;
9
10 $fa=5;
11
12 module Torch(){
13   mirror([0,0,1]){
14     hull(){
15       rotate_extrude()
16         translate(dxf_off)
17         import(file="maglite-holder-torch-curve.dxf",
18                convexity=10, center=true);
19     }
20     translate([0,0, -1])
21       cylinder(r=torch_lit_dia/2, h= torch_tot_len - torch_big_len + 1);
22   }
23 }
24
25 Torch();