chiark / gitweb /
8eebd7028204a3e950d5861c872ec0586b1231fe
[reprap-play.git] / pump-inframe-bracket.scad
1 // -*- C -*-
2
3 tube_dia = 27.5 + 0.5;
4 pump_w = 42.5 + 0.5;
5 pump_d = 28.0 + 0.5;
6 main_h = 45.0;
7 backflange_d = 12;
8
9 back_gap = 7;
10 main_th = 2.5;
11
12 // calculated
13
14 tube_or = tube_dia/2 + main_th;
15 back_ohw = back_gap/2 + main_th;
16 backflange_ymin = tube_or+backflange_d;
17
18 module MainPlan(){
19   difference(){
20     union(){
21       circle(r = tube_or);
22       translate([-back_ohw,0]) mirror([0,1])
23         square([back_ohw*2, backflange_ymin]);
24     }
25     circle(r = tube_dia/2);
26     translate([-back_gap/2,1]) mirror([0,1])
27       square([back_gap, backflange_ymin+2]);
28   }
29 }
30
31 MainPlan();