Neale Pickett
·
2026-03-22
stand.scad
1include <BOSL2/std.scad>
2
3$fa = 1;
4$fs = $preview ? 2 : 0.5;
5$slop = 0.1;
6
7// Which part to make: you need both.
8part = 0; // [0, 1]
9
10// Inside diameter of your instrument
11id = 20; // [10:50]
12
13thickness=id/5;
14
15difference() {
16 union() {
17 up(10) conv_hull() cuboid([id, thickness, 90], rounding=1, anchor=BOTTOM) {
18 attach(TOP) up(id/2) ycyl(h=thickness, d=id/2, rounding=1, anchor=BOTTOM);
19 }
20 up(25) difference() {
21 yrot(45) cuboid([50, thickness, 50], rounding=1);
22 cuboid(100, anchor=TOP);
23 up(15) cuboid(100, anchor=BOTTOM);
24 }
25 intersection() {
26 up(30) xrot(90) tube(h=thickness, ir=400, wall=20, rounding=1, anchor=BACK);
27 cuboid(275, anchor=BOTTOM);
28 }
29 }
30 up(part?30:29) xrot(part?180:0) {
31 cuboid([thickness+($slop*2), thickness+($slop*2), 100], anchor=BOTTOM);
32 }
33}
34