-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrollers_holder.scad
48 lines (40 loc) · 1.46 KB
/
rollers_holder.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
/******************************************************/
/* PLYUMP */
/* file: rollers_holder.scad */
/* author: Luis Rodriguez */
/* version: 0.35 */
/* w3b: tiny.cc/lyu */
/* info: */
/******************************************************/
include <parameters.scad>
use <peristaltic_gear.scad>
// Testing
rollers_holder();
/* MODULES */
module rollers_holder(){
difference(){
union(){ // Add
body();
central_bearing_wall();
}
union(){ // Substract
central_bearing_support();
central_shaft();
rollers_shafts(); // this comes from gear_peristaltic.scad
}
}
}
module body(){
cylinder(r=rollers_position_radius + rollers_radius/2, h=rollers_holder_thickness, center=true);
}
module central_shaft(){
cylinder(r=608zz_inside_diameter/2 + bearings_clearance * 4, h=rollers_holder_thickness + rollers_holder_central_bearing_support_height * 2, center=true);
}
module central_bearing_support(){
translate([0, 0, 608zz_thickness/2 ])
#cylinder(r=608zz_outside_diameter/2 + bearings_clearance/2, h=608zz_thickness, center=true);
}
module central_bearing_wall(){
translate([0, 0, 608zz_thickness/4 ])
#cylinder(r=608zz_outside_diameter/2 + bearings_clearance/2 + rollers_holder_central_bearing_wall_thickness, h=608zz_thickness/2, center=true);
}