summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven <steven.vasilogianis@gmail.com>2021-04-17 18:14:32 -0400
committerSteven <steven.vasilogianis@gmail.com>2021-04-17 18:14:32 -0400
commitdbfe9d9608e0a6547ca2f837fbea6a719f16ee66 (patch)
tree152b5e21b62e149042ad8f0328b58f60145aa5f0
wireframe cubbies for all your shit
-rw-r--r--cubbies.scad50
1 files changed, 50 insertions, 0 deletions
diff --git a/cubbies.scad b/cubbies.scad
new file mode 100644
index 0000000..e8f83e3
--- /dev/null
+++ b/cubbies.scad
@@ -0,0 +1,50 @@
1include <BOSL2/std.scad>
2include <BOSL2/walls.scad>
3include <BOSL2/distributors.scad>
4include <BOSL2/joiners.scad>
5
6wall_thickness = 5;
7bottom_thickness = 5;
8strut_thickness = 5;
9
10module cubby (width, depth, divider_height) {
11 module bottom() {
12 rotate(a=[0,90,0])
13 sparse_strut(h=width,
14 l=depth,
15 thick=strut_thickness,
16 maxang=45,
17 strut=5,
18 anchor=BOTTOM+BACK+RIGHT) {
19 grooves();
20 }
21 }
22
23 module grooves() {
24 back(5)
25 attach(TOP)
26 ycopies(20, ceil((depth / 25) + 1))
27 dovetail("male", slide=4, width=5, taper=0, height=4);
28 back(-5)
29 attach(BOTTOM)
30 ycopies(20, ceil((depth / 25) + 1))
31 dovetail("male", slide=4, width=5, taper=0, height=4);
32 }
33
34 module side() {
35 rotate(a=[0,0,0])
36 sparse_strut(h=divider_height,
37 l=depth,
38 thick=strut_thickness,
39 maxang=45,
40 strut=5,
41 anchor=BOTTOM+BACK+RIGHT);
42 }
43
44 bottom();
45 left(10) side();
46}
47
48cubby(50, 190, 150);
49
50