forked from RepRap4U/RebeliX
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcalibration.scad
49 lines (43 loc) · 1.59 KB
/
calibration.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
include <./configuration.scad>
difference(){
union(){
cube([36,30,5]);
translate([0,23,0])cube([35,10,25]);
translate([M6_diameter*2+8,20,0])cube([ALU_cut_width_horizontal,11,20]);
}
translate([M6_diameter,M6_diameter+M3_diameter+5,-1])cylinder(r=M6_diameter/2,h=7,$fn=32);
translate([M6_diameter,M3_diameter+2,-1]){
cylinder(r=M3_diameter/2,h=7,$fn=16);
translate([0,0,3.5])cylinder(r=M3_nut_diameter/2,h=2.6,$fn=6);
}
translate([M6_diameter+M8_smooth_rod_diameter_catch+0.5,M8_smooth_rod_diameter+3,layer_height])cylinder(h=7,r=M8_smooth_rod_diameter/2,$fn = 30);
translate([34.5,M8_smooth_rod_diameter+3,-1])cylinder(h=7,r=M8_smooth_rod_diameter/2,$fn = 32);
translate([M6_diameter+4,34,10])
rotate([90,0,0]){
cylinder(h = 15, r=M3_diameter_horizontal/2, $fn=30);
cylinder(h = 4, r=M3_nut_diameter_horizontal/2, $fn=6);
}
translate([M6_diameter*2+8+ALU_cut_width/2,34,12])
rotate([90,0,0]){
cylinder(r = M6_diamater_horizontal/2, h = 15, $fn = 30);
cylinder(r = M6_head_diameter/2, h = 4, $fn = 30);
}
translate([-1,27,18.5])belt_holder_beltcut();
}
translate([M6_diameter*2+8,0,0])cube([ALU_cut_width,M6_diameter*2+8,7]);
module belt_holder_beltcut(){
echo(belt_tooth_ratio*belt_tooth_distance);
position_tweak=-1.1;
// Belt slit
//translate([-66,-0.5+10,3])
translate([0,1.5,0])
cube([67,0.8,15]);
// Smooth insert cutout
//translate([-66,-0.5+10,12])
translate([0,1.5,5])
rotate([45,0,0]) cube([67,15,15]);
// Individual teeth
for ( i = [0 : 23] ){
translate([0+i*belt_tooth_distance+position_tweak,0,0]) cube([belt_tooth_ratio*belt_tooth_distance,1.7,15]);
}
}