-
Notifications
You must be signed in to change notification settings - Fork 0
/
extruders-clamp-1.scad~
132 lines (108 loc) · 3.5 KB
/
extruders-clamp-1.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
// Extruders clamp
// Used for joining 2 peeks
//
// Author:
// * Sara Rodriguez <sara@metamaquina.com.br>
//
// 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/>.
epsilon = 0.1;
include <bolts.h>
include <configuration.scad>
include <BillOfMaterials.h>;
include <render.h>
include <lm8uu_bearing.h>
include <nuts.h>;
use <Metamaquina2.scad>
module extrudersclamp_face(r = 11/2, folga = 0.5, h = 6, largura_total = 84, comprimento_total = 23, cover = false, abertura = 3, separador = 1, distancia = 26){
difference(){
union(){
for (i=[-1,1]){
//círculo maior para colocação dos parafusos
translate([i*distancia/2, 0])
circle(r = comprimento_total/2, $fn=80);
hull(){
//círculo menor - extremidades
translate([i*33,0])
circle(r = m3_diameter*3/2, $fn=80);
//círculo maior para colocação dos parafusos
translate([i*distancia/2, 0])
circle(r = comprimento_total/2, $fn=80);
//junção meio
translate([-distancia/2,-30/4])
square([distancia,30/2]);
}
}
}
union(){
for (i=[-1,1]){
//furo que prende o extrusor
translate([i*distancia/2,0])
circle(r = r+folga/2, $fn=80);
//define profundidade do sulco para encaixe do extrusor
translate([i*distancia/2,0])
circle(r = r+folga/2, $fn=80);
//furo para encaixe dos extrusores
translate([i*distancia/2,0])
circle(r = r+folga/2, $fn=80);
//furo parafusos que prendem no carrinho
translate([i*32,0])
circle(r = m4_diameter/2, $fn=80);
if(cover){
difference(){
circle(r = 50);
circle(r = 20-folga);
}
}
}
}
}
}
thickness = 6;
XCarPosition = -100;
XMotor_height = 31;
PulleyRadius = 6;
X_rod_height = XMotor_height + PulleyRadius - lm8uu_diameter/2 - 2*thickness;
XCarriage_height = thickness + X_rod_height + lm8uu_diameter/2;
module extrudersclamp(){
BillOfMaterials(category="Lasercut wood", partname="Extruders Clamp", ref="");
material("lasercut")
linear_extrude(height=6)
extrudersclamp_face(cover=false);
}
module extrudersclamp_cover(){
BillOfMaterials(category="Lasercut wood", partname="Extruders Clamp", ref="");
material("lasercut")
linear_extrude(height=6)
extrudersclamp_face(cover=true);
}
//descomente para ver no carrinho
color("red")
translate([0,-0.5,h/2])
translate([XCarPosition-0.4, 0, XCarriage_height-2*thickness]){
rotate([0,0,90]){
translate([0,0,6])
extrudersclamp();
translate([0,0,12])
extrudersclamp_cover();
}
}
%XCarriage();
//descomente para ver apenas a peça
/*
translate([0,-0.5,h/2]){
extrudersclamp();
translate([0,0,6])
extrudersclamp_cover();
}
*/