chiark / gitweb /
flyscreen-handle: wip, InsertSection
[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 // calculated
14
15 ins_irad = openingcnr_dia/2 + gap;
16 ins_orad = openingcnr_dia/2 + opening_height - gap;
17 ins_th = ins_orad - ins_irad;
18
19 module InsertSection(){
20   translate([-ins_orad, 0]) square([ins_th, opening_topprotr]);
21   translate([0, -ins_orad]) square([ins_irad+1, ins_th]);
22   translate([ins_irad, -ins_orad-bot_overlap])
23     square([bot_w, bot_overlap + ins_th]);
24   intersection(){
25     translate([0.1,0.1]) mirror([1,1]) square([100,100]);
26     difference(){
27       circle(r= ins_orad);
28       circle(r= ins_irad, $fn=10);
29     }
30   }
31 }
32
33 InsertSection();