فهرست منبع

move stand mount of shock mount from TinySpHEAR and Octathingy to SpHEAR_common

Fernando Pablo Lopez-Lezcano 10 سال پیش
والد
کامیت
43884ed6c0
3فایلهای تغییر یافته به همراه59 افزوده شده و 114 حذف شده
  1. 3 58
      Octathingy_mount_pcb.scad
  2. 55 0
      SpHEAR_common.scad
  3. 1 56
      TinySpHEAR_mount_pcb.scad

+ 3 - 58
Octathingy_mount_pcb.scad

@@ -356,61 +356,6 @@ module tetra_shock_mount_ring(outside_radius, inside_radius, thickness) {
     }
 }
 
-// mount to standard microphone clip stand mount
-
-module tetra_shock_mount_stand(height, wall, stand_wall) {
-    // stand mount
-    translate([0, 0, 0]) {
-        difference() {
-            union() {
-                // main mount cylinder
-                translate([0, 0, 0]) {
-                    difference() {
-                        cylinder(r = mic_mount_radius + mic_mount_fit + stand_wall, 
-                                h = height, $fn = facets);
-                        // make the hole for the mount (* 1.5 to cut the ridge as well)
-                        cylinder(r = mic_mount_radius + mic_mount_fit, h = height, $fn = facets);
-                    }
-                }
-            }
-            // slot for fitting into microphone stand
-            translate([mic_mount_radius - stand_wall / 2, - mic_mount_slot_width / 2, 0]) {
-                cube([2 * stand_wall, mic_mount_slot_width, mic_mount_slot_height]);
-            }
-            // eyelet for microphone stand
-            translate([mic_mount_radius - stand_wall / 2, 0,  mic_mount_slot_height]) {
-                rotate([0, 90, 0]) {
-                    cylinder(r = mic_mount_slot_radius, h = 2 * stand_wall, $fn = facets);
-                }
-            }
-        }
-        // top of mount
-        translate([0, 0, height]) {
-            difference() {
-                cylinder(h = mic_mount_radius, 
-                        r1 = mic_mount_radius + mount_wall + wall + mic_mount_fit, r2 = 5, $fn = facets);
-                cylinder(h = mic_mount_radius, 
-                        r1 = mic_mount_radius + mount_wall + mic_mount_fit, r2 = 1, $fn = facets);
-            }
-            translate([0, 0, mic_mount_radius - 1]) {
-                cylinder(h = 1, r = 5, $fn = facets);
-            }
-        }
-        // eyelets
-        o_rad = 8;
-        i_rad = 3;
-        thk = 4;
-        for (m = [0, 1]) mirror([0, m, 0]) {
-            rotate([90, 90, 0]) {
-                translate([-(height + o_rad + 6), 0, thk/2 + fit]) {
-                    rotate([0, 0, 45]) 
-                        tetra_shock_mount_ring(o_rad, i_rad, thk);
-                }
-            }
-        }
-    }
-}
-
 ////
 //// render all the different parts
 ////
