-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcan-roller-1.scad
47 lines (47 loc) · 1.06 KB
/
can-roller-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
can_height=105;
can_diameter=57.50;
slope=5;
thickness=3;
depth=240;
height=100+can_diameter;
ramp_height=depth*tan(slope);
can_tolerance=1;
$fn=60;
difference(){
cube([depth,can_height,thickness]);
translate([thickness*2,thickness*2,.2]){
cube([depth/2-(3*thickness),can_height-(4*thickness),thickness*3]);
}
translate([thickness+depth/2,thickness*2,.2]){
cube([depth/2-(3*thickness),can_height-(4*thickness),thickness*3]);
}
translate([5,5,-.01]){
for ( i = [0 : 23] ){
for ( j = [0 : 9] ){
translate([i*10,j*10.5,0]){
cylinder(d = 7, h = .22);
}
}
}
}
}
translate([thickness,0,thickness/2]){
rotate([90,0,0]){
cylinder(d=thickness,h=thickness);
}
}
translate([depth-thickness,0,thickness/2]){
rotate([90,0,0]){
cylinder(d=thickness,h=thickness);
}
}
translate([depth-thickness,can_height+thickness,thickness/2]){
rotate([90,0,0]){
cylinder(d=thickness,h=thickness);
}
}
translate([thickness,can_height+thickness,thickness/2]){
rotate([90,0,0]){
cylinder(d=thickness,h=thickness);
}
}