Openscad · Programmering

Gear

I have made a simpel gear in Openscad for my centrifugal blower. //sr=100; //radius of big circle //n=19; //number of teeth pi=3.14159265; //lr=(sr*pi)/n; //radius of small circles module small_circles_outer(n, sr, height) { lr=(sr*pi)/n; for ( i = [0 : n] ) { rotate([0,0,(360*(i/n))]) translate([sr,0,0]) cylinder(h=height, r=(lr/2)); } } module small_circles_inner(n, sr, height) { lr=(sr*pi)/n; for… Continue reading Gear