Adjust sprocket position
This commit is contained in:
parent
d94c0212e9
commit
9c87ad2233
|
@ -10,7 +10,6 @@ SprocketL = 1.5;
|
|||
|
||||
InnerH = 10.6;
|
||||
|
||||
|
||||
TopBaseD = 18.47;
|
||||
TopBaseC = (TopBaseD * PI) / 8;
|
||||
TopBaseH = 2.96;
|
||||
|
@ -31,7 +30,6 @@ echo(FrameC);
|
|||
$fn = 100;
|
||||
|
||||
module sprocket (pos = [0, 0, 0], rot = [0, 0, 0], bevel = false) {
|
||||
|
||||
translate (pos) rotate(rot) {
|
||||
difference () {
|
||||
translate([0, 0, 0]) scale([1, 1, 2.25]) rotate([90, 0, 90]) cylinder(r = SprocketW/2, h = SprocketL, center = true);
|
||||
|
@ -96,10 +94,12 @@ module sprocketed_wheel_m3_nut_void (pos = [0, 0, 0]) {
|
|||
module sprocketed_roller_sprocket_wheel (pos = [0, 0, 0], rot = [0, 0, 0], sprockets = 8, D, bevel = false, bolts = false) {
|
||||
translate(pos) rotate(rot) {
|
||||
cylinder(r = R(D), h = SprocketBaseH, center = true);
|
||||
translate([0, 0, 0.15]) {
|
||||
for (i = [0: sprockets]) {
|
||||
rotate([0, 0, i * 360 / sprockets]) sprocket([(D / 2) - .01, 0, (SprocketBaseH / 2) - (SprocketL / 2)], [0, 90, 0], bevel);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module sprocketed_roller_body (pos = [0, 0, 0], rot = [0, 0, 0], sprockets = 8, bevel = false, reinforced = false, bolts = false, adjust_base = 0) {
|
||||
|
@ -170,7 +170,6 @@ module sprocketed_roller (pos = [0, 0, 0], rot = [0, 0, 0], sprockets = 8, bevel
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module sprocketed_roller_reinforced (pos = [0, 0, 0], rot = [0, 0, 0], sprockets = 8, bevel = true, model = "", bolts = false, nuts = false) {
|
||||
|
@ -191,7 +190,6 @@ module sprocketed_roller_reinforced (pos = [0, 0, 0], rot = [0, 0, 0], sprockets
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
LIBRARY = false;
|
||||
|
|
Loading…
Reference in New Issue