forked from erellaz/seisberry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
geophonesupportVv4.scad
69 lines (56 loc) · 1.41 KB
/
geophonesupportVv4.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
//Geophone support RTC 10Hz
//Dimensions-------------------------------------------------
//All in mm
// Geophone dimensions
hg=34; //height
dg=27; //diameter
// support
bases=36;
hs=10;
w=9;
e=10;
hc=20;
//holes
dh=3;
th=27;
//groove
gw=6;
gd=12;
gdd=3;
//--------------------------------------------------------------
$fn=100;//resolution
module Make_body() {
difference(){
union(){
translate([0,0,hs/2]) cube([bases,bases,hs],center=true);
translate([0,0,hc/2]) cylinder(h=hc,d=dg+9,center=true);
}
translate([0,0,e+hg/2]) cylinder(h=hg,d=dg,center=true);
}
}
module Make_holes() {
union(){
rotate([0,0,45])translate([th,0,0]) cylinder(h=3*hs,d=dh,center=true);
rotate([0,0,135])translate([th,0,0]) cylinder(h=3*hs,d=dh,center=true);
rotate([0,0,225])translate([th,0,0]) cylinder(h=3*hs,d=dh,center=true);
rotate([0,0,315])translate([th,0,0]) cylinder(h=3*hs,d=dh,center=true);
}}
module Make_groove() {
union(){
cube([100,gw,gd],center=true);
//rotate([0,0,90]) cube([100,gw,gd],center=true);
}}
module Make_groove_holes(){
union(){
translate([(gdd+bases)/2-7.5,0,0])rotate([0,90,0])cube([100,gw,gdd],center=true);
translate([-(gdd+bases)/2+7.5,0,0])rotate([0,90,0])cube([100,gw,gdd],center=true);
}}
difference(){
Make_body();
Make_groove();
}
/*
color( "green", 1.0 ) {
translate([0,0,e+hg/2]) cylinder(h=hg,d=dg,center=true);
}
*/