41 lines
No EOL
808 B
OpenSCAD
41 lines
No EOL
808 B
OpenSCAD
include <BOSL2/std.scad>
|
|
|
|
$fn=36;
|
|
|
|
// head
|
|
h_d = 16; // diam
|
|
h_t = 12; // thickness
|
|
h_in = 6.5; // hole
|
|
h_r = 2;
|
|
|
|
// pole
|
|
p_l = 150;
|
|
p_d = h_t;
|
|
|
|
// pole base
|
|
p_b_l = 50;
|
|
p_b_h = 6;
|
|
|
|
diff() {
|
|
cyl(d=h_d, h=h_t, rounding=h_r);
|
|
tag("remove") cyl(h=h_t, d=h_in, chamfer=-0.5);
|
|
|
|
cuboid([p_l, p_d, p_d], anchor=LEFT, chamfer=h_r);
|
|
right(p_l) {
|
|
cuboid([p_b_h, p_b_l, p_d], chamfer=h_r, anchor=RIGHT);
|
|
cuboid([p_b_h, p_d, p_b_l/2], chamfer=h_r, anchor=RIGHT+BOT);
|
|
}
|
|
}
|
|
|
|
// base
|
|
|
|
b_d = 140;
|
|
b_t = 8;
|
|
b_r = 5;
|
|
|
|
fwd(b_d) diff() {
|
|
cyl(h=b_t, d=b_d, rounding2=b_r, anchor=BOTTOM);
|
|
tag("remove") cuboid([p_d, p_b_l, p_b_h + 1], anchor=BOTTOM);
|
|
tag("remove") cuboid([p_b_l/2, p_d, p_b_h + 1], anchor=BOTTOM+LEFT);
|
|
tag("remove") cuboid([p_d+2, h_d+2, p_l], chamfer=h_r/2);
|
|
} |