Skip to content
Snippets Groups Projects
Commit e0357bc0 authored by fxk8y's avatar fxk8y :spider:
Browse files

Begin developing toothed belt stuff

parent 49b2cc59
No related branches found
No related tags found
No related merge requests found
// 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);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment