chiark / gitweb /
flyscreen-handle: wip, HandleSection (nfc)
[reprap-play.git] / flyscreen-handle.scad
1 // -*- C -*-
2
3 opening_height = 7.84;
4 opening_depth = 7.88;
5 openingcnr_dia = 2.75;
6 opening_topprotr = 1.54;
7
8 gap = 0.25;
9
10 bot_overlap = 5;
11 bot_w = 3;
12
13 handle_d = 2;
14 handle_w = 8;
15 handle_rh = 2;
16
17 // calculated
18
19 ins_irad = openingcnr_dia/2 + gap;
20 ins_orad = openingcnr_dia/2 + opening_height - gap;
21 ins_th = ins_orad - ins_irad;
22
23 handle_h = bot_overlap + ins_th;
24 handle_y0 = -ins_orad-bot_overlap;
25
26 module InsertSection(){
27   translate([-ins_orad, 0]) square([ins_th, opening_topprotr]);
28   translate([0, -ins_orad]) square([ins_irad+1, ins_th]);
29   intersection(){
30     translate([0.1,0.1]) mirror([1,1]) square([100,100]);
31     difference(){
32       circle(r= ins_orad);
33       circle(r= ins_irad, $fn=10);
34     }
35   }
36 }
37
38 module HandleSection(){
39   hull(){
40     translate([ins_irad, handle_y0])
41       square([bot_w, handle_h]);
42   }
43 }
44
45 InsertSection();
46 HandleSection();