Browse Source

Created cable passage top

master
Maximilian Stiefel 3 years ago
parent
commit
a54ad5598a
  1. 25
      cable_passage/cable_passage_top.scad

25
cable_passage/cable_passage_top.scad

@ -0,0 +1,25 @@
$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);
}
}
Loading…
Cancel
Save