Added the new model files!
This commit is contained in:
parent
386ecc79fb
commit
64f75f21a7
77
model/chainset.scad
Normal file
77
model/chainset.scad
Normal file
|
@ -0,0 +1,77 @@
|
|||
// chainset.scad
|
||||
|
||||
// (c) Simon Brooke 2025; CC-BY-SA
|
||||
// Derived from Hampus Andersson's Sprocket Generator
|
||||
|
||||
|
||||
include <SprocketGenerator2/files/Sprocket_Generator_v2_example_10.scad>
|
||||
|
||||
include <pedal.scad>
|
||||
|
||||
include <BOSL2/std.scad>
|
||||
|
||||
function sprocket_radius(teeth=52, roller=7.9, pitch=12.7) = let(roller_radius = roller/2,
|
||||
radius = pitch/(2*sin(180/teeth)))
|
||||
sqrt((radius*radius) - (pitch*(roller_radius+tolerance))+((roller_radius+tolerance)*(roller_radius+tolerance)));
|
||||
|
||||
|
||||
module chainring( teeth=52, roller=7.9, pitch=12.7) {
|
||||
radius = sprocket_radius(teeth=teeth, roller=roller, pitch=pitch);
|
||||
|
||||
echo( "Radius=", radius, "mm");
|
||||
|
||||
difference() {
|
||||
color("grey")
|
||||
sprocket( teeth=teeth, roller=roller, pitch=pitch);
|
||||
|
||||
translate([0, 0, -10])
|
||||
cylinder(h=20, r=radius*.75);
|
||||
}
|
||||
}
|
||||
|
||||
module spider(radius, arms) {
|
||||
for(i=[0:1:5])
|
||||
rotate([0,90,i*(360/5)])
|
||||
color("grey")
|
||||
prismoid(size1=[7, radius/5], size2=[5, radius/7], height=radius*.9);
|
||||
}
|
||||
|
||||
|
||||
module chainset(teeth=53, arms=5, crank=172, bbshell=68) {
|
||||
radius = sprocket_radius(teeth=teeth);
|
||||
|
||||
chainring(teeth=teeth);
|
||||
spider(radius*.9, 5);
|
||||
|
||||
// cranks
|
||||
rotate([0, 90, 0])
|
||||
translate([6, 0, -10])
|
||||
color("grey")
|
||||
prismoid(size1=[10, 25], size2=[7, 18], h=crank+20);
|
||||
|
||||
rotate([0, 90, 180])
|
||||
translate([0 - (12+bbshell), 0, -10])
|
||||
color("grey")
|
||||
prismoid(size1=[10, 25], size2=[7, 18], h=crank +20);
|
||||
|
||||
// pedals
|
||||
translate([0-crank, 0, 20 + bbshell])
|
||||
pedal();
|
||||
translate([crank, 0, 0-4])
|
||||
mirror([0, 0, 1])
|
||||
pedal();
|
||||
|
||||
translate([0, 0, 5])
|
||||
color("black")
|
||||
cylinder(h=bbshell, r=17);
|
||||
|
||||
translate([0, 0, -5])
|
||||
color("black")
|
||||
cylinder(h= bbshell+20, r=6);
|
||||
|
||||
}
|
||||
|
||||
// chainring();
|
||||
// spider(90, 1);
|
||||
|
||||
chainset(teeth=82, crank=140);
|
42
model/library/look-keo.svg
Normal file
42
model/library/look-keo.svg
Normal file
|
@ -0,0 +1,42 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
xml:space="preserve"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
sodipodi:docname="look-keo.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="1.1216818"
|
||||
inkscape:cx="245.61333"
|
||||
inkscape:cy="524.65859"
|
||||
inkscape:window-width="2256"
|
||||
inkscape:window-height="1423"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" /><defs
|
||||
id="defs1" /><g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"><path
|
||||
style="fill:#000000"
|
||||
d="m 120.69386,228.45144 c -0.0761,-0.095 -0.79261,-0.42247 -1.26554,-1.04952 -9.62131,-12.75683 -33.154257,-5.14672 -40.908601,-13.8177 -5.945601,-9.75361 -6.096818,-28.97023 -7.49811,-40.36248 -0.423826,-3.44459 -1.62778,-12.20202 -1.95586,-13.74745 -0.194,-0.91382 -1.29048,-1.67354 -2.12735,-1.474 -0.34314,0.0818 -1.52347,-43.24437 -0.59354,-43.14917 1.62952,0.1668 1.71107,0.14448 2.25074,-0.61604 3.554077,-5.00857 14.150775,-51.348637 16.46043,-55.012344 2.85039,-4.52145 9.28824,-10.830036 15.919271,-15.599634 3.98164,-2.863938 8.76461,-5.585353 10.12612,-5.761567 0.39887,-0.05163 10.80316,-1.275826 30.4038,-0.429223 5.80172,0.0264 8.3442,0.868908 13.18812,3.856094 4.51076,2.874865 13.00167,10.546677 16.00089,14.45733 6.58177,8.581924 11.55888,47.790724 18.28256,56.846864 13.66207,18.40148 10.17581,20.50294 4.22287,32.62423 0,0.18301 -0.35001,0.66309 -0.77779,1.06685 -1.72885,1.63175 -2.47654,3.6689 -3.35769,9.12216 -2.66603,16.49954 -5.63705,36.04957 -7.56679,52.70296 -0.23353,2.01533 -0.36519,4.40484 -1.29806,5.46733 -0.99134,1.12907 -1.59325,1.33123 -7.56295,2.54015 -8.0495,2.83844 -24.63958,0.79427 -29.06113,8.32291 -0.67791,1.3431 -3.86013,4.13521 -5.77495,5.06701 -6.68985,3.25545 -14.68052,1.22444 -17.10644,-1.05476 z m 38.90928,-124.39415 c 0.2278,-0.21012 -0.009,-0.70593 0.15396,-0.90244 0.21105,-0.25429 0.2053,-1.45502 -0.0199,-4.165494 -0.43243,-12.73786 0.28691,-28.716002 -7.02684,-39.49635 -5.01355,-5.617497 -16.00873,-6.191253 -24.4214,-7.185857 -7.30944,-0.405206 -23.67811,3.641785 -26.23022,9.197077 -4.986691,10.854737 -9.09714,38.281659 -6.274401,40.686524 l 14.997501,12.77729 h 36.99215 z"
|
||||
id="path1"
|
||||
sodipodi:nodetypes="sssssssssssssssssssssssssccssssccs" /></g></svg>
|
After Width: | Height: | Size: 2.9 KiB |
16
model/pedal.scad
Normal file
16
model/pedal.scad
Normal file
|
@ -0,0 +1,16 @@
|
|||
// pedal.scad
|
||||
|
||||
// (c) Simon Brooke 2025; CC-BY-SA
|
||||
|
||||
|
||||
module pedal(){
|
||||
rotate([0, 270, 0])
|
||||
scale([.6, .6, .6])
|
||||
translate([-50, -160, 0])
|
||||
linear_extrude(height = 10, center = true)
|
||||
// color("black")
|
||||
import("library/look-keo.svg");
|
||||
cylinder(h=80, r=6);
|
||||
}
|
||||
|
||||
// pedal();
|
Loading…
Reference in a new issue