added z rod holes

This commit is contained in:
lukas 2021-02-27 18:05:26 +01:00
parent b7933cfb07
commit ca56434f15

View File

@ -1,12 +1,14 @@
M3HoleDiam = 3.4; M3HoleDiam = 3.4;
MountSize = 40; MountSize = 40;
BodyWidth = 60;
$fn = 100; $fn = 100;
difference() { difference() {
MainBody(); MainBody();
M3MountHoles(); M3MountHoles();
BottomZRodHoles();
} }
module M3MountHoles(){ module M3MountHoles(){
@ -18,6 +20,20 @@ module M3MountHoles(){
translate([0, MountSize-edgeDistance, MountSize-edgeDistance]) M3Hole(40); translate([0, MountSize-edgeDistance, MountSize-edgeDistance]) M3Hole(40);
} }
module BottomZRodHoles(){
xcenter = 49;
ycenter = MountSize/2 - 10;
holedistance = 10.6;
translate([xcenter + holedistance/2, ycenter + holedistance/2, 0]) rotate([0,270,0]) M3Hole(5);
translate([xcenter - holedistance/2, ycenter + holedistance/2, 0]) rotate([0,270,0]) M3Hole(5);
translate([xcenter + holedistance/2, ycenter - holedistance/2, 0]) rotate([0,270,0]) M3Hole(5);
translate([xcenter - holedistance/2, ycenter - holedistance/2, 0]) rotate([0,270,0]) M3Hole(5);
// center hole
translate([xcenter, ycenter, 0]) rotate([0,0,0]) cylinder(h = 5, d = 10.1);
}
module M3Hole(thickness) { module M3Hole(thickness) {
rotate([0, 90, 0])cylinder(h = thickness, d = M3HoleDiam); rotate([0, 90, 0])cylinder(h = thickness, d = M3HoleDiam);
} }
@ -27,8 +43,13 @@ module MainBody() {
cube([5, MountSize, MountSize]); cube([5, MountSize, MountSize]);
// bottom frame plate // bottom frame plate
translate([5, 0,0 ]) cube([50, MountSize, 5]); translate([5, 0,0 ]) cube([BodyWidth, MountSize, 5]);
// motorholder plate // motorholder plate
translate([0, MountSize,0 ]) cube([40+5, 5, 40]); translate([0, MountSize,0 ]) cube([40+5, 5, 40]);
// top rod holde
translate([BodyWidth, 10,5 ]) cube([5, 20, 30]);
translate([BodyWidth, 10, -35 ]) cube([5, 20, 35]);
} }