-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0.20.0.scad
62 lines (54 loc) · 1.64 KB
/
0.20.0.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// flue pipe
include <OpenSCAD_support/common.scad>
include <OpenSCAD_support/straight_labium.scad>
include <OpenSCAD_support/straight_flue.scad>
include <OpenSCAD_support/pipe_version.scad>
// variables
outerDiameter = 32;
innerDiameter = 28;
labiumWidth = 23.4158;
outCut = 7.0248;
totalLength = 279.6128;
outerTube = 12;
innerTube = 8;
minWallThickness = 1.2;
floorThickness = 2;
flueWidth = 0.6;
corpus_angle = 45;
// proportions, are most likely good like that
lengthFlue = totalLength / 8;
tubeInsert = outerTube + 2.5; // length
pipeInsert = innerDiameter * 0.1 + 5; // length
height = floorThickness
+ lengthFlue
+ labiumWidth /2
+ tubeInsert;
// calculations, don't touch in production use
ground = (lengthFlue + floorThickness)*-1;
airSupplyY = - outerDiameter/4 - innerDiameter/4 - minWallThickness/2;
soundingLength = height - pipeInsert - floorThickness;
labium_polygon_points =
[[airSupplyY - 2*minWallThickness, -outCut],
[airSupplyY - 2*minWallThickness, outCut],
[airSupplyY, 0],
[airSupplyY + 2*minWallThickness, outCut],
[airSupplyY + 2*minWallThickness, -outCut]];
// announcing sounding length
echo(str("the sounding length inside the model in mm: ", soundingLength));
// announcing tube length
echo(str("tube needed (in mm): ", totalLength - soundingLength));
// logic
rotate([0, 45, 0])
difference(){
union(){
basicShape20(height, corpus_angle);
outer_straight_flue_20();
vertical_version_number_20 ("0.20", corpus_angle);
};
union(){
inner_straight_flue_20();
airSupplySpacer();
straight_labium_cut_20();
};
};
echo(version = version());