-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstoop.scad
79 lines (71 loc) · 1.72 KB
/
stoop.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
StoopLength = 51;
StoopWidth = 48;
RailingHeight = 36;
StoopPostLength = 100;
module Joists() {
translate([0, 1.5, -3.5]) {
cube([1.5, 48, 3.5]);
}
translate([16, 1.5, -3.5]) {
cube([1.5, 48, 3.5]);
}
translate([32, 1.5, -3.5]) {
cube([1.5, 48, 3.5]);
}
translate([StoopWidth - 1.5, 1.5, -3.5]) {
cube([1.5, 48, 3.5]);
}
translate([0, 0, -5.5]) {
cube([StoopWidth, 1.5, 5.5]);
}
}
module Railing(PostDepth) {
translate([0, 0, 0]) {
translate([0, 0, -PostDepth]) {
translate([0, 0, StoopPostLength - 3.5]) {
cube([1.5, StoopLength - 1.5, 3.5]);
}
}
}
}
module Railings(StoopTop) {
PostDepth = 24;
translate([1.5, -StoopLength + 1.5]) {
translate([0, 0, -PostDepth]) {
cube([3.5, 3.5, StoopPostLength]);
}
translate([-1.5, 0]) {
Railing(PostDepth);
}
}
translate([StoopWidth - 5, -StoopLength + 1.5]) {
translate([0, 0, -PostDepth]) {
cube([3.5, 3.5, StoopPostLength]);
}
translate([3.5, 0]) {
Railing(PostDepth);
}
}
}
module Steps(StepCount, StoopWidth) {
translate([0, -8, -8]) {
square([StoopWidth, 8]);
StepCount = StepCount - 1;
if (StepCount > 0) Steps(StepCount, StoopWidth);
}
}
module Stoop(StoopTop) {
translate([0, 0, StoopTop]) {
translate([0, -1.5, -7]) {
cube([StoopWidth, 1.5, 5.5]);
}
translate([0, -StoopLength, -1.5]) {
Joists();
// square([StoopWidth, StoopLength]);
Steps(4, StoopWidth);
}
}
Railings(StoopTop);
}
module StoopFrame() {
}