Ver Fonte

change conic section to sllipsoid so there is more room for the cables

Fernando Pablo Lopez-Lezcano há 10 anos atrás
pai
commit
baa4906f96
1 ficheiros alterados com 17 adições e 9 exclusões
  1. 17 9
      TinySphEAR.scad

+ 17 - 9
TinySphEAR.scad

@@ -39,7 +39,7 @@ capsule_height = 4.5;
 //
 // for a 10mm capsule: with vertical legs -> 10.5mm min radius
 //                     with horizontal legs -> 10mm min radius
-mic_radius = 10.6;
+mic_radius = 9.6;
 
 // dimensions of the capsule holder connection legs
 // a width of 4mm is too thin, 5mm prints better
@@ -89,14 +89,14 @@ mic_mount_height = 35.0 + mic_wire_hole_offset + mic_wire_hole_radius + 2 * mic_
 // 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 cylindrical angled legs
 // 1 -> interlocking horizontal legs
 // 2 -> interlocking vertical legs
-connect = 2;
+connect = 1;
 
 // how many mount ridges to create
 // 0 -> no ridges
@@ -145,7 +145,7 @@ mount_radius_capsule = capsule_sep_max;
 // microphone capsule holder
 
 // azimuth: horizontal orientation of the capsule
-// elevation: vertical orientation of the capsure
+// elevation: vertical orientation of the capsule
 // mounts: vectors containing the angle of the mount and the angle to the adjacent capsule
 // twist: rotate the whole capsule to match mounting legs
 // ridge: add 0, 1 or 2 ridges for attaching the structure to the mount
@@ -257,8 +257,15 @@ module capsule (azimuth, elevation, mounts, twist, ridge, ridge_fit = 0.0, solid
 //
 // angles: angles for mount slots
 // wall: thickness of cylinder wall
+// stand_wall: thickness of stand mount wall
 // separation: height of mount with respect of the microphone assembly
 
+module ellipsoid(height, rad_bot, rad_top, eccentricity) {
+    linear_extrude(height = height, scale = [eccentricity, rad_top / rad_bot]) {
+        circle(r = rad_bot, $fn = facets); 
+    }
+}
+
 module mount (angles, wall, stand_wall, separation) {
     cone_height = 5;
     translate([0, 0, -separation]) {
@@ -266,10 +273,11 @@ module mount (angles, wall, stand_wall, separation) {
             union() {
                 // conic section
                 translate([0, 0, mic_mount_height + mount_height]) {
-                    difference() {
-                        cylinder(r2 = mount_radius_capsule, r1 = mount_radius + wall, h = cone_height, $fn = facets);
-                        // make the hole for the mount (* 1.5 to cut the ridge as well)
-                        cylinder(r2 = mount_radius_capsule - 2 * wall, r1 = mount_radius, h = cone_height * 1.5, $fn = facets);
+                    rotate([0, 0, 45]) {
+                        difference() {
+                            ellipsoid(cone_height, mount_radius + wall, mount_radius_capsule, 1.4);
+                            ellipsoid(cone_height, mount_radius, mount_radius_capsule * 0.5, 1.4 * 1.1);
+                        }
                     }
                 }
                 // stalk