small stepper

This commit is contained in:
jayAitch256
2022-03-22 19:59:30 +01:00
parent ab33a99291
commit 5ce1c6e3c6

View File

@@ -3,11 +3,11 @@ use <gears/gears.scad>
$fn = 50;
gear_modul = 1;
gear_tooth_number_small = 10;
gear_tooth_number_large = 130;
gear_large_full_diameter = 150;
gear_tooth_number_large = 150;
gear_large_full_diameter = 190;
module brett () {
color("white") difference () {
difference () {
cylinder(d=197, h=12);
cylinder(d=15.5, h=12);
}
@@ -60,29 +60,47 @@ module stepper () {
}
}
module stepper_small () {
union () {
//Grundkörper
translate([-42.2 / 2, -42.2 / 2, 0]) union () {
cube([42.2,42.2,32]);
translate([42.2 / 2, 42.2 / 2, 32]) cylinder(h=1.5, d=22);
}
//Welle & Zahnrad
translate([0,0,32+1.5]) {
union () {
translate([0,0,18-3]) spur_gear(modul=gear_modul, tooth_number=10, width=3, bore=0);
cylinder(h=18, d=5);
}
}
//Befestigung
translate ([-80/2, -20/2, 32-5]) difference () {
cube([80, 20, 5]);
union () {
translate([4, 20/2, 0]) cylinder(h=5, d=4) ;
translate([80-4, 20/2, 0]) cylinder(h=5, d=4) ;
}
}
}
}
module large_gear () {
difference () {
cylinder(h = 3, d=gear_large_full_diameter);
spur_gear(modul=gear_modul, tooth_number=gear_tooth_number_large, width=3, bore=0);
cylinder(h = 3, d=(gear_large_full_diameter - 30));
cylinder(h = 3, d=(gear_large_full_diameter - 60));
}
}
// Stepper
*translate([60,0,0]) stepper();
*color("red") translate([0,70,0]) stepper_small();
//Brett unten
*translate([0,0,-12]) brett ();
*color("grey") translate([0,0,-12]) brett ();
// Top Gear
*translate([0,0,71.5-3]) large_gear ();
translate([0,10 /2,15/2]) rotate([90,0,0]) {
union() {
difference() {
cylinder(h=10, d=15);
cylinder(h=10, d=3);
}
translate([0,0,-3]) cylinder(h=16, d=3-0.2);
}
}
*color("yellow") translate([0,0,32+1.5+18-3]) large_gear ();