diff --git a/scad/gears/ToothedBelt.scad b/scad/gears/ToothedBelt.scad new file mode 100644 index 0000000000000000000000000000000000000000..2a32dd637709a3e81da517b9af1e551facee7cec --- /dev/null +++ b/scad/gears/ToothedBelt.scad @@ -0,0 +1,38 @@ + +// TODO: is this a good idea? +// Diskussion: the other modules (piping etc.) all have a 'strength'-parameter +// should we just assume a global '$str'-param, set it to our standard value here and let the user override it globally / per call / what ever ? +// this would avoid repetition and give better integration with our coding scheme! +$str = 3; + + + +function ToothedBeltPulleyDiameter(teeth, toothDiameter) = (2 * teeth * toothDiameter) / PI; + + +module ToothedBeltPulleyProfile(teeth, toothDiameter=3) { + + t = teeth; + td = toothDiameter; + + d = ToothedBeltPulleyDiameter(t, td); + + + + difference() { + + circle(d=d); + + for (rz=[0 : 360/(teeth) : 360]) + rotate([0, 0, rz]) + translate([0, d/2, 0]) + circle(d=td); + + } + +} + + +ToothedBeltPulleyProfile(100/2, 3*2, $fn=100); + +