You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.4 KiB
56 lines
1.4 KiB
$fn=32;
|
|
eps=0.01;
|
|
module antenna() {
|
|
|
|
d1=[12.8, 12.8, 12.8, 5.85, 5.85, 5.3, 5.85, 5.85,];
|
|
d2=[12.8, 12.8, 12.8, 12.8, 5.85, 5.3, 5.85, 5.85,];
|
|
h= [180.8, 172, 154, 81, 44, 12, 10.60, 0, ];
|
|
|
|
color("darkgray")
|
|
difference()
|
|
{
|
|
translate([0, 0, -h[0]]) {
|
|
sphere(d=d1[len(d1)-1]);
|
|
for (i=[0:len(h)-1]) {
|
|
translate([0, 0, h[i+1]])
|
|
cylinder(d1=d1[i], d2=d2[i], h=h[i]-h[i+1]);
|
|
}
|
|
}
|
|
translate([0, 0, -5.1]) {
|
|
sma_connector_male();
|
|
}
|
|
}
|
|
}
|
|
|
|
module sma_connector_male(thickness=0) {
|
|
d=[2, 3.2, 9.1, 6.15, 8, 9.1, 6.15, ];
|
|
fn=[0, 0, 6, 0, 0, 6, 0 , ];
|
|
h= [20.5, 16.45, 13.1, 10.75, 10.75-thickness, 8.75-thickness, 7.1-thickness , 0];
|
|
|
|
l=len(h)-1;
|
|
//translate([0, 0, -h[0]])
|
|
color("gold")
|
|
{
|
|
difference() {
|
|
for (i=[0:l]) {
|
|
translate([0, 0, h[i+1]]) {
|
|
if(fn[i] == 0)
|
|
cylinder(d=d[i], h=h[i]-h[i+1]);
|
|
else
|
|
cylinder($fn=fn[i], d=d[i], h=h[i]-h[i+1]);
|
|
}
|
|
}
|
|
|
|
translate([0, 0, -eps]) {
|
|
cylinder(d=4.6,h=1.75);
|
|
}
|
|
}
|
|
cylinder(d=0.92,h=1.75);
|
|
}
|
|
}
|
|
|
|
translate([0,0,0 ])
|
|
sma_connector_male();
|
|
|
|
translate([0,0,-10])
|
|
antenna();
|