forked from GregFrost/PrusaMendel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
small-prusa-pulley.scad
63 lines (49 loc) · 1.08 KB
/
small-prusa-pulley.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Belt pulley is http://www.thingiverse.com/thing:3104 by GilesBathgate
// GPLV3
include <configuration.scad>
/**
* @name Pulley
* @category Printed
* @using 1 m3nut
* @using 1 m3x10
*/
module pulley()
{
module spur()
{
linear_extrude(height=13.5) polygon([[-1,-1],[-1,1],[0.7,0.7],[0.7,-0.7]],[[0,1,2,3,0]]);
}
difference()
{
union()
{
//base
rotate_extrude($fn=30)
{
square([9,2]);
square([10,1]);
translate([9,1]) circle(1);
}
//shaft
cylinder(r=motor_shaft-0.2,h=13.5, $fn=8);
//spurs
for(i=[1:8]) rotate([0,0,i*(360/8)])
translate([5.6,0,0])spur();
}
//shaft hole
translate([0,0,-1])cylinder(r=motor_shaft/2+0.1,h=22,$fn=15);
// //captive nut and grub holes
// for(j=[1:1]) rotate([0,0,j*(360/3)])
// translate([0,20,4])rotate([90,0,0])
// union()
// {
// //entrance
// translate([0,-3,15]) cube([8.6,7,3],center=true);
// //nut
// translate([0,0,13.6]) rotate([0,0,30])cylinder(r=4.22,h=2.8,$fn=6);
// //grub hole
// translate([0,0,9]) cylinder(r=1.9,h=10);
// }
}
}
pulley();