|
| 1 | +// Belt pulley is http://www.thingiverse.com/thing:3104 by GilesBathgate |
| 2 | +// GPLV3 |
| 3 | + |
| 4 | +include <configuration.scad> |
| 5 | + |
| 6 | +module pulley() |
| 7 | +{ |
| 8 | + |
| 9 | + |
| 10 | + module spur() |
| 11 | + { |
| 12 | + linear_extrude(height=20) polygon([[-1,-1],[-1,1],[0.9,0.8],[0.9,-0.8]],[[0,1,2,3,0]]); |
| 13 | + } |
| 14 | + |
| 15 | + difference() |
| 16 | + { |
| 17 | + union() |
| 18 | + { |
| 19 | + //base |
| 20 | + rotate_extrude($fn=30) |
| 21 | + { |
| 22 | + square([9,8]); |
| 23 | + square([10,7]); |
| 24 | + translate([9,7]) circle(1); |
| 25 | + } |
| 26 | + |
| 27 | + //shaft |
| 28 | + cylinder(r=motor_shaft,h=20); |
| 29 | + |
| 30 | + //spurs |
| 31 | + for(i=[1:8]) rotate([0,0,i*(360/8)]){ |
| 32 | + translate([6,0,0])spur(); |
| 33 | + translate([6.5,0,0])spur(); |
| 34 | + } |
| 35 | + } |
| 36 | + |
| 37 | + //shaft hole |
| 38 | + translate([0,0,-1])cylinder(r=motor_shaft/2+0.4,h=22,$fn=15); |
| 39 | + |
| 40 | + //captive nut and grub holes |
| 41 | + for(j=[1:1]) rotate([0,0,j*(360/3)]) |
| 42 | + translate([0,20,4])rotate([90,0,0]) |
| 43 | + union() |
| 44 | + { |
| 45 | + //entrance |
| 46 | + translate([0,-3,15]) cube([8.6,7,3],center=true); |
| 47 | + //nut |
| 48 | + translate([0,0,13.6]) rotate([0,0,30])cylinder(r=4.22,h=2.8,$fn=6); |
| 49 | + //grub hole |
| 50 | + translate([0,0,9]) cylinder(r=1.9,h=10); |
| 51 | + } |
| 52 | + |
| 53 | + } |
| 54 | + |
| 55 | + |
| 56 | +} |
| 57 | + |
| 58 | +pulley(); |
0 commit comments