浏览代码

with a ridge_width of 2.0 the four wires just fit perfectly around the ridge, so it looks like this mount design is a go

Fernando Pablo Lopez-Lezcano 10 年之前
父节点
当前提交
33631412b6
共有 1 个文件被更改,包括 5 次插入 和 5 次删除
  1. 5 5
      TinySphEAR.scad

+ 5 - 5
TinySphEAR.scad

@@ -43,7 +43,7 @@ leg_width = 5;
 leg_thick = 2.5;
 
 // width of the ridge that connects to the mount
-ridge_width = 1.5;
+ridge_width = 2.0;
 ridge_slot_width = 2;
 ridge_length = 2.5;
 
@@ -64,8 +64,8 @@ mount_height = 8;
 // 0 -> ready to print
 //   set = 0 -> one capsule, set = 1 -> four capsules
 // 1 -> the whole microhone with four capsules
-rendermic = 0;
-renderset = 1;
+rendermic = 1;
+renderset = 0;
 
 // what type of connection to use between capsule holders:
 // 0 -> original cylinder beams
@@ -241,8 +241,8 @@ module mount (angles, wall, separation) {
                 }
             }
             // indentations that match the lower capsule holders
-            for (rot = [0, 180]) {
-                rotate([0, 0, rot]) {
+            for (rot = angles) {
+                rotate([0, 0, rot + 45]) {
                     translate([-mount_radius * 1.6, mount_radius * 1.6, mount_height / 3]) {
                         rotate([0, 90 - elev_angle, -45]) {
                             cylinder(r = capsule_radius + wall, h = capsule_height * 2, $fn = facets);