瀏覽代碼

h2n: add marker for microphone orientation, rotate capsule array so that the right capsules point to the front

Fernando Pablo Lopez-Lezcano 9 年之前
父節點
當前提交
1a38be2ce6
共有 1 個文件被更改,包括 13 次插入 和 2 次删除
  1. 13 2
      TinySpHEAR_H2N_common.scad

+ 13 - 2
TinySpHEAR_H2N_common.scad

@@ -289,8 +289,8 @@ module cylcube(width, depth, height, wall) {
 }
 
 module h2n_bridge(width, base_height, stalk_height, radius, col_wall, wall) {
-    // capsule array mount
-    translate([0, 0, base_height + stalk_height]) {
+    // capsule array mount with the right orientation (left front top = #1)0
+    rotate([0, 0, -90]) translate([0, 0, base_height + stalk_height]) {
         tetra_capsule_array_mount([-45, 135]);
     }
     // stalk
@@ -304,6 +304,17 @@ module h2n_bridge(width, base_height, stalk_height, radius, col_wall, wall) {
                 }
             }
         }
+        // add marker for "back of microphone" orientation
+        rotate([0, 0, 0]) {
+            translate([0, radius + wall - wall * 2 / 3, stalk_height - radius]) {
+                difference() {
+                    sphere(r = radius / 3, $fn = 32);
+                    translate([0, -radius + radius / 2, 0]) {
+                        cube([radius, radius, radius], center = true);
+                    }
+                }
+            }
+        }
     }
     // top of bridge
     translate([width / 2, 0, base_height]) {