add belt to motor

This commit is contained in:
lukas 2021-01-22 19:57:01 +01:00
parent 99d19819af
commit 6dcc686f33

View File

@ -4,6 +4,11 @@ use <Motorhalter.scad>;
use <YRollHolder.scad>;
use <Motor.scad>;
include <NopSCADlib/core.scad>
include <NopSCADlib/vitamins/stepper_motors.scad>
include <NopSCADlib/vitamins/pulleys.scad>
bottmoutline();
bottomAngleBrackets();
@ -23,8 +28,8 @@ module bottmoutline() {
translate([440, - 40, 0]) rotate([0, 0, 90]) aluProfile(480);
// linear rails
translate([70, 0, 20]) rotate([-90, 0, 0]) linear_rail(400);
translate([330, 0, 20]) rotate([-90, 0, 0]) linear_rail(400);
translate([70, 0, 20]) rotate([- 90, 0, 0]) linear_rail(400);
translate([330, 0, 20]) rotate([- 90, 0, 0]) linear_rail(400);
}
module bottomAngleBrackets() {
@ -56,9 +61,25 @@ module horizontalProfile() {
module YAxis() {
translate([160, 0, 0]) Motorhalter();
translate([214, 400, 0]) rotate([0, 0, 180]) YRollHolder();
translate([222, 400, 0]) rotate([0, 0, 180]) YRollHolder();
translate([202.5, 26.6, 21]) rotate([0, -90, 0]) Nema17();
translate([200.5, 26.6, 21]) rotate([0, 90, 0]) NEMA(NEMA17M, 180, true);
p1 = [0, 0];
p2 = [0, 350.5];
path = [[p1.x, p1.y, pulley_pr(GT2x20ob_pulley)],
[p2.x, p2.y, pulley_pr(GT2x20_toothed_idler)]
];
belt = GT2x6;
translate([215, 26.5, 20.9]) rotate([0, 90, 0]) union() {
belt(belt, path, 13, [0, 0]);
translate(p1) rotate([0, 0, 0]) pulley_assembly(GT2x20ob_pulley);
translate(p2) pulley_assembly(GT2x20_toothed_idler);
}
}
module printBed() {
@ -68,9 +89,9 @@ module printBed() {
translate([350, 90, 50]) rotate([0, 0, 90]) halfAluProfile(220);
}
module zMotor(){
translate([-20, 240, 81]) rotate([0, 180, 0]) Nema17();
translate([-20, 240, 97]) linear_rail(500);
module zMotor() {
translate([- 20, 240, 81]) rotate([0, 180, 0]) Nema17();
translate([- 20, 240, 97]) linear_rail(500);
// add lead screws
translate([420, 240, 81]) rotate([0, 180, 0]) Nema17();
@ -88,9 +109,9 @@ module halfAluProfile(length) {
}
module linear_rail(length) {
color("#cccccc") cylinder(h = length, d = 8, $fn=33);
color("#cccccc") cylinder(h = length, d = 8, $fn = 33);
}
module bearing(){
cylinder(h = length, d = 8, $fn=33);
module bearing() {
cylinder(h = length, d = 8, $fn = 33);
}