@@ -496,9 +441,9 @@ module render_octa_microphone_cutout(z_offset, spread) {
 // shock mount: microphone clip on stand mount
 //
 
-module render_tetra_shock_mount_stand(z_offset) {
+module render_octa_shock_mount_stand(z_offset) {
     translate([z_offset]) {
-        tetra_shock_mount_stand(mic_mount_height, mount_wall, mic_mount_wall);
+        shock_mount_stand(mic_mount_height, mount_wall, mic_mount_wall);
     }
 }
 
@@ -570,7 +515,7 @@ module render_tetra_shock_mount(z_offset) {
     // mount to stand
     translate([0, 85, -(mic_mount_height + mic_mount_radius + ring_height / 4)]) {
         rotate([0, 0, 90]) {
-            render_tetra_shock_mount_stand(0);
+            render_octa_shock_mount_stand(0);
         }
     }
 }

+ 55 - 0
SpHEAR_common.scad

@@ -410,3 +410,58 @@ module shock_mount_connector(length, lip, width, thickness, fit) {
         cube([length , width + thickness, thickness * 3 / 2]);
 }
 
+// mount to standard microphone clip stand mount
+
+module shock_mount_stand(height, wall, stand_wall) {
+    // stand mount
+    translate([0, 0, 0]) {
+        difference() {
+            union() {
+                // main mount cylinder
+                translate([0, 0, 0]) {
+                    difference() {
+                        cylinder(r = mic_mount_radius + mic_mount_fit + stand_wall, 
+                                h = height, $fn = facets);
+                        // make the hole for the mount (* 1.5 to cut the ridge as well)
+                        cylinder(r = mic_mount_radius + mic_mount_fit, h = height, $fn = facets);
+                    }
+                }
+            }
+            // slot for fitting into microphone stand
+            translate([mic_mount_radius - stand_wall / 2, - mic_mount_slot_width / 2, 0]) {
+                cube([2 * stand_wall, mic_mount_slot_width, mic_mount_slot_height]);
+            }
+            // eyelet for microphone stand
+            translate([mic_mount_radius - stand_wall / 2, 0,  mic_mount_slot_height]) {
+                rotate([0, 90, 0]) {
+                    cylinder(r = mic_mount_slot_radius, h = 2 * stand_wall, $fn = facets);
+                }
+            }
+        }
+        // top of mount
+        translate([0, 0, height]) {
+            difference() {
+                cylinder(h = mic_mount_radius,
+                        r1 = mic_mount_radius + mount_wall + wall + mic_mount_fit, r2 = 5, $fn = facets);
+                cylinder(h = mic_mount_radius,
+                        r1 = mic_mount_radius + mount_wall + mic_mount_fit, r2 = 1, $fn = facets);
+            }
+            translate([0, 0, mic_mount_radius - 1]) {
+                cylinder(h = 1, r = 5, $fn = facets);
+            }
+        }
+        // eyelets
+        o_rad = 8;
+        i_rad = 3;
+        thk = 4;
+        for (m = [0, 1]) mirror([0, m, 0]) {
+            rotate([90, 90, 0]) {
+                translate([-(height + o_rad + 6), 0, thk/2 + fit]) {
+                    rotate([0, 0, 45])
+                        tetra_shock_mount_ring(o_rad, i_rad, thk);
+                }
+            }
+        }
+    }
+}
+

+ 1 - 56
TinySpHEAR_mount_pcb.scad

@@ -294,61 +294,6 @@ module tetra_shock_mount_ring(outside_radius, inside_radius, thickness) {
     }
 }
 
-// mount to standard microphone clip stand mount
-
-module tetra_shock_mount_stand(height, wall, stand_wall) {
-    // stand mount
-    translate([0, 0, 0]) {
-        difference() {
-            union() {
-                // main mount cylinder
-                translate([0, 0, 0]) {
-                    difference() {
-                        cylinder(r = mic_mount_radius + mic_mount_fit + stand_wall, 
-                                h = height, $fn = facets);
-                        // make the hole for the mount (* 1.5 to cut the ridge as well)
-                        cylinder(r = mic_mount_radius + mic_mount_fit, h = height, $fn = facets);
-                    }
-                }
-            }
-            // slot for fitting into microphone stand
-            translate([mic_mount_radius - stand_wall / 2, - mic_mount_slot_width / 2, 0]) {
-                cube([2 * stand_wall, mic_mount_slot_width, mic_mount_slot_height]);
-            }
-            // eyelet for microphone stand
-            translate([mic_mount_radius - stand_wall / 2, 0,  mic_mount_slot_height]) {
-                rotate([0, 90, 0]) {
-                    cylinder(r = mic_mount_slot_radius, h = 2 * stand_wall, $fn = facets);
-                }
-            }
-        }
-        // top of mount
-        translate([0, 0, height]) {
-            difference() {
-                cylinder(h = mic_mount_radius, 
-                        r1 = mic_mount_radius + mount_wall + wall + mic_mount_fit, r2 = 5, $fn = facets);
-                cylinder(h = mic_mount_radius, 
-                        r1 = mic_mount_radius + mount_wall + mic_mount_fit, r2 = 1, $fn = facets);
-            }
-            translate([0, 0, mic_mount_radius - 1]) {
-                cylinder(h = 1, r = 5, $fn = facets);
-            }
-        }
-        // eyelets
-        o_rad = 8;
-        i_rad = 3;
-        thk = 4;
-        for (m = [0, 1]) mirror([0, m, 0]) {
-            rotate([90, 90, 0]) {
-                translate([-(height + o_rad + 6), 0, thk/2 + fit]) {
-                    rotate([0, 0, 45]) 
-                        tetra_shock_mount_ring(o_rad, i_rad, thk);
-                }
-            }
-        }
-    }
-}
-
 ////
 //// render all the different parts
 ////
@@ -439,7 +384,7 @@ module render_tetra_microphone_cutout(z_offset, spread) {
 
 module render_tetra_shock_mount_stand(z_offset) {
     translate([z_offset]) {
-        tetra_shock_mount_stand(mic_mount_height, mount_wall, mic_mount_wall);
+        shock_mount_stand(mic_mount_height, mount_wall, mic_mount_wall);
     }
 }