forked from GregFrost/PrusaMendel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gregs-wadebits.scad
70 lines (62 loc) · 1.71 KB
/
gregs-wadebits.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
64
65
66
67
68
69
// Greg's Wade Gears.
// It is licensed under the Creative Commons - GNU GPL license.
// © 2010 by GregFrost
// Parametric extruder gears based on prusa git repo.
// http://www.thingiverse.com/thing:6713
include <configuration.scad>
use <inc/parametric_involute_gear_v5.0.scad>
translate([55,40,0])
WadesL(); //this module call will make the large gear
translate([15,60,0])
WadesS(); //this module call will make the small gear
translate([10,40,0])
WadesS(); //this module call will make the small gear
module WadesL(){
num_holes=7;
hole_size=6;
hole_offset=18.5;
gear_thickness=5;
nut_trap_depth=3;
nut_trap_thickness=6;
difference(){
gear (number_of_teeth=43,
circular_pitch=268,
gear_thickness =gear_thickness,
rim_thickness = 7,
rim_width = 3,
hub_thickness = nut_trap_thickness+nut_trap_depth,
hub_diameter = 22,
bore_diameter = m8_diameter,
circles=0);
translate([0,0,nut_trap_thickness])
rotate(30)
cylinder($fn=6,r=m8_nut_diameter/2,h=nut_trap_depth+1);
color([0,0,1])
for (hole=[0:num_holes-1])
{
rotate([0,0,360/num_holes*hole])
translate([hole_offset,0,0])
rotate(10)
translate([0,0,-1])
{
cylinder(r=hole_size,h=gear_thickness+2);
cube([hole_size,hole_size,gear_thickness+2]);
}
}
}
}
module WadesS(){
difference(){
gear (number_of_teeth=10,
circular_pitch=268,
gear_thickness = 9,
rim_thickness = 9,
hub_thickness = 18,
hub_diameter = 18,
bore_diameter = 5.1,
circles=0);
translate([0,-5,17])cube([m3_nut_diameter*cos(30)+0.1,3,9],center = true);
translate([0,0,14])rotate([0,90,-90])rotate(180/8)cylinder(r=1.7,h=20,$fn=8);
translate([0,-5,14])rotate([0,90,-90])cylinder(r=m3_nut_diameter/2+0.05,h=3,$fn=6,center=true);
}
}