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
|
// Posts for 1/2" angle aluminum for stiffening a printer which uses 2020
// extrusions.. I recommend using A-bracing.
//
// Haydn Huntley
// haydn.huntley@gmail.com
$fn = 360/6;
include <configuration.scad>;
include <roundedBox.scad>;
// All measurements in mm.
debug = false;
xBase = extrusionWidth;
yBase = 2 * extrusionWidth;
zBase = 3.0;
postRadius = 11.5/2;
module diagonalBracingPost()
{
difference()
{
union()
{
// The post.
cylinder(r=postRadius, h=2*postRadius+zBase);
// The base for the post.
translate([0, 0, zBase/2])
roundedBox([xBase, yBase, zBase], 5, true);
}
// Remove a tapering hole for an M3x10 to M3x16 screw in the post.
translate([0, 0, -smidge/2])
cylinder(r2=m3LooseRadius-smidge,
r1=m3Radius-3*smidge,
h=2*postRadius+zBase+smidge);
// Remove the two M5x8 holes in the base.
for (y = [1, -1])
{
translate([0, y*2/3*yBase/2, -smidge/2])
{
cylinder(r=m5LooseRadius, h=zBase+smidge);
// Show the M5x8 screw heads.
if (debug)
%translate([0, 0, zBase+smidge/2])
cylinder(r=m5ButtonHeadRadius, h=m5ButtonHeadHeight);
}
}
}
}
diagonalBracingPost();
|