1
0
Эх сурвалжийг харах

add ridge fit parameters to mount module

Fernando Pablo Lopez-Lezcano 10 жил өмнө
parent
commit
ec823ec632

+ 4 - 6
TinySpHEAR_common.scad

@@ -262,14 +262,12 @@ module capsule (azimuth, elevation, mounts, twist, ridge, ridge_wfit = 0.0, ridg
     }
 }
 
-// microphone mount
-//
-// clips into standard microphone stand
+// simple microphone mount, clips into standard microphone stand
 //
 // 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
+// separation: height of mount with respect of the microphone assembly (for display)
 
 module ellipsoid(height, rad_bot, rad_top, eccentricity) {
     linear_extrude(height = height, scale = [eccentricity, rad_top / rad_bot]) {
@@ -343,8 +341,8 @@ module mount (angles, wall, stand_wall, separation) {
             // indentations that match the two lower capsule holders
             translate([0, 0, mic_mount_height + mount_height + mount_top_height + 
                        (mic_radius - capsule_height) + capsule_height * sin(elev_angle)]) {
-                capsule(angles[0], -elev_angle, [], 0, 1, 0.1, 1);
-                capsule(angles[1], -elev_angle, [], 0, 1, 0.1, 1);
+                capsule(angles[0], -elev_angle, [], 0, 1, ridge_wfit, ridge_hfit, 1);
+                capsule(angles[1], -elev_angle, [], 0, 1, ridge_wfit, ridge_hfit, 1);
             }
         }
     }