Files
3D/tools/dremel/scad/top_knob.scad
2025-06-28 15:32:11 +02:00

55 lines
1.0 KiB
OpenSCAD

$fn=60;
include <BOSL2/std.scad>
include <BOSL2/shapes2d.scad>
include <boltsos_0.4.1/BOLTS.scad>
CORNER_RADIUS = 3;
holder_height=20;
outer_diam=50;
inner_diam=20.6;
module screw_hole() {
rotate([0,90,0]) {
cylinder(h=3,d=8);
cylinder(h=20,d=4.5);
}
}
module screw_mount() {
rotate([90,0,0]) {
cyl(l=16, d=20, rounding=2);
}
translate([0,8,0]) {
rotate([90,0,0]) {
cyl(l=5, d=15, rounding=2);
}
}
}
// Tube
* color("grey") {
translate([0,0,150]) {
tube(od=20,wall=1,h=300);
}
}
// Tube holder
color("red") {
difference() {
union() {
cyl(l=holder_height, d=outer_diam, rounding=2);
translate([0,0,holder_height/2]) {
cyl(l=holder_height/2, d=outer_diam-20, rounding=2);
}
}
translate([0,0,7]) {
cyl(l=holder_height,d=inner_diam, rounding=1);
}
rotate([0,90,0]) {
cyl(l=outer_diam+10,d=3.2);
}
}
}