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
|
include <parameters.scad>;
module screw_head(location=[0.0,0.0,0.0],rotation=0.0) {
translate(location) {
// rotate([0,0,rotation]){
cylinder(h=6,
r1=standRadius*2,
r2=standHoleRadius/3,
center=true);
// }
}
}
module base_plate(){
difference(){
cylinder(r=62,h=2,center=false);
union(){
translate([14,0,0]){
translate([-69.0,0,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);}
translate([-60,0,0]){cube([10,40,standHoleDepth],center=true);}
translate([-29,0,0]){cube([sensorLength,sensorWidth,standHoleDepth],center=true);}
translate([0,0,0]) { cube([18,28,standHoleDepth],center=true);}
translate([0,49,0]) { cube([28,8,standHoleDepth],center=true);}
translate([0,-49,0]) { cube([28,8,standHoleDepth],center=true);}
translate([4.5,20,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);}
translate([4.5,38,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);}
translate([4.5,-20,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);}
translate([4.5,-38,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);}
translate([-37.5,0,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);}
translate([-12, 22.5,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);}
translate([-12,-22.5,0]){cylinder(r=standHoleRadius,h=standHoleDepth,center=true);}
}
rotate([0,0,45.0]){
union(){
screw_head(location=[standLocationRadius,0,0],rotation=0);
screw_head(location=[0,standLocationRadius,0],rotation=-90);
screw_head(location=[-standLocationRadius,0,0],rotation=180);
screw_head(location=[0,-standLocationRadius,0],rotation=90);
}
}
rotate([0,0,45.0]){
union(){
screw_head(location=[internalMountRadius,0,0],rotation=0);
screw_head(location=[0,internalMountRadius,0],rotation=-90);
screw_head(location=[-internalMountRadius,0,0],rotation=180);
screw_head(location=[0,-internalMountRadius,0],rotation=90);
}
}
}
}
}
//motor_mount();
projection(cut=false){
base_plate();
}
|