2021-08-27 20:32:05 +00:00
|
|
|
use <Motorhalter.scad>;
|
|
|
|
|
2021-02-26 17:33:03 +00:00
|
|
|
M3HoleDiam = 3.4;
|
|
|
|
|
|
|
|
MountSize = 40;
|
2021-08-27 20:32:05 +00:00
|
|
|
BodyWidth = 55;
|
2021-02-26 17:33:03 +00:00
|
|
|
|
|
|
|
$fn = 100;
|
|
|
|
|
|
|
|
difference() {
|
|
|
|
MainBody();
|
|
|
|
M3MountHoles();
|
2021-02-27 17:05:26 +00:00
|
|
|
BottomZRodHoles();
|
2021-08-27 20:32:05 +00:00
|
|
|
YRodHoles();
|
|
|
|
|
|
|
|
translate([10, 45, 0]) rotate([0, 0, -90]) #motorholes(6);
|
2021-02-26 17:33:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module M3MountHoles(){
|
|
|
|
edgeDistance = (MountSize-20)/2;
|
|
|
|
|
2021-08-27 20:32:05 +00:00
|
|
|
translate([0, edgeDistance, edgeDistance]) #M3Hole(6);
|
|
|
|
translate([0, MountSize-edgeDistance, edgeDistance]) #M3Hole(6);
|
|
|
|
translate([0, edgeDistance, MountSize-edgeDistance]) #M3Hole(6);
|
|
|
|
translate([0, MountSize-edgeDistance, MountSize-edgeDistance]) #M3Hole(6);
|
2021-02-26 17:33:03 +00:00
|
|
|
}
|
|
|
|
|
2021-02-27 17:05:26 +00:00
|
|
|
module BottomZRodHoles(){
|
|
|
|
xcenter = 49;
|
|
|
|
ycenter = MountSize/2 - 10;
|
|
|
|
holedistance = 10.6;
|
|
|
|
|
2021-08-27 20:32:05 +00:00
|
|
|
translate([xcenter + holedistance/2, ycenter + holedistance/2, -5]) rotate([0,270,0]) #M3Hole(6);
|
|
|
|
translate([xcenter - holedistance/2, ycenter + holedistance/2, -5]) rotate([0,270,0]) #M3Hole(6);
|
|
|
|
translate([xcenter + holedistance/2, ycenter - holedistance/2, -5]) rotate([0,270,0]) #M3Hole(6);
|
|
|
|
translate([xcenter - holedistance/2, ycenter - holedistance/2, -5]) rotate([0,270,0]) #M3Hole(6);
|
2021-02-27 17:05:26 +00:00
|
|
|
|
|
|
|
// center hole
|
2021-08-27 20:32:05 +00:00
|
|
|
translate([xcenter, ycenter, -5]) rotate([0,0,0]) #cylinder(h = 6, d = 10.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
module YRodHoles(){
|
|
|
|
translate([55, 30, 52.5]) rotate([0, 90, 0]) #cylinder(h = 6, d = 8);
|
|
|
|
translate([55, 30, -12.5]) rotate([0, 90, 0]) #cylinder(h = 6, d = 8);
|
|
|
|
|
|
|
|
translate([55, 25, 10]) union() {
|
|
|
|
#cube([6,10,20]);
|
|
|
|
translate([0, 5, 0]) rotate([0, 90, 0]) #cylinder(h = 6, d = 10);
|
|
|
|
translate([0, 5, 20]) rotate([0, 90, 0]) #cylinder(h = 6, d = 10);
|
|
|
|
}
|
2021-02-27 17:05:26 +00:00
|
|
|
}
|
|
|
|
|
2021-02-26 17:33:03 +00:00
|
|
|
module M3Hole(thickness) {
|
|
|
|
rotate([0, 90, 0])cylinder(h = thickness, d = M3HoleDiam);
|
|
|
|
}
|
|
|
|
|
|
|
|
module MainBody() {
|
|
|
|
// left mount plate
|
2021-08-27 20:32:05 +00:00
|
|
|
translate([0,0,-5]) cube([5, MountSize, MountSize+10]);
|
2021-02-26 17:33:03 +00:00
|
|
|
|
|
|
|
// bottom frame plate
|
2021-08-27 20:32:05 +00:00
|
|
|
translate([5, 0,-5 ]) cube([BodyWidth, MountSize, 5]);
|
|
|
|
// up frame plate
|
|
|
|
translate([5, 20,40 ]) cube([BodyWidth, 20, 3]);
|
2021-02-26 17:33:03 +00:00
|
|
|
|
|
|
|
// motorholder plate
|
2021-08-27 20:32:05 +00:00
|
|
|
translate([0, MountSize,-5 ]) cube([40+20, 5, 50]);
|
2021-02-27 17:05:26 +00:00
|
|
|
|
2021-08-27 20:32:05 +00:00
|
|
|
// rod holder
|
|
|
|
translate([BodyWidth, 20,-20 ]) cube([5, 25, 80]);
|
2021-02-26 17:33:03 +00:00
|
|
|
}
|