-
Notifications
You must be signed in to change notification settings - Fork 171
/
support_leg_parts.scad
54 lines (40 loc) · 1.14 KB
/
support_leg_parts.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
include <config.scad>
use <GDMUtils.scad>
use <joiners.scad>
module support_leg(h=rail_height, l=75)
{
ang = atan((h-10)/l);
joiner_length=8;
color("SandyBrown")
prerender(convexity=10)
union() {
difference() {
union() {
// Back wall.
translate([0, platform_thick/2, h/2]) {
cube(size=[platform_length/2+joiner_width, platform_thick, h], center=true);
}
// Legs.
xspread(platform_length/2) {
translate([0, l/2, 0.75*h/2]) {
thinning_triangle(h=0.75*h, l=l, thick=platform_thick);
}
}
}
// Clear for joiners.
translate([0, -joiner_length-0.05, rail_height/2]) {
zrot(180) joiner_pair_clear(spacing=platform_length/2, h=rail_height, w=joiner_width, clearance=5, a=joiner_angle);
}
}
// Side joiners.
translate([0, -joiner_length+0.05, rail_height/2]) {
zrot(180) joiner_pair(spacing=platform_length/2, h=rail_height, w=joiner_width, l=joiner_length, a=joiner_angle);
}
}
}
//!support_leg();
module support_leg_parts() { // make me
zrot(180) translate([0, -75/2, 0]) support_leg();
}
support_leg_parts();
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap