chiark / gitweb /
fire-blanket-wall-mushroom: before no csink
[reprap-play.git] / fire-blanket-wall-mushroom.scad
1 // -*- C -*-
2
3 screwrad = 4.3 / 2 + 0.30;
4 shaftrad = 7.5 / 2 - 0.30;
5
6 diskrad = 12.0 / 2 - 0.25;
7
8 csinkpart = 0.5;
9
10 csinkdepth = 3.4 * csinkpart;
11 screwheadrad = (8.1 * csinkpart + screwrad * (1-csinkpart)) / 2 + 0.30;
12
13 shaftlen = 4;
14
15 diskthick = 1.5;
16
17 disktaperratio = 2;
18
19 // computed
20
21 disktaperrad = diskrad - diskthick / disktaperratio;
22 totallen = shaftlen + diskthick;
23
24 echo(disktaperrad, screwheadrad);
25 echo(diskrad, disktaperrad, shaftrad, screwheadrad, screwrad);
26
27 module SidePlan(){
28   polygon([[-screwheadrad, 0],
29            [-disktaperrad, 0],
30            [-diskrad, -diskthick],
31            [-shaftrad, -diskthick],
32            [-shaftrad, -totallen],
33            [-screwrad, -totallen],
34            [-screwrad, -csinkdepth]]);
35 }
36
37 SidePlan();