Added a motor -- actually in the epicyclic file, which isn't right, but...

This commit is contained in:
Simon Brooke 2025-09-15 15:57:57 +01:00
parent 87a0c3431e
commit 3b90a2e4d5
4 changed files with 154 additions and 21 deletions

View file

@ -6,6 +6,22 @@
include <SprocketGenerator2/files/Sprocket_Generator_v2_example_10.scad>
// based on this motor here, which is affordable and has a ratchet:
// https://www.amazon.co.uk/L-faster-Solution-Sprocket-Brushless-Bicycle/dp/B0DCJXV53J/ref=sr_1_275?dib=eyJ2IjoiMSJ9.yUQgRnT20RtAyVb3Decqam4igr7b-1ZoqiviQunNV5DUW73JKvlMfEIZgM3tt3iVQEIV1sDAZ-ZpMznFrqKJoeIGMNBcdyoG_M1vll2XL0GSe87XzbNFjGDpbjE_er-29ncEjr1VioaOmFmC11qAdpYkyhK9n7FrmW3yGSal16k.vMbZrXAMFNJMrFCIivuP6dMH7HyGRdm1qb5VDsBz8eM&dib_tag=se&marketplaceID=A1F83G8C2ARO7P&qid=1757944297&s=merchant-items&sr=1-275&xpid=993o6gj7HOOMv&th=1&psc=1
module motor () {
translate([0,0, 35])
color( "silver")
cylinder(h=75, r=50);
translate([0,40, 5])
color( "silver")
cylinder(h=32, r=42);
translate([0,40,0])
color( "grey")
sprocket( teeth=16, roller=7.9, pitch=12.7);
}
module epicyclic (olnd=135, disc=1) {
body_width=116;
@ -37,10 +53,16 @@ module epicyclic (olnd=135, disc=1) {
color("grey")
sprocket(teeth=20, roller=7.9, pitch=12.7);
// secondary chain sprocket
translate([0, 0, 0 - ((body_width/2) - spoke_flange_width)])
color("grey")
sprocket(teeth=30, roller=7.9, pitch=12.7);
// motor chain driven sprocket
translate([0, 0, 0 - ((body_width/2) - (spoke_flange_width + 10))])
color("grey")
sprocket(teeth=30, roller=7.9, pitch=12.7);
// disc brake, if present. TODO: details of disc spider
if (disc==1) {
translate([0, 0, (olnd/2) - 7])
@ -50,4 +72,7 @@ module epicyclic (olnd=135, disc=1) {
}
// rotate([90, 0, 0])
// epicyclic();
// epicyclic();
// rotate([90, 0, 0])
// motor();