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

78 lines
1.5 KiB
OpenSCAD

$fn=60;
include <BOSL2/std.scad>
include <BOSL2/shapes2d.scad>
include <boltsos_0.4.1/BOLTS.scad>
CORNER_RADIUS = 3;
holder_height=60;
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() {
translate([0,0,25]) {
cyl(l=holder_height, d=40, rounding=2);
}
translate([-25,0,25]) {
cuboid([17,16,holder_height-6], rounding=2);
}
translate([-30,0,10]) {
screw_mount();
}
translate([-30,0,40]) {
screw_mount();
}
}
translate([0,0,1.5]) {
cylinder(h=holder_height,d=21);
}
translate([-40,-1,-10]) {
cube([45,2,70]);
}
cylinder(h=10,d=10,center=true);
// Main screw hole
translate([-30,8,10]) {
rotate([90,0,0]) {
DIN931("M5");
}
}
translate([-30,8,40]) {
rotate([90,0,0]) {
DIN931("M5");
}
}
}
}
// Plate
color("cyan") {
}