-
Notifications
You must be signed in to change notification settings - Fork 0
/
hotend_arm.scad
134 lines (109 loc) · 3.55 KB
/
hotend_arm.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
include <configuration.scad>
use <carriage.scad>
center_rad = 22;
//this is for a makergear groovemount
hotend_outer_rad = 15.875/2;
hotend_inner_rad = 6;
hotend_rad = 13;
top_thickness = 6;
groove_thickness = 4.5;
groove_length = 6.75;
wedge_factor = 1.25; //decrease this to make the slot wider, and the hotend easier to insert
groove_slot_width = hotend_inner_rad*2-wedge_factor;
top_slot_width = hotend_outer_rad*2-wedge_factor/2;
//this is for the threaded coupler
coupler_inner_rad = 4.4;
coupler_height=6;
layer_height=.2;
slot_lock=1.6;
$fn=72;
slop = .1;
//gray in the mounting holes and center space
translate([0,0,-.1])
%cylinder(r=center_rad, h=.2,center=true, $fn=32);
for (a = [0:2]) {
rotate(a*120){
translate([0, bolt_ring_rad, -.1])
%cylinder(r=boltRad, h=.2, center=true, $fn=12);
translate([0, hotend_rad, -.1])
rotate([0,0,60])
//translate([-10.5,0,0])
{
%cylinder(r=hotend_outer_rad, h=1, center=true, $fn=36);
%cylinder(r=hotend_inner_rad, h=2, center=true, $fn=36);
}
}
}
module hotend_arm(){
difference(){
union(){
//bolt mount
translate([0,bolt_ring_rad,0])
cylinder(r=nutRad+wall/2,h=groove_thickness+top_thickness-.01);
translate([0,hotend_rad,0])
rotate([0,0,30]){
//hotend mount
cylinder(r=hotend_rad-slop,h=groove_thickness+top_thickness+coupler_height, $fn=6);
//alignment peg
translate([0,(-hotend_rad+slop)*cos(30)-groove_thickness/2+slop+slop,groove_thickness/2]){
cube([groove_slot_width-slop*2,groove_length-slop*2,groove_thickness],center=true);
for(i=[0,1]){
mirror([i,0,0])
translate([(groove_slot_width-slop*2)/2,1,0])
rotate([0,45,0])
cube([slot_lock-slop,groove_length-slop*2+2,slot_lock-slop],center=true);
}
}
}
}
//bolt hole
translate([0,bolt_ring_rad,0]){
translate([0,0,nutHeight])
cylinder(r=nutRad,h=nutHeight+20, $fn=6);
cylinder(r=boltRad,h=groove_thickness*2, center=true, $fn=12);
}
//hotend hole
translate([0,hotend_rad,-.1])
cylinder(r=hotend_inner_rad+slop,h=groove_thickness+.2);
translate([0,hotend_rad,groove_thickness])
cylinder(r=hotend_outer_rad+slop,h=top_thickness);
//coupler mounting hole & slit
translate([0,hotend_rad,groove_thickness+top_thickness+layer_height*2]){
cylinder(r=coupler_inner_rad,h=8.1);
rotate([0,0,150])
*translate([-coupler_inner_rad/4,0,0]) //kill the slit... was screwing up threading
cube([coupler_inner_rad/2,20,30]);
}
translate([0,hotend_rad,groove_thickness-.01])
rotate([0,0,150])
translate([-20,6,0])
cube([40,10,30]);
//slot for groove
rotate([0,0,60])
translate([0,hotend_rad/2,groove_thickness/2]){
cube([hotend_rad*2,groove_slot_width,groove_thickness+.2],center=true);
for(i=[0,1]){
rotate([0,0,90])
mirror([i,0,0])
translate([(groove_slot_width-slop*2)/2,1-groove_length/2,0])
rotate([0,45,0])
cube([slot_lock,groove_length,slot_lock],center=true);
}
}
//top slot
rotate([0,0,60])
translate([2,hotend_rad/2,groove_thickness+top_thickness/2])
cube([top_slot_width,top_slot_width,top_thickness],center=true);
//center bolt
//cylinder(r=boltRad, h=20, center=true);
//translate([0,0,groove_thickness/2]) cylinder(r=nutRad, h=20, $fn=6);
}
}
module assembled(){
for (a = [0:2]) {
rotate([0,0,a*120])
hotend_arm();
}
}
//assembled();
hotend_arm();