Преглед изворни кода

re-add side slices of the top of the mount for better cable management, change to proper dimensional parameters so that it works for both 10 and 14mm capsule diameters

Fernando Pablo Lopez-Lezcano пре 10 година
родитељ
комит
88df995d33
1 измењених фајлова са 9 додато и 5 уклоњено
  1. 9 5
      TinySpHEAR_mount_pcb.scad

+ 9 - 5
TinySpHEAR_mount_pcb.scad

@@ -77,9 +77,12 @@ pcb_back = 3.0;
 // depth of slot into which the printed circuit board fits
 pcb_slot_depth = 1.0;
 
-// diameter of four conductor cable
+// diameter of four conductor cable (Mogami W2931)
 cable_diam = 9.5;
 
+// diameter of microphone capsule cable (Mogami 2490)
+capsule_cable_diam = 1.7;
+
 // lip that mounts flares into main body box
 mount_lip = 6.0;
 
@@ -311,10 +314,11 @@ module tetra_capsule_array_mount(angles) {
             }
         }
         // slice top sides of mount
-        *for (rot = [45, 45 + 180]) {
-            translate([0, 0, mount_top_height + 2*wall]) {
-                rotate([0, 20, rot]) {
-                    translate([0, -5, 0]) cube([10, 10, 10]);
+        for (rot = [45, 45 + 180]) {
+            translate([0, 0, 0]) {
+                rotate([0, 30, rot]) {
+                    translate([-mount_radius_capsule, -(mount_radius_capsule), mount_top_height])
+                        cube([mount_radius_capsule*2, mount_radius_capsule*2, 10]);
                 }
             }
         }