-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipe_monitor_stand.scad
173 lines (146 loc) · 4.51 KB
/
pipe_monitor_stand.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
$fn=60;
pipe_dia=49; // 1.5" abs
pipe_width=175;
thickness=3;
pipe_length=36*25.4;
tab_width=10;
side_hole_diameter=5;
foot_spacing=40;
foot_length=150;
//plywood_mount();
//plywood_foot();
//pipe_foot();
projection()
pipe_mount();
//vesa_mount(holes=false);
//projection()
//pipe_mount_foot();
//foot_stringer();
//pipe_mount();
//vesa_mount();
//middle_mount();
module plywood_foot(){
translate([0,0,00]) pipe_mount_foot();
translate([0,0,foot_spacing]) pipe_mount_foot();
for(X=[-1,1])
translate([((pipe_width/2))*X, 0, 0])
rotate([0,0,-10*X])
translate([(-pipe_dia/2-thickness/2)*X, 0, foot_spacing/2])rotate([90,0,90])
foot_stringer();
translate([0,0,pipe_length/2]) %pipes(height=pipe_length);
}
module foot_stringer(){
difference(){
cube([60,foot_spacing-thickness,thickness], center=true);
cylinder(d=side_hole_diameter, h=thickness+1, center=true);
}
hull(){
translate([30,-thickness/2,0]) cube([1,foot_spacing,thickness], center=true);
translate([30.5+foot_length,-thickness/2-foot_spacing/4,0]) cube([1,foot_spacing/2,thickness], center=true);
}
for(X=[-1,1], Y=[-1,1])
translate([20*X, ((foot_spacing-thickness)/2+thickness/2)*Y, 0])
cube([tab_width, thickness, thickness], center=true);
}
module plywood_mount(){
translate([0,30+thickness/2,200])
rotate([90,0,0]) vesa_mount();
translate([0,0,160]) pipe_mount();
translate([0,0,240]) pipe_mount();
for(X=[-1,1])
translate([((pipe_width/2)-pipe_dia/2-thickness/2)*X,0,200])
rotate([90,0,90]) middle_mount();
translate([0,0,pipe_length/2]) %pipes(height=pipe_length);
}
module middle_mount(){
difference(){
cube([60,80-thickness,thickness], center=true);
cylinder(d=side_hole_diameter, h=thickness+1, center=true);
}
for(Y=[-1,0,1])
translate([30+thickness/2, 30*Y, 0])
cube([thickness, tab_width, thickness], center=true);
for(X=[-1,1], Y=[-1,1])
translate([20*X, ((80-thickness)/2+thickness/2)*Y, 0])
cube([tab_width, thickness, thickness], center=true);
}
module pipe_mount(){
difference(){
pipe_mount_base();
for(X=[-1,1], Y=[-1,1])
translate([((pipe_width/2)-pipe_dia/2-thickness/2)*X, 20*Y, 0])
cube([thickness, tab_width, thickness], center=true);
}
for(X=[-1,0,1])
translate([40*X, 30+thickness/2, 0])
cube([tab_width, thickness, thickness], center=true);
}
module pipe_mount_foot(){
difference(){
pipe_mount_base();
for(X=[-1,1])
translate([((pipe_width/2))*X, 0, 0])
rotate([0,0,-10*X])
for(Y=[-1,1])
translate([(-pipe_dia/2-thickness/2)*X, 20*Y, 0])
cube([thickness, tab_width, thickness], center=true);
}
}
module pipe_mount_base(){
difference(){
hull() for(X=[-1,1])
translate([pipe_width/2*X,0,0]) cylinder(d=60, h=thickness, center=true);
for(X=[-1,1])
translate([pipe_width/2*X,0,0]) cylinder(d=49, h=thickness+1, center=true);
}
}
module vesa_mount(inner_dia=100, holes=true){
difference(){
union(){
if(holes){
for(X=[-1,1], Y=[-1,1]){
hull(){
translate([50*X, 50*Y, 0])
cylinder(d=20, h=thickness, center=true);
cylinder(d=inner_dia, h=thickness, center=true);
}
}
}
hull() for(X=[-1,1], Y=[-1,1])
translate([((pipe_width/2)-pipe_dia/2-thickness/2)*X, 40*Y, 0]) cylinder(d=10, h=thickness, center=true);
}
vesa_mount_holes();
for(X=[-1,0,1], Y=[-1,1])
translate([40*X, 40*Y, 0])
cube([tab_width, thickness, thickness], center=true);
for(X=[-1,1], Y=[-1,0,1])
translate([((pipe_width/2)-pipe_dia/2-thickness/2)*X, 30*Y, 0])
cube([thickness, tab_width, thickness], center=true);
}
}
module vesa_mount_holes(hole_seperation=100, hole_dia=4.5, hole_height=10){
for(X=[-1,1], Y=[-1,1]){
translate([hole_seperation/2*X, hole_seperation/2*Y, 0])
cylinder(d=hole_dia, h=hole_height, center=true);
}
}
module pipe_foot(height=20){
%difference(){
hull(){
cylinder(d=pipe_dia+10, h=5);
translate([0, -150, 0]) cylinder(d=30, h=5);
}
translate([0, 0, -10]) cylinder(d=pipe_dia, h=100);
}
hull(){
translate([0, -150, 5]) rotate([90,0,0]) cylinder(d=5, h=1);
translate([0, -pipe_dia/2, 5]) cylinder(d=5, h=height);
}
}
module big_monitor(){
cube([10, 650, 450]);
}
module pipes(height=500){
for(X=[-1,1]) translate([pipe_width/2*X, 0,0])
cylinder(d=pipe_dia, h=height, center=true);
}