-
Notifications
You must be signed in to change notification settings - Fork 28
/
large_extruder_gear.scad
74 lines (63 loc) · 2.14 KB
/
large_extruder_gear.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
70
71
72
73
74
// (c) 2011 Guy 'DeuxVis' P. <[email protected]>
// (c) 2013 Metamáquina <http://www.metamaquina.com.br/>
//
// Authors:
// * Guy 'DeuxVis' P. <[email protected]>
// * Felipe C. da S. Sanches <[email protected]>
// * Rafael H. de L. Moretti <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
use <gears.scad>;
include <gears-params.scad>;
include <BillOfMaterials.h>;
include <render.h>;
module extruder_gear(teeth=37, circles=12, shaft=8.6){
BillOfMaterials(category="3D Printed", partname="Large Extruder Gear", ref="MM2_LEG");
body_thickness = 4;
hub_thickness = 8;
material("ABS")
difference(){
union() {
//hub
translate([0,0,-0.01])
cylinder( r1=15, r2=9, h=hub_thickness );
difference(){
//gear
translate([0,0,gear_thickness/2])
herringbone_gear( gear_thickness=gear_thickness, teeth=teeth, shaft=shaft, $fn=40 );
//central cut to make the gear thin
translate([0,0,body_thickness])
cylinder(r1=26, r2=29, h=gear_thickness - body_thickness + 0.01);
}
}
for (i=[0:circles-1])
rotate(i*360/circles)
translate([0,0,-0.1])
if (i%2==0){
sector_hole();
}
else{
rotate(2)
translate([12,0,-0.01])
scale(0.6)
linear_extrude(height=20) import("MM_hole.dxf", layer="eme");
}
//M8 hobbed bolt head fit washer
translate( [0, 0, 2.5 -0.01] )
cylinder( r=12.9/sqrt(3), h=10, $fn=6 );
translate( [0, 0, -0.1] )
cylinder( r=shaft/2, h=10, $fn=20 );
}
}
extruder_gear();