Line 1... |
Line 1... |
1 |
use<Write.scad> |
1 |
use<Write.scad> |
2 |
$fn=100; |
2 |
$fn=100; |
3 |
|
3 |
|
4 |
x_size = 20; // horizontal outer size of the aquarium pedestal. |
4 |
x_size = 20; // horizontal outer size of the pedestal. |
5 |
y_size = 20; // |
5 |
y_size = 20; // |
6 |
mount_hole = 3.5; |
6 |
mount_hole = 3.5; |
7 |
nut_size = 6.8; |
7 |
nut_size = 6.8; |
8 |
SMA_dia = 7.1; |
8 |
SMA_dia = 7.1; |
9 |
thickness = 10; // |
9 |
thickness = 10; // |
10 |
wall_thickness = 3; |
10 |
wall_thickness = 2; |
11 |
height = 55; |
11 |
height = 55; |
12 |
|
12 |
|
13 |
mount_hole = 3.7; |
13 |
mount_hole = 3.7; |
14 |
clear = 0.175; |
14 |
clear = 0.175; |
15 |
|
15 |
|
Line 41... |
Line 41... |
41 |
} |
41 |
} |
42 |
}; |
42 |
}; |
43 |
|
43 |
|
44 |
difference () { |
44 |
difference () { |
45 |
|
45 |
|
46 |
translate ([0, -wall_thickness, 0]) |
46 |
translate ([0, -wall_thickness, 0]) // vertical brick |
47 |
cube([y_size, wall_thickness , height ]); |
47 |
cube([y_size, wall_thickness , height ]); |
48 |
|
48 |
|
- |
|
49 |
// SMA connector holes |
49 |
translate ([ x_size/2, wall_thickness/2, (height - thickness)/3 + thickness - SMA_dia/2]) |
50 |
translate ([ x_size/2, wall_thickness/2, (height - thickness)/3 + thickness - SMA_dia/2]) |
50 |
rotate([90,0,0]) { |
51 |
rotate([90,0,0]) { |
51 |
difference () { |
52 |
difference () { |
52 |
cylinder (h = 2*wall_thickness, r= SMA_dia/2, $fn=50); |
53 |
cylinder (h = 2*wall_thickness, r= SMA_dia/2, $fn=50); |
53 |
translate([ 0, SMA_dia/2 , wall_thickness/2 + wall_thickness ]) |
54 |
translate([ 0, SMA_dia/2 , wall_thickness/2 + wall_thickness ]) |
Line 60... |
Line 61... |
60 |
difference () { |
61 |
difference () { |
61 |
cylinder (h = 2*wall_thickness, r= SMA_dia/2, $fn=50); |
62 |
cylinder (h = 2*wall_thickness, r= SMA_dia/2, $fn=50); |
62 |
translate([ 0, SMA_dia/2 , wall_thickness/2 + wall_thickness ]) |
63 |
translate([ 0, SMA_dia/2 , wall_thickness/2 + wall_thickness ]) |
63 |
cube([SMA_dia, 1 , thickness ], center=true); |
64 |
cube([SMA_dia, 1 , thickness ], center=true); |
64 |
} |
65 |
} |
- |
|
66 |
|
65 |
} |
67 |
} |
66 |
} |
68 |
// texts |
67 |
|
69 |
|
68 |
/* translate ([ x_size/2, wall_thickness/2, (height - thickness)/3 + thickness - SMA_dia/2]) |
70 |
translate ([ x_size/2, wall_thickness/2, (height - thickness)/3 + thickness - SMA_dia/2]) |
69 |
rotate([90,0,0]) { |
71 |
rotate([90,0,0]) { |
70 |
translate([ 0, -11, wall_thickness/2 + wall_thickness ]) |
72 |
translate([ 0, -11, wall_thickness/2 + wall_thickness ]) |
71 |
rotate([0,0,180]) |
73 |
rotate([0,0,180]) |
72 |
write("GPS",h=5,t=2,space= 1.1, font = "Letters.dxf", center=true); |
74 |
write("GPS",h=5,t=2,space= 1.1, font = "Letters.dxf", center=true); |
73 |
} |
75 |
} |
74 |
|
76 |
|
75 |
translate ([ x_size/2, wall_thickness/2, 2*(height - thickness)/3 + thickness + SMA_dia/2 ]) |
77 |
translate ([ x_size/2, wall_thickness/2, 2*(height - thickness)/3 + thickness + SMA_dia/2 ]) |
76 |
rotate([90,0,0]){ |
78 |
rotate([90,0,0]){ |
77 |
translate([ 0, -11, wall_thickness/2 + wall_thickness]) |
79 |
translate([ 0, -11, wall_thickness/2 + wall_thickness]) |
78 |
rotate([0,0,180]) |
80 |
rotate([0,0,180]) |
79 |
write("ANT",h=5,t=3, space= 1.1, font = "Letters.dxf",center=true); |
81 |
write("ANT",h=5,t=2, space= 1.1, font = "Letters.dxf",center=true); |
- |
|
82 |
} |
- |
|
83 |
|
- |
|
84 |
|
- |
|
85 |
|
80 |
} |
86 |
} |
81 |
*/ |
- |
|
82 |
} |
87 |
} |
83 |
|
88 |
|
84 |
|
89 |
|