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.
26 lines
500 B
26 lines
500 B
3 years ago
|
$fn=50;
|
||
|
h=20;
|
||
|
d=100;
|
||
|
t=2;
|
||
|
d_pg9=15.2 + 0.3;
|
||
|
d_pg9_spacing=d_pg9+10;
|
||
|
|
||
|
difference() {
|
||
|
// Base cylinder
|
||
|
difference() {
|
||
|
$fn=300;
|
||
|
cylinder(h=h, r=d/2, center=true);
|
||
|
translate([0, 0, -t])
|
||
|
cylinder(h=h, r=d/2-t, center=true);
|
||
|
}
|
||
|
// Bore holes for PG-9
|
||
|
translate([0, 0, h/2])
|
||
|
for (y=[-1:1:1])
|
||
|
for (x=[-1:1:1])
|
||
|
{
|
||
|
if ( !((x == -1) && (y == 0)) && !((x == 1) && (y == 0)) )
|
||
|
translate([x*d_pg9_spacing, y*d_pg9_spacing, 0])
|
||
|
cylinder(h=h, r=d_pg9/2, center=true);
|
||
|
}
|
||
|
}
|