add mounting holes and enlarge rod diam to 10mm

This commit is contained in:
lukas 2021-09-07 22:48:07 +02:00
parent 5808d03d78
commit 87f8985718
2 changed files with 34 additions and 1 deletions

View File

@ -1,10 +1,16 @@
M3HoleDiam = 3.4;
M4HoleDiam = 4.4;
M3NutDiam=6.01+.4;
module M3Hole(thickness) {
rotate([0, 90, 0]) cylinder(h = thickness, d = M3HoleDiam);
}
module M4Hole(thickness) {
rotate([0, 90, 0]) cylinder(h = thickness, d = M4HoleDiam);
}
module M3Nut(thickness) {
rotate([0, 90, 0]) cylinder(h = thickness, d = M3NutDiam, $fn=6);
}

View File

@ -1,3 +1,5 @@
use <Holes.scad>;
$fn=75;
// distance between two rods
@ -33,6 +35,9 @@ difference() {
translate([0, -5, cubecenter]) beltHolder();
translate([width, -5, cubecenter]) rotate([0, 180, 0]) beltHolder();
// add the 4 mountholes
MountHoles();
}
module body() {
@ -53,7 +58,7 @@ module body() {
module bearingHalfHole() {
sideDist=3;
rotate([0, 90, 0]) cylinder(h = width, d = 8+1); // we are defining +1mm to fit the rod in the hole...
rotate([0, 90, 0]) cylinder(h = width, d = 8+2); // we are defining +1mm to fit the rod in the hole...
translate([sideDist,0,0]) rotate([0, 90, 0]) cylinder(h = bearingLength, d = bearingDiam);
translate([width-bearingLength-sideDist,0,0]) rotate([0, 90, 0]) cylinder(h = bearingLength, d = bearingDiam);
}
@ -72,3 +77,25 @@ module beltHolder() {
}
}
}
module MountHoles() {
translate([10,0,65]) {
rotate([0,0,90]) #M3Hole(10);
translate([0,5,0]) rotate([0,0,90]) M3Nut(5);
}
translate([width-10,0,65]) {
rotate([0,0,90]) #M3Hole(10);
translate([0,5,0]) rotate([0,0,90]) M3Nut(5);
}
translate([10,0,30]) {
translate([0,-5,0]) rotate([0,0,90]) #M3Hole(15);
translate([0,5,0]) rotate([0,0,90]) M3Nut(10);
}
translate([width-10,0,30]) {
translate([0,-5,0]) rotate([0,0,90]) #M3Hole(15);
translate([0,5,0]) rotate([0,0,90]) M3Nut(10);
}
